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

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.