SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
what would be the best way to achieve smth. like seen in the attachment.
A horizontal bar which gets drawn together (snychronized!) with a corresponding LineSeries.
The bar has to be visible the entire time (especially when panning the “real” series), yet it needs to be zoomable in the X-direction (not separately though -> it needs to follow the series).
It also has to show different colours on certain sections.
Regarding the zooming/panning issue, I think that can be solved by using a second SciChartSurface and linking the two Charts together (like the demo in the examplebrowser).
But what should I use to draw the Bar? Which possibility is the best performance-wise?
Every advice is greatly appreciated!
Thanks in advance.
Q: “A possibility I have not yet thought about”
What about a custom renderable series?
// Creating your Own Series
If the built-in chart types in SciChart are not enough, you can create your own RenderableSeries by using the CustomRenderableSeries API! CustomRenderableSeries inherits BaseRenderableSeries. It simply has one method which you must override – Draw().
Please login first to submit.