SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
I have a strip chart (see attached image), which uses VerticalLineAnnotation to mark events. I add my own AnnotationLabel with the Text showing the event id, and a ToolTip with detailed event information. I’m currently setting the LabelPlacement as Axis. I like the look of that AnnotationLabel style, but I’d really like it to be above the plot so it doesn’t clutter up the axis. Is there a nice way to do this?
Where specifically above the plot? On the line or somewhere else like a legend?
You can place the AnnotationLabel on the line itself using AnnotationLabel.LabelPlacement but you won’t get the styling you request unless you also template the AnnotationLabel.
You can have a dummy axis at the top of the chart and bind its VisibleRange to the axis at the bottom of the chart and place the vertical lines on that axis instead.
Do either of those ideas help?
I wanted the exact same label style as with LabelPlacement as Axis, but I wanted them just above the each line outside the plotting area (just as they are now below each line outside the plotting area).
I think your dummy axis idea may do what I want.
Is there any way to put VerticalLineAnnotations (without labels) on the SciChartOverview?
Please login first to submit.