chart-tool icon indicating copy to clipboard operation
chart-tool copied to clipboard

Range annotations add `null` values to annotations array in certain situations

Open tomcardoso opened this issue 6 years ago • 1 comments

No idea why this is happening. Seems to only happen with "range" type annotations, though, so perhaps related to ranges allowing for direct entry of values?

tomcardoso avatar Oct 26 '18 19:10 tomcardoso

Just managed to reproduce this. Seems to happen with line or area-type ranges that allow for direct input. Steps to reproduce:

  1. Reset all annotations
  2. Change axis to Y, type to line
  3. Click into "start" field, type in a value
  4. With the "start" field still in focus, click on the chart area

That should add that null value to the embed code.

tomcardoso avatar Oct 26 '18 22:10 tomcardoso