• Resolved legalmartin

    (@legalmartin)


    Hello,

    How can I make sure that, for instance, the number 5.12976 in the data sheet, does not get rounded up to 5.13 in the chart, but that the chart actually reflects the whole number populated in the data sheet, being 5.12976 in this example.

    Regards,

    Martin

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author methnen

    (@methnen)

    Hello @legalmartin the numbers are currently being run through a helper function and I believe that’s where the rounding is happening. One of my main goals for the next version is stop u sing that helper function or at least change how that function works so it doesn’t round things like that.

    I can’t say when that version will be released though as my paying gig has been extremely busy lately and I’m at the tail end of a house construction project as well so as you can imagine my free time is a bit limited at the moment. ??

    Plugin Author methnen

    (@methnen)

    If you wanted to look at the helper function it’s here:

    /components/js/m-chart-chartjs-helpers.min.js

    There’s a non minimized version here:

    /components/js/m-chart-chartjs-helpers.js

    You could modify that to have a higher number of decimals for now but in the future as mentioned I’ll be working to improve how all of this is handled.

    This was a first pass at some of this and it’s definitely not perfect.

    Thread Starter legalmartin

    (@legalmartin)

    Dear Sir,

    I don’t have the coding skills for that.

    Very nice plugin by the way.

    Regards,

    Martin

    Thread Starter legalmartin

    (@legalmartin)

    Hello,

    I decided to dig in a bit:

    /components/js/m-chart-chartjs-helpers.js

    does not exist on my end.

    Only the minimized version seems to be avilable.

    Regards,

    Martin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Set up to 5 decimals’ is closed to new replies.