on 04-27-2016 10:53 AM
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.
Thanks
Sven
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.
BR,
Chapman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can send max scales for both axes through OData and use dual chart.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.