Pre loader

Continuous line with PointMarker in graph

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

0
0

Is it possible to plot a continuous vertical line as part of data point markers in line graph? I have used sprite to render text for data points. Now I want to draw a vertical line starting from data point till the peak apex to show which peak it is pointing to. The text labels in point markers are shifted to upward for some peaks to avoid collision and therefore there is a gap between peak apex and the point marker. So this requirement. I tried so far with OR symbol but it is displayed as a vertical dotted line when multiple OR symbols are placed one below another.

Version
5.1.0.11299
Images
  • Andrew Burnett-Thompson
    Can you illustrate what you’re looking for with a diagram or screenshot? It’s hard to understand from the text description.
  • Anil Soman
    I have added a diagram to illustrate what I am looking for.
  • You must to post comments
0
0

Hi Anil,

It is not possible to do this with our PointMarker API, but you can probably do it with our Annotation API defined here.

Try creating a CompositeAnnotation which includes one TextAnnotation and one LineAnnotation. Then you can place it on the chart where you wish.

Some examples can be found here and in our WPF Chart Examples Suite.
https://www.scichart.com/documentation/win/current/webframe.html#The%20CompositeAnnotation%20Type.html

Best regards,
Andrew

  • You must to post comments
Showing 1 result
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