请问是否teechart5只能增加4个自定义y方向轴的问题,我要在Y方向添加7个独立的数据序列,现在只有4个序列正常工作,其余都充满整个y轴.我想问问是否teechart5只支持同一方向4个数据序列。
m_chart.GetPage().SetMaxPointsPerPage(1024);//设置当前显示最大点数,可缩放x轴  for(long i=0; i<2000; i++) 
     {
  m_chart.Series(0).AddXY(i,1*sin((PI)/10.0*fmod((float)i,20.0)),"",i);
  m_chart.Series(1).AddXY(i,1*cos((PI)/10.0*fmod((float)i+3,20.0)),"",i);
  m_chart.Series(2).AddXY(i,2*sin((PI)/10.0*fmod((float)i+7,20.0)),"",i);
  m_chart.Series(3).AddXY(i,2*cos((PI)/10.0*fmod((float)i+9,20.0)),"",i);
  m_chart.Series(4).AddXY(i,3*sin((PI)/10.0*fmod((float)i+1,20.0)),"",i);
   m_chart.Series(5).AddXY(i,3*cos((PI)/10.0*fmod((float)i+4,20.0)),"",i);
   m_chart.Series(6).AddXY(i,4*sin((PI)/10.0*fmod((float)i+6,20.0)),"",i);
     }
m_ChartNav.SetChartLink(m_chart.GetChartLink());//必须在载入坐标点后连接方能由灰色按钮变为有效
//m_chart.Series(4).SetVerticalAxis(9);
  m_chart.GetAxis().GetCustom(0).SetStartPosition(0);
  m_chart.GetAxis().GetCustom(0).SetEndPosition(13);
m_chart.GetAxis().GetCustom(0).GetAxisPen().SetColor(RGB(255,0,0));
m_chart.GetAxis().GetCustom(0).GetTitle().SetAngle(90);
m_chart.GetAxis().GetCustom(0).GetTitle().GetFont().SetBold(true);
m_chart.GetAxis().GetCustom(0).GetTitle().SetCaption("1");
m_chart.GetAxis().GetCustom(1).SetStartPosition(15);
m_chart.GetAxis().GetCustom(1).SetEndPosition(28);
m_chart.GetAxis().GetCustom(1).GetAxisPen().SetColor(RGB(0,255,0));
m_chart.GetAxis().GetCustom(1).GetTitle().SetAngle(90);
m_chart.GetAxis().GetCustom(1).GetTitle().GetFont().SetBold(true);
m_chart.GetAxis().GetCustom(1).GetTitle().SetCaption("2"); m_chart.GetAxis().GetCustom(2).SetStartPosition(30);
m_chart.GetAxis().GetCustom(2).SetEndPosition(43);
m_chart.GetAxis().GetCustom(2).GetAxisPen().SetColor(RGB(0,0,255));
m_chart.GetAxis().GetCustom(2).GetTitle().SetAngle(90);
m_chart.GetAxis().GetCustom(2).GetTitle().GetFont().SetBold(true);
m_chart.GetAxis().GetCustom(2).GetTitle().SetCaption("3"); m_chart.GetAxis().GetCustom(3).SetStartPosition(45);
m_chart.GetAxis().GetCustom(3).SetEndPosition(58);
m_chart.GetAxis().GetCustom(3).GetAxisPen().SetColor(RGB(255,255,255));
m_chart.GetAxis().GetCustom(3).GetTitle().SetAngle(90);
m_chart.GetAxis().GetCustom(3).GetTitle().GetFont().SetBold(true);
m_chart.GetAxis().GetCustom(3).GetTitle().SetCaption("4");

m_chart.GetAxis().GetCustom(4).SetStartPosition(58);
m_chart.GetAxis().GetCustom(4).SetEndPosition(70);
m_chart.GetAxis().GetCustom(4).GetAxisPen().SetColor(RGB(0,255,0));
m_chart.GetAxis().GetCustom(4).GetTitle().SetAngle(90);
m_chart.GetAxis().GetCustom(4).GetTitle().GetFont().SetBold(true);
m_chart.GetAxis().GetCustom(4).GetTitle().SetCaption("5");

m_chart.GetAxis().GetCustom(5).SetStartPosition(75);
m_chart.GetAxis().GetCustom(5).SetEndPosition(87);
m_chart.GetAxis().GetCustom(5).GetAxisPen().SetColor(RGB(0,0,100));
m_chart.GetAxis().GetCustom(5).GetTitle().SetAngle(90);
m_chart.GetAxis().GetCustom(5).GetTitle().GetFont().SetBold(true);
m_chart.GetAxis().GetCustom(5).GetTitle().SetCaption("6");

m_chart.GetAxis().GetCustom(6).SetStartPosition(88);
m_chart.GetAxis().GetCustom(6).SetEndPosition(100);
m_chart.GetAxis().GetCustom(6).GetAxisPen().SetColor(RGB(0,0,255));
m_chart.GetAxis().GetCustom(6).GetTitle().SetAngle(90);
m_chart.GetAxis().GetCustom(6).GetTitle().GetFont().SetBold(true);
m_chart.GetAxis().GetCustom(6).GetTitle().SetCaption("7");