I'd have to see some code to see what's going on in your case. I created a new project, added a graph to the dialog, added a member variable for the graph called m_graph, and the following code works for me:
// Plot some data.
CNiReal64Vector data;
CNiMath::SineWave(data, 100, 1.0);
m_graph.PlotY(data);
// Set the values min and max values of the graph axis.
m_graph.Axes.Item(1).SetMinMax(0, 200);
Please try this and see how it works. If this doesn't address your problem, please post some sample code that demonstrates your problem. Hope this helps.
- Elton