Multi-axis Line Chart > Overview |
The multi-axis line chart from PowerCharts suite is an interactive line chart that allows for the following features:
Shown below is a simple multi-axis line chart, with three defined axes: |
![]() |
As you can see above, you can check/uncheck either of the three axis. Upon unchecking an axis, the data lines pertaining to that axis would hide from the chart. Also, if you click on any axis that is not the primary or secondary axis (the first left or first right axis from canvas), e.g, "Power" axis in the above chart, it will animate and exchange places with the "Temperature" axis, so as to form the primary axis. If you do not want your users to be able to select visible axes, you can set: <chart ... allowSelection='0' ...> Or, if you want to disallow dynamic shifting of axes (upon clicking), you can set: <chart ... allowAxisShift='0' ... > To make an axis imaginary, you can set: <axis showAxis='0' ..> This axis wouldn't show on the chart now. But any datasets plotted against this axis would show. Since the axis wouldn't show on the chart, even the checkbox for the axis won't show up. This feature can be used when you want particular data-sets to be always visible on the chart, so that the user cannot show/hide it. To position an axis on the right side of canvas, you can set: <axis axisOnLeft='0' ..> |