Group: Forum Members
Last Active: 15 Years Ago
Posts: 2,
Visits: 1
|
Hello,
I add the following DataPoint to get my Line Graphs:
m_Line.AddDataPoint(10,100); m_Line.AddDataPoint(20,200); m_Line.AddDataPoint(30,300); m_Line.AddDataPoint(40,400);
However my X-axis labels show 1,2,3,4. I'm trying the X-axis to display 10,20,30 and 40. Using customLabels work but then it reduces the scale of the graph. The main problem is that for some reason NChart reads the X-axis values as 1,2,3 and 4 rather than 10,20,30,40.
Any clues how I can get the chart to show correct values ?
Thanks, Chait
|