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

Message ListMessage List     Post MessagePost Message

  Add series and zone dynamically.
Posted by Volodymyr Bychko on Nov-24-2009 17:17
Hello!


My problem is next. Could you please help me?
I have chart but I can't add series or zone to it without redraw chart.

How to I can add series or zone to exist chart at runtime (dynamically)?

Thanks,
Volodya.

  Re: Add series and zone dynamically.
Posted by Peter Kwan on Nov-25-2009 01:32
Hi Volodymyr,

For your case, you would need to redraw the chart with the added series or zone at runtime (dynamically).

For your reference, you may want to check some of the sample code that comes with ChartDirector:

(a) Realtime Chart - data points are added to the chart periodically

(b) Interactively Finance Chart - users can select to add moving averages, indicators, etc, to the chart

In all cases, the chart is redrawn when something is added or removed from the chart. For a desktop application, the update is very fast. (For web applications, it depends on your network speed.)

Hope this can help.

Regards
Peter Kwan

  Re: Add series and zone dynamically.
Posted by Volodymyr Bychko on Jan-15-2010 15:00
Thanks Peter Kwan!

This information was very usefull for me! Thanks again!

Best Regards,
Volodya.