Home forums Report Bugs format currency

This topic contains 4 replies, has 3 voices, and was last updated by  Vishwas R 2 months ago.

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

    gussmarcaro
    Member

    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.

    #21165

    Sunil Urs
    Keymaster

    Hi,

    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.

    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

    #21917

    gussmarcaro
    Member

    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

    Thanks.

    #21918

    gussmarcaro
    Member

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

    #21926

    Vishwas R
    Keymaster

    @gussmarcaro,

    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.