I have a simple time series chart from 0 to 5 seconds.
GraphPane pane = zedGraph.GraphPane;
pane.XAxis.Type = AxisType.Date;
pane.XAxis.Scale.Format = "mm:ss.fff";
pane.XAxis.Scale.Min = new XDate(2011, 2, 5, 0, 0, 0, 0);
pane.XAxis.Scale.Max = new XDate(2011, 2, 5, 0, 0, 5, 0);
pane.YAxis.Scale.MajorStep = 1;
pane.YAxis.Scale.Min = -1.0;
pane.YAxis.Scale.Max = 3.0;
zedGraph.IsEnableWheelZoom = true;
zedGraph.AxisChange();
zedGraph.Invalidate();
Minor ticks should be less than 1 second. But zedgraph doesn't show every last minor tick before each major tick.
If I zoom-out to the minor scale > 1 second, it appears normally. When I change major and minor scales, there may be several ticks missing before major tick:
pane.XAxis.Scale.MajorUnit = DateUnit.Second;
pane.XAxis.Scale.MajorStep = 1;
pane.XAxis.Scale.MinorUnit = DateUnit.Second;
pane.XAxis.Scale.MinorStep = 0.10;
Does Zedgraph has some limitations dealing with minor tick scales in milliseconds?