Pre loader

Adding a checkbox like control on the 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

Hi,

Please see the 2 images attached. I would like to reproduce something similar to what’s on the images using scichart ie. being able to select/unselect certain parts of the series by placing a control on certain datapoints (being able to add a checkbox to the surface would be great). What options do I have?

One more question, Is it possible to add a label to LineAnnotations?

Thanks.

Version
4.1.2.8699
Images
  • You must to post comments
2
0

Got it, used CustomAnnotation with Content set to Checkbox. I ‘ll put it here for future reference:

    var checkAnnotation = new CustomAnnotation()
        {
            X1 =  2,
            Y1 = 3,
            X2 = X1,
            Y2 = Y1 + 0.05 ,
            AnnotationCanvas = AnnotationCanvas.AboveChart,
            IsSelected = false,
            IsEditable = false,
            Content = new CheckBox()
        };

     ((CheckBox)checkAnnotation.Content).Click += checkAnnotation_Click;
  • 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