Page 1 of 1
Alternate of "OnEditedChart" event in TeeChart for .Net 2010
Posted: Mon Jul 04, 2011 6:31 am
by 15659004
Hi,
I am switching from TeeChart Pro v7.0.0.7 to TeeChart .Net Pro v.4.0.2011.2082.
In TeeChart7 I was using "OnEditedChart" event of TeeCommander. What event of "ChartController" (.Net) can be used as an equivalent to “OnEditedChart”?
“ItemClicked” event of ChartController cannot be used because it fires for every item, whereas I want an event which fires only if “Edit” item is clicked.
Thanks and Regards,
Maverick
Re: Alternate of "OnEditedChart" event in TeeChart for .Net 2010
Posted: Mon Jul 04, 2011 10:10 am
by 10050769
Hello Maverick
I am afraid that this is not possible at the moment, in TeeChart.Net version, so currently, the only event have ChartController is SetLabels. I have added it in wish-list with number [TF02015638] to be consider its inclusion in next versions of TeeChart.Net.
Thanks,
Re: Alternate of "OnEditedChart" event in TeeChart for .Net 2010
Posted: Tue Jul 05, 2011 5:26 am
by 15659004
Sandra,
Thanks for reply,
I want to know when "SetLabels" fires?
I put a message box in this event. Some how this message box appear on right click (not every time) at the TChart control's area. Once message box appear it countinously appearing and almost stuck the application. There may be some problem with this event?
Regards,
Maverick
Re: Alternate of "OnEditedChart" event in TeeChart for .Net 2010
Posted: Tue Jul 05, 2011 11:41 am
by 10050769
Hello Maverick,
I want to know when "SetLabels" fires?
This event is called when the TeeCommander needs to display the "label" (help text). When the user clicks a button in the TeeCommander, the label is refreshed.You can use this event to obtain the label text and display it in other places than the TeeCommander panel.
I put a message box in this event. Some how this message box appear on right click (not every time) at the TChart control's area. Once message box appear it countinously appearing and almost stuck the application. There may be some problem with this event?
You are right. I can reproduce your problem using last version of Teechart.Net and I have added your request in bug list report with number [
TF02015642]. We will try to fix it in next maintenance releases of TeeChart.Net