Get Parent LightningChartUltimate from the child view
Posted: Tue Feb 21, 2017 2:54 pm
Hi,
I am doing some event handling at the View and PointLineSeries level and some of the operations require me to call chart begin and end update methods. I read it somewhere that the whole thing has a tree architecture. So I am wondering if I could easily find the chart which the view belongs to from the view itself?
I also have another dependent question. Is it not necessary to call the begin and end update methods during event handling as it is being called internally?
Btw, in order to find out which view send the message, what I am doing now is to compare the sender with the view of each chart, which is not that good. I have quite some events being handled and prefer not to do this.
Thanks.
Regards,
Lokesh
I am doing some event handling at the View and PointLineSeries level and some of the operations require me to call chart begin and end update methods. I read it somewhere that the whole thing has a tree architecture. So I am wondering if I could easily find the chart which the view belongs to from the view itself?
I also have another dependent question. Is it not necessary to call the begin and end update methods during event handling as it is being called internally?
Btw, in order to find out which view send the message, what I am doing now is to compare the sender with the view of each chart, which is not that good. I have quite some events being handled and prefer not to do this.
Thanks.
Regards,
Lokesh