Page 1 of 1

Detect a change

Posted: Fri Nov 30, 2012 10:57 am
by 15662128
Hi !

How can I detect a change in TChart after the chart is created?

I create a chart within a MDI Window. Then I populate the series with data and present it to the user.
How can I check if the user has made any change to the chart (like changing a series color)?

Dominik

Re: Detect a change

Posted: Mon Dec 03, 2012 10:28 am
by 10050769
Hello Dominik,

I think you can use some Events of TeeChart to detect as the user make a change. You can use the click events of Chart, the click events of Series or some MouseEvents. For this reason, I suggest you next list of events:

TeeChart Click events:
Chart event click
Chart event double click
Chart event Series click

Series events:
Click

Mouse events of TeeChart:
Chart Mouse event Click
Chart Mouse event double Click
Chart Mouse event Up
Chart Mouse event Down

There are more events, but I think previous list is the more useful for you. If you have any problems please let me know.

Thanks,