Hi,
i am showing a RadCartesianChartView with a DateTimeContinuousAxis for OX and a LinearAxis for OY. The OX is showing shorter or longer spans of time, depending on the user's choice.
1. Zoom
I want to set the chart zoom level from the moment i display the chart, but also allow the user to manually zoom and pan. I tried to use Chart.SetZoom() and also add ChartPanAndZoomBehavior(), but it doesn't work. If i set the Zoom factor, the user cannot manually pan and zoom. I also tried ChartPanAndZoomBehavior.SetZoomToChart() but has no effect.
2. Setting DateTimeContinuousAxis MajorStep
When the user selects a smaller time interval (like 1 month), i want the OX axis to show days, but not all 30 days. So i set the MajorStepUnit to TimeInterval.Day and the MajorStep to 10. However, it doesn't work as expected - i see a tick for every 5 days. Worse, when the user manually zooms on the chart, the tick interval is automatically changed. I can obtain a better result by setting the horizontalAxis.MaximumTicks, but i get other side effects. What can i do to have more control over the labels that are displayed in the OX axis?
Thank you!