Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart
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 subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart
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 your left-side axis to also have a negative value that is 1/10 of the range on that side. 1/10 of 450 is 45, so try this: vAxes: { 0: { viewWindow: { min: -45, max: 450 } }, 1: { viewWindow: { min: -15, max: 150 } } } On Mon, Sep 8, 2014 at 3:31 AM, Alexandre Carrie alexandre.car...@ipa-consulting.fr wrote: 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 subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout. -- Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2 - 978-394-1058 dlalibe...@google.com dlalibe...@google.com 5CC, Cambridge MA daniel.lalibe...@gmail.com daniel.lalibe...@gmail.com 9 Juniper Ridge Road, Acton MA -- 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart
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 Google Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
[visualization-api] Problem with minValue and maxValue for vAxes in combo chart
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 with the minValue parameter, but it doesn't work. Have you an idea please? Thanks, Alexandre. -- 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart
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 alexandre.car...@ipa-consulting.fr wrote: 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 with the minValue parameter, but it doesn't work. Have you an idea please? Thanks, Alexandre. -- 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout. -- Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2 - 978-394-1058 dlalibe...@google.com dlalibe...@google.com 5CC, Cambridge MA daniel.lalibe...@gmail.com daniel.lalibe...@gmail.com 9 Juniper Ridge Road, Acton MA -- 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart
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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart
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 what you want. vAxis: { viewWindow: { min: -15 } } On Fri, Sep 5, 2014 at 10:31 AM, Alexandre Carrie alexandre.car...@ipa-consulting.fr wrote: 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout. -- Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2 - 978-394-1058 dlalibe...@google.com dlalibe...@google.com 5CC, Cambridge MA daniel.lalibe...@gmail.com daniel.lalibe...@gmail.com 9 Juniper Ridge Road, Acton MA -- 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart
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: 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 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout. -- Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2 - 978-394-1058 dlalibe...@google.com dlalibe...@google.com 5CC, Cambridge MA daniel.lalibe...@gmail.com daniel.lalibe...@gmail.com 9 Juniper Ridge Road, Acton MA -- 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart
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 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart
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 Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] Problem with minValue and maxValue for vAxes in combo chart
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 deal with the misaligned sets of ticks/gridlines for both the left and right axes. Since you are using different scales for each, you'll have to figure out how you want them to align and control the range and number of gridlines so it works out the way you want. There is no feature currently to say, for example, align the 0 values of both axes. But it sounds like you want -15 to be aligned rather than 0, since you want -15 on the bottom of both axes. If so, then your 0s won't be aligned. If you say which way you want it, I can then offer more suggestions about how to achieve that. One option that might help make all this simpler is the explicit 'ticks' option, which lets you specify exactly what tick values you want to see in an axis. But specifying the tick values still doesn't say which tick value is aligned in both axes. On Fri, Sep 5, 2014 at 11:31 AM, Alexandre Carrie alexandre.car...@ipa-consulting.fr wrote: 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 Visualization API group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout. -- Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2 - 978-394-1058 dlalibe...@google.com dlalibe...@google.com 5CC, Cambridge MA daniel.lalibe...@gmail.com daniel.lalibe...@gmail.com 9 Juniper Ridge Road, Acton MA -- 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.