SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

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.

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.