04-22-2009 09:49 AM
Hi,
I'm using CWGraph in Visual C++ 2003. I have added a second y-axe in the plot, however, both axes are listed in the left hand side of the plot. It doesn't look very clear as to which is which. I would like to display the second y-axe on the right hand side. Is there any way to do this? Thanks.
04-23-2009 01:47 AM
Bonjour
By setting the left attributs of the ticks & the labels of this second Y axis to false and setting the right attributsto true
I'm using VC6++ and I'm doing this
CNiVariant axesNameY2("YAxis-2");
CCWTicks ticksY2 = m_GraphComponent->GetAxes().Item(axesNameY2).GetTicks();
ticksY2.SetLeft(false);
ticksY2.SetRight(true);
CCWLabels labelsY2 = m_GraphComponent->GetAxes().Item(axesNameY2).GetLabels();
labelsY2.SetLeft(false);
labelsY2.SetRight(true);