Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart

2014-09-08 Thread Alexandre Carrie
What I want is to align the 0 values of both axes and have the minValue -15 for both axes, or just for the right axis if it's not possible for both. Because actually it takes too much space for nothing. I hope what I want is possible to do. :) -- You received this message because you are

Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart

2014-09-08 Thread 'Daniel LaLiberte' via Google Visualization API
If the axes on the left and right have different scales, then you can only align 1 value between them. Since you want 0 to be aligned, here is how to work it out. You want your right-side axis to range between -15 and 150, and since 15, distance below the 0 value, is 1/10 of 150, then you need

Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart

2014-09-08 Thread Alexandre Carrie
Ok thanks! I have found a different method for my project, and now I don't need to show the minValue. But your help was really benefic for me, because now I know how the vAxis's scale works. Thanks for all. -- You received this message because you are subscribed to the Google Groups

[visualization-api] Problem with minValue and maxValue for vAxes in combo chart

2014-09-05 Thread Alexandre Carrie
Hello, I have a problem with the min value of the vAxes in my combo chart. Actually I have this : https://lh5.googleusercontent.com/-ndoEr5TD4Yk/VAm2cHujKfI/ACY/OuEawwbSQT8/s1600/HELP.png The red line is at -15 but the min value of my vAxes are -150 and -50. I tried to change this value

Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart

2014-09-05 Thread 'Daniel LaLiberte' via Google Visualization API
It appears your chart is doing what you described, so it is not clear what you want it to do that is different from that. I assume the red line is using the right-side axis and the bars are using the left-side axis. On Fri, Sep 5, 2014 at 9:13 AM, Alexandre Carrie

Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart

2014-09-05 Thread Alexandre Carrie
I just want to put the minValue of the two vAxis to -15. I don't want -50 and -150. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart

2014-09-05 Thread 'Daniel LaLiberte' via Google Visualization API
The minValue option is probably not doing what you assumed. It only specifies a value that is effectively added to your data, so the chart ensures that the minValue appears in the chart, but it doesn't mean the axis will go no lower than the minValue. However, the viewWindow.min option will do

Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart

2014-09-05 Thread 'Daniel LaLiberte' via Google Visualization API
You will have to specify the same viewWindow for *both* of your vAxes that should have the same viewWindow. Or you could *add* another option which is just the vAxis (rather than vAxes) as I said before. On Fri, Sep 5, 2014 at 11:05 AM, Alexandre Carrie alexandre.car...@ipa-consulting.fr wrote:

Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart

2014-09-05 Thread Alexandre Carrie
You can see the result : https://lh3.googleusercontent.com/-IwXDHm-CzMg/VAnQxFrtNQI/ACo/8GeKmkcPXUM/s1600/HELP.png And my code : https://lh5.googleusercontent.com/-7bDNJerH5Ho/VAnQ2omROzI/ACw/U42Sfp7teJ0/s1600/HELP2.PNG I have tried the viewWindowsMode option too. -- You

Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart

2014-09-05 Thread Alexandre Carrie
Result when I put the viewWindow option for both of my vAxes : https://lh5.googleusercontent.com/-myV1ymmxvB4/VAnVIQnuBmI/AC8/GThbDKbhV10/s1600/HELP.png And when I add another option it doesn't work. -- You received this message because you are subscribed to the Google Groups Google

Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart

2014-09-05 Thread 'Daniel LaLiberte' via Google Visualization API
If you add the vAxis.viewWindow.min option, you would have to remove the viewWindow.min option from each of the vAxes, otherwise they override. So now it appears that in the chart you attached, the lowest axis values are be the same value of -15 in both axes. However, now you probably want to