ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  How do I create multiple timetrackers on one page?
Posted by shin on Nov-14-2019 08:35
Attachments:
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.
Error_State.png

  Re: How do I create multiple timetrackers on one page?
Posted by Peter Kwan on Nov-21-2019 18:21
Just in case someone finds this message from searching, the response is at:

https://www.chartdir.com/forum/download_thread.php?site=chartdir&bn=chartdir_general&thread=1573663280