Menu

#32 How to use thousand separator for the numbers axis?

open
nobody
None
5
2003-04-16
2003-04-14
No

Is there a way to have thousand pontuated numbers
on the number axis?

I work with very large numbers and it's difficult to see
their magnitude without the pontuation.

Thanks.

Discussion

  • Jason J Simas

    Jason J Simas - 2003-04-15

    Logged In: YES
    user_id=179964

    i don't know what pontuated means.
    research the setNumbersAxisLabelsPrecision method though.

    jason

     
  • Jason J Simas

    Jason J Simas - 2003-04-15
    • status: open --> closed
     
  • Jose Marcelo Silva Fascio

    • summary: How to pontuate at thousands? --> How to use thousand separator for the numbers axis?
    • status: closed --> open
     
  • Jose Marcelo Silva Fascio

    Logged In: YES
    user_id=746454

    Hi Jason,

    What I was trying to ask you is how could I format the
    number axis to display large numbers like that:
    23,000,000,000.00 (in this example, representing 23
    billion). Or even better, with this format:
    23.000.000.000,00 (as we use here in Brazil). It's very
    difficult to read 23000000000,00.

    Where I live (Brazil/S.America), we use the dot as the
    thousand separator character, and the comma as the
    separator character for non integer numbers.

    Sorry my english. Does the word "pontuated" exists? I don't
    think so... :)

    By the way, I didn't find the
    setNumbersAxisLabelsPrecision method. ( I'm using
    Chart2D 1.9.6k.)

    Thank you.

     
  • Jason J Simas

    Jason J Simas - 2003-04-16

    Logged In: YES
    user_id=179964

    you'd have to modify TextArea. Then add a method to set
    this behavior, then follow the call structure up creating
    methods to set this behavior until you get to
    GraphChart2DProperties

    the method i indicated earlier was
    setChartDataLabelsPrecision which sets rounding info. and
    prolly won't help you.

    you could also just divide all your data in dataset by a
    constant factor like 1 million or something, and insert into
    the numbers axis title something like "x 10^6"

     
  • Jason J Simas

    Jason J Simas - 2003-04-16
    • labels: 379564 -->
    • milestone: 165390 -->
     

Log in to post a comment.