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!
I have implemented a custom Chartmodifier:
Now I want to highligt(for example other Color) the line between the Start and Endpoint.
How can I do this?
There are two places where we draw to the screen during the custom Data-Point Selection ChartModifier:
During SetReticulePosition, we are using the ModifierSurface – a WPF Canvas on top of the chart – to position a simple UIElement. If you wanted to add a Line here you can do also.
During OnParentSurfaceRendered, we draw the points for selection after the user has released the mouse. Here we use SciChart’s bitmap drawing engine to draw ellipses. Other methods available on IRenderContext2D include
If you use one of these two you can draw to the chart surface during the modifier operation.
Hope that helps,
Please login first to submit.