Pre loader

VerticalLineAnnotationViewModel showLabel true not working

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

ShowLabel =TRUE does not take effect the first time

Version
6.5.0.13720
Images
  • You must to post comments
0
0

Hi there

In our example Axis Binding and Annotations Binding we demonstrate the VerticalLineAnnotationViewModel with ShowLabels=true and it works well here.

Can you try this example? Use the latest version of SciChart (6.6.0.26505)

We have a VerticalLineAnnotationViewModel in line 123 of SciChartMvvmBindingsViewModel.cs

        AnnotationViewModels.Add(new VerticalLineAnnotationViewModel
        {
            VerticalAlignment = VerticalAlignment.Stretch,
            FontSize = 12,
            FontWeight = FontWeights.Bold,
            ShowLabel = true,
            Stroke = Colors.Brown,
            LabelValue = "Vertical Line, hello everybody",
            LabelPlacement = LabelPlacement.Bottom,
            StrokeThickness = 2,
            X1 = 9,
            Y1 = 4,
            IsEditable = true
        });

If you still experience the problem in our example or using the latest version of scichart, please send some code to reproduce and we can investigate.

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