Pre loader

VerticalLineAnnotion with Label above plot.

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

Answered
0
0

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?

Version
4.x
Images
  • You must to post comments
Best Answer
0
0

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?

  • You must to post comments
0
0

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?

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies