Am .07.2019, 15:49 Uhr, schrieb severine B.
<
simone.yvo...@gmail.com>:
>
> Hi Charlie;
>
> Thanks for your help. It turns out that the x-axis is ok, even if I
> created an unnecessary additional variable x2 to plot against v2 (could
> have used x1 instead). The problem is that I forgot to modify axId for
> the
> 2nd chart.
> By adding :
> c2.y_axis.axId = 200
> I got the correct display.
> By the way, any detail on the meaning of this axId variable ? I couldn't
> find many explanation on the help.
Glad you got it working. There is no real meaning for the axId, it just
has to be unique for each access and is referred to from several different
elements such as when axes cross. As a result openpyxl has a convention of
10, 100, 500 and 1000 as default values for different axes types, because
it makes some things easier. Normally you don't have to worry about the
details, but you do for this kind of chart.