jrvt

Problem with units of second axis in mscombidy2d

Recommended Posts

Hello!

I am currently trying to use a mscombidy2d chart and I cannot figure out how to show units on the second axis.

Editing the example I found on your site you can see that the first Y axis works perfectly fine when using defaultNumberScale, numberScaleUnit and numberScaleValue attributes. However, when adding attributes for the second Y axis I don't achieve the same result:

units_problem.thumb.png.b144b7f883493e38f49291b1f514e532.png

I found those attributes in your API for mscombidy2d:

attributes.png.b43e72b04ad1f18e590608d3dad069ec.png

Am I doing something wrong? How can I achieve the same result as in the first axis?

Thanks in advance!

Share this post


Link to post
Share on other sites

Nevermind, I found out the attribute sFormatNumberScale needs to be set to 1 for the second axis to show the units.

Cheers!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now