DateTimeFormat doesn't work on custom axes
Posted: Wed Jan 28, 2009 6:23 pm
X axis is date data. Y is numeric data of tank level readings.
Axis readingAxisH = new Axis(true, false, lineChart);
readingAxisH.StartPosition = 0;
readingAxisH.EndPosition = 95
readingAxisH.Labels.DateTimeFormat = "h:mtt";
readingAxisH.Labels.MultiLine = true;
readingAxisH.Labels.Angle = 60;
lineChart.Axes.Custom.Add(readingAxisH);
My bottom axis still says 1/26/2009 instead of 8:23PM and it isn't at an angle.
What gives?
Axis readingAxisH = new Axis(true, false, lineChart);
readingAxisH.StartPosition = 0;
readingAxisH.EndPosition = 95
readingAxisH.Labels.DateTimeFormat = "h:mtt";
readingAxisH.Labels.MultiLine = true;
readingAxisH.Labels.Angle = 60;
lineChart.Axes.Custom.Add(readingAxisH);
My bottom axis still says 1/26/2009 instead of 8:23PM and it isn't at an angle.
What gives?