Okay
  Public Ticket #2766545
Number format messing up graphs
Closed

Comments

  • Oscar started the conversation

    Hi,
    I'm having some issues with the number format setting. As seen in the "graph-1"-image, the thousand separator is a comma (the "15,000.00"-option in the settings). When I change it to "15.000,00", which is what I want to display, nothing happens - even though I clear my cache and all.

    Furthermore, changing the number format somehow messes up a few other graphs. See images "graph-2-correct" & "graph-2-incorrect" for comparison. The "correct" is shown when the thousand separator is a comma, and the incorrect one is when I change the settings.

    I appreciate any help you can give me!

    Kind regards,

    Oscar

  • [deleted] replied

    Hi Oscar

    Thank you for reaching out to us.

    Chart engines do not inherit the number format you set up in wpDataTables, and there are no built-in options to change the number format in the chart, but you can use wpdatachart callbacks. Every chart exposes several options that customize its look and feel. Charts usually support custom options appropriate to that visualization.

    You can take a look at this page in our FAQ section and see how this can be done.

    I hope this helps, do let us know if you need any further assistance.