I search the way to have a good X axis for a month graph.
I have 1 point by day, all points at midnight.
To create the Axis I do :
//xAxis.Step = firstDayOfMonth.AddDays(1).ToOADate() - firstDayOfMonth.ToOADate(); -> this line RETURN 1
xAxis.AddRange(firstDayOfMonth.ToOADate(), lastDayOfMonth().ToOADate(), 1);
xAxis.DefaultLabelFormat = "dd"; // Just Day number
I have 2 problems :
- When I zoom, the same date number appear several time in my axis
- When I move the horizontal zoom scroll bar, my points are not aligned any more
I attach an image to this post to show it to you
Can you help me please ?
Thank you in advance