This is a migrated thread and some comments may be shown as answers.

xAxis and categoryAxis, and yAxis, and valueAxis

1 Answer 172 Views
Charts
This is a migrated thread and some comments may be shown as answers.
rwb
Top achievements
Rank 2
rwb asked on 04 Jun 2016, 07:52 PM

In the chart configuration: is xAxis the same as categoryAxis and is yAxis the same as valueAxis or is there a difference?

 

It looks like a chart may have many y axes, each of which is an instance of a valueAxis. Each series must specify the y-axis against which it is plotted by setting the series.axis to be equal to the yAxis.name. However, what, then is the purpose of the valueAxis configuration?

 

Is the situation with xAxis and categoryAxis analogous?

1 Answer, 1 is accepted

Sort by
0
rwb
Top achievements
Rank 2
answered on 04 Jun 2016, 07:59 PM

Oh, categoryAxis is an array of xAxis and valueAxis is an array of yAxis.

 

categoryAxes might have been a better name :p

Tags
Charts
Asked by
rwb
Top achievements
Rank 2
Answers by
rwb
Top achievements
Rank 2
Share this question
or