Can you format x- and y-axis scale values using JavaScript?

You can format scale values using a javascript function on the window object. Take a look at this demo. In the "format" property, the myFormat function is called on each scale value using "format":"javascript:myFormat()". myFormat then formats the values the way you want.

For more information on x/y-axis scales generally, refer to the Scales Tutorial.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.