The axis labels are incorrect when data value is very small < 0.001

Posted by: Yifan_Zhang on 4 October 2020, 7:12 pm EST

  • Posted 4 October 2020, 7:12 pm EST

    See the example here: https://jsfiddle.net/3d9thoue/
    The x values are divided by a large number to generate small values and the x axis can not show the labels correctly. Version 5.20193.646 seems to be fine. But the latest version has the problem. Can you please fix it? Thanks.
  • Replied 5 October 2020, 4:56 pm EST

    Hi Yifan,

    I have forwarded a bug report to the developers with internal tracking id 466701. I will update you once this issue is fixed.

    In the meantime, if you will set the format of the x-axis to n3, n4 or greater, then all the labels will be displayed.

    https://jsfiddle.net/seqo84a0/

    Regards,
    Ashwin
  • Replied 9 October 2020, 10:26 am EST

    Thanks for the workaround. But it's not applicable to us as the number format can not be pre-defined.
  • Replied 27 October 2020, 12:53 am EST

    Hi Yifan,

    The issue has been fixed in the latest nightly build of Wijmo. You can verify the same by installing the nightly version of Wijmo from NPM.

    Note that nightly builds have not been passed through the QA cycles and are not suitable for the production environment.

    ~regards
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels