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

Message ListMessage List     Post MessagePost Message

  replace last candlestick and update chart
Posted by PeterMaz on Apr-25-2024 16:45
goodmorning
(vbnet code) is it possible to replace a candlestick and update the chart without having to regenerate it?

thanks you so much

  Re: replace last candlestick and update chart
Posted by Peter Kwan on Apr-26-2024 13:30
Hi PeterMaz,

To change a chart that has already been displayed, you would need to regenerate it. You can use the same code that draws the chart in the first place to regenerated it, which means there is no need to write additional code to regenerate the chart. In many of our code examples, we put the charting code in a "drawChart" method. When the data are changed, we just call the drawChart method again to update the chart.

Best Regards
Peter Kwan