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

Message ListMessage List     Post MessagePost Message

  Please Show me a QT example regarding financechart mixed with realtime,zoom,scroll,track features.
Posted by Dennis on May-26-2014 14:04
I have read all about QT examples ,but i can't find a mixed realtime,zoom,scroll and track
features financechart example. Please show me a example in QT. Thanks in advance.

  Re: Please Show me a QT example regarding financechart mixed with realtime,zoom,scroll,track features.
Posted by Peter Kwan on May-28-2014 05:33
Hi Dennis,

As ChartDirector supports many chart types and features, we are unable to produce
examples for all possible chart type and feature combinations. Our examples are designed to
demonstrate individual ChartDirector chart types and features. You may need to develop
code to integrate them into the chart you need.

I suggest you may start by modifying the "Zooming and Scrolling with Track Line (1) (QT)"
sample code into a finance chart. There are several examples in this forum that you may
use as a reference (they are not in QT/C++, but the code is very similar). For example:

http://www.chartdir.com/forum/download_thread.php?
bn=chartdir_support&thread=1377713024#N1378487666

After that, you can modify it into a realtime chart. In ChartDirector, a realtime chart is a
chart that is periodically redrawn with the most updated data. So you just need to add a
timer to redraw the chart periodically. You may use the same or another timer to update
your data.

Regards
Peter Kwan