Is it possible to transform y-scale data using a JavaScript function as an argument?

It is more complicated than:

But it is definitely possible in ZingChart, take a look at this demo. In the scale-y object, you should see the "format" attribute set to "javascript:myFormat()". This will pass each scale value to the myFormat function, which is attached to the window object.

Please let me know if you have any other questions!

Have more questions? Submit a request


Please sign in to leave a comment.