Could you explain what 'scroll through a dataset' means in this context?chartsEngine Docs wrote:charts["minX"] charts["maxX"] charts["minY"] charts ["maxY"]
Summary:
If set to a number, that value will be used as a minimum value for the xAxis. If set to a number, that value will be used as a maximum value for the xAxis. If set to a number, that value will be used as a minimum value for the yAxis. If set to a number, that value will be used as a maximum value for the yAxis.
Examples:
set the charts["minX"] of grp "myChart" to -2 set the charts["maxX"] of grp "myChart" to 500
set the charts["minY"] of grp "myChart" to 0 set the charts["maxY"] of grp "myChart" to 500
Comments:
Setting these properties allow you to scale the amplitude for a chart and also to scroll through a dataset. If values are outside the boundaries of the minY and maxY values, the chart will clip though.
I've interpreted it to mean that the graph will show a scroll bar to allow scrolling to the max/end point of the graph, is that correct?
I'm attempting to create a Stacked Line chart that has dates on the X-axis, and I'd like to specify a date sometime in the future as the max, and have the graph show a horizontal scroll bar to allow the user to scroll into the future.
What is happening, however, is that the graph gets compressed so the min is whatever it is, the max is the future date, and there are only 3 grid lines between the two.
If it is relevant, my test data only has 3 datapoints (monthly), for 4 series, and I'm setting my max out 5 months.
Do I need to specify 'empty' datapoints for all the 'stops' between the min and the max?