Skip to Content
author's profile photo Former Member
Former Member

yAxis (valueAxis) scales in vizframe dual stacked column

Hi everyone,

is there any way to force vizframe to use the same autoscale for both yaxis (valueAxis)?

I know how to do that manually, but as data comes from odata I don't know a propper maxValue in advance.

Setting the scale to "auto" the axis have in my case different scale and so I can't compare the columns visually.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 22, 2016 at 03:03 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 25, 2016 at 06:20 AM

    Hello Sven,

    Do you mean you wish both axes be in the same scaling distribution even though difference measure values are rendered? if yes, I am afraid vizFrame doesn't comes with any property could approach the same.

    Such scaling calcuation was done on the fly according to the dataset, measure values to be exact, rendered. apart from the minValue, maxValue, fixedRange property under plotArea.primaryScale and plotArea.secondaryScale which could be used to customize the scale initially, the only way I could think of is to first read the max/min value of one axis by calling oVizFrame.getVizProperties().plotArea.primaryScale.autoMaxValue and oVizFrame.getVizProperties().plotArea.primaryScale.autoMinValue first. Then you apply them back to secondaryAxis.primaryScale.maxValue and minValue.

    Hope this helps.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.