SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
I’m currently working on extending the StackedColumnRenderableSeries. I need to get notified within my SubClassSeries whenever the XAxis is changed.
What is the recommended way of doing this? I haven’t seen any events that I may attach to, nor any methods I could override that indicate this.
The only option I have found is overriding the metadata of the XAxisID dependency property and adding my own callback function over there, although I would prefer not to mess with metadata changes.
Any help will be appreciated.
Thank you very much.
There isn’t an event on XAxis changed, but it’s quite easy to listen to the DependencyProperty change of any property throughout scichart.
Alternatively, internal to BaseRenderableSeries the XAxisId property calls BaseRenderableSeries.OnInvalidateParentSurface. You can override this method and check if the XAxisId has changed. That is another way to get a notification of xaxis changed.
Let me know if this helps
Please login first to submit.