I have a graph with X axis representing time. When I start adding values, they all are in the same minute range, so it seems the hour is not displayed in the axis labels. I only can see minutes (all set to 00) and seconds (eg: "00:25).
It is only when I start adding values that are not in the same minute that the full time is displayed in the axis labels so I get hour, minute and seconds in the X axis.
Is there a way to enforce the time in the X axis to be always in the format HH:mm:ss ?
I am setting the axis properties like this:
Code: Select all
axisX.Title.Visible = false;
axisX.ValueType = AxisValueType.Time;
axisX.LabelsTimeFormat = "HH:mm:ss";