How do I reference a plot to the second Y axis?
Using the example Multiple Y Axis....
I want Plot 2 to reference the seconds Y axis, however, it always references the first Y axis
void CMultipleYAxisDlg::OnGenerateData() 
{
	int i;
	CNiReal64Vector RedData(100);
	CNiReal64Vector MagentaData(100);
	CNiReal64Vector WhiteData(100);
	for (i = 0; i < 100; i++)
	{
	MagentaData[i] = -25;
	WhiteData[i] = 125; // always references 1st Y axis on right side
	RedData[i] = 700;
	}
	m_Graph.GetPlots().Item(1).PlotY(MagentaData,0,1);
	m_Graph.GetPlots().Item(2).PlotY(WhiteData,0,1);
	m_Graph.GetPlots().Item(3).PlotY(RedData,0,1);
}