Hi,
I see that the maxDivisions work for dates (category axis documentation) on the CategoryAxis, how about for ints?
My data is like this:
[{period: 1, value: 2}, {period: 2, value 5},...]
I have a chart with about 360 "categories", using this code I still receive the below graph... How can I use divisions for the category axis of ints or is there another solution?
<Chart>
<ChartSeries>
<ChartSeriesItem
renderAs={"canvas"}
data={curveValues}
type="line"
field="value"
markers={{ visible: false }}
categoryField="period"
/>
</ChartSeries>
<ChartCategoryAxis>
<ChartCategoryAxisItem maxDivisions={30} />
</ChartCategoryAxis>
<ChartTooltip format="{0}" />
</Chart>