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.
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.