This question is locked. New answers and comments are not allowed.
AxisSmartLabelsMode.SmartStep causes duplicate axis value of DateTimeContinuousAxis
When the values' count of HorizontalAxis are is less than the fit count of chart width, the axis labels duplicate. Is it a bug or by design? It seems not good for the stacked chart.
if
(CartesianChart.VerticalAxis !=
null
)
CartesianChart.VerticalAxis.SmartLabelsMode = AxisSmartLabelsMode.SmartStep;
if
(CartesianChart.HorizontalAxis !=
null
)
CartesianChart.HorizontalAxis.SmartLabelsMode = AxisSmartLabelsMode.SmartStep;
Please help me out, thanks!