控件使用教程:https://blog.csdn.net/zang141588761/article/details/50536811
控件下载网址:https://www.codeproject.com/Articles/14075/High-speed-Charting-Control
一些函数说明:控件变量 CChartCtrl m_ChartCtrl;
添加标题:
m_ChartCtrl.SetBackColor(RGB(255,0,0));
m_ChartCtrl.GetTitle()->AddString(t_ChartCtrl1); //m_ChartCtrl.GetTitle返回标题对象
m_ChartCtrl.GetTitle()->SetColor(RGB(255,0,0)); //标题设为红色
m_ChartCtrl.GetTitle()->RemoveAll(); //清除标题
int num = m_ChartCtrl.GetTitle()->GetStringCount(); //标题行数
m_ChartCtrl.GetTitle()->SetVisible(false); //设置标题不可见,变量bool型
m_ChartCtrl.GetTitle()->IsVisible(); //标题可见
//颜色的类 COLORR