Hi, I'm shin.
You may not understand because my English is poor.
I used a time tracker example to create a program that puts four time trackers on one page.
However, it is not working normally.
I programmed using mfc.
I created four m_ChartViewer classes to work with each.
When only one chart works, it works normally. However, when there is more than one, abnormal operation occurs.
When you first start with two or more charts, the point moves but no line is visible.
When the point is midway, no single chart is printed at random.
When the point reaches the right end of the chart, the two charts continue to print normally.
At the beginning of the drawChart () function
XYChart * c = new XYChart (600, 150, 0xf4f4f4, 0x000000, 0); At the end of the function, delete viewer-> getChart (); viewer-> setChart (c); Are there any problems with this part?
I hope you can help me.
|