Home Forums Report Bugs format currency

format currency

Viewing 5 posts - 1 through 5 (of 5 total)
  • #21162

    Hi, I’m testing the graphs and would like to know how to put value mask to REAL, for example. 1,500.00

    Thank you.



    I did not exactly understand what you meant by “put value mask to REAL”. But if you just trying to format numbers with two decimal values, you can use Format String “#,##0.00”.

    Here is an example https://jsfiddle.net/canvasjs/ovhLqdr2/1/ – you can see Y Labels formatted with two decimal points.
    Formatting Axis Labels

    If this doesn’t answer your question, please explain in detail with few example values and how you want it to be formatted.

    Sunil Urs


    Hello, thanks.

    Actually I can not now format large values with only two decimal places.

    Example: 114,307,653.79
    It is formatted: 114,307,653,79000001



    Does not format above 200 million.
    And add several decimal places, not two.



    Considering this post as duplicate and closing the thread. Please refer the original thread for updates.

    Vishwas R
    Team CanvasJS

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.