Pre loader

VerticalLineAnnotation showLabel false 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

I need to set VerticalLineAnnotations without a label.

My setting is:

const verticalLineAnnotation = new VerticalLineAnnotation({
stroke: "ff2626",
strokeThickness: 3,
x1: -1,
showLabel: false,
isEditable: true,
isHidden: true
});

When the user needs the annotation the VerticalLineAnnotation is made visible by setting isHidden = false. After setting it to false an exception is thrown with following content: “TypeError: Cannot read properties of undefined (reading ‘left’)”.

Version
2.0.2115
  • You must to post comments
0
0

Hi Rene

This was fixed in build 2.0.2127 and published to Npmjs here:
https://www.npmjs.com/package/scichart

Can you try it?

Best regards,
Andrew

  • René Völkel
    Hi Andrew, yes, I tried it, it is working now. Regarding updates through the npm system: I see that you are updating the package relatively often. But I haven’t found detailed release notes on these updates. So I hesitate from updating the scichart package for every little version bump. Is there a page where the release notes are listed?
  • 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