got it - it was under the hAxis configuration options:

           vAxes: {
               0: {title: 'Units (BUn)',
     viewWindow: {
   min: 0, max: 50
    }
    },
               1: {title: 'Vaue (USD)',
     viewWindow: {
   min: 0, max: 5500
    }
    }
                   },

On Saturday, August 25, 2018 at 10:09:28 AM UTC-4, Greg Slocum wrote:

> Can you guide me on the syntax for multiple options for the axes?
>
> vAxes: {
>       0: {title: 'Units', viewWindow: {min: 0, max: 400},
>       1: {title: 'Dollars', viewWindow: {min: 0, max: 20000},
> ?
> Commas in between or not?  Another closing bracket or not?
>
> Can't seem to make it work.
>
> On Thursday, August 23, 2018 at 3:51:45 PM UTC-4, Daniel LaLiberte wrote:
>
>> Each axis gets its own viewWindow options.  So add one viewWindow option 
>> in each of the two vAxes.
>>
>> vAxes: {
>>     0: {viewWindow: {min: .., max: ...},
>>     1: {viewWindow: {min: .., max: ...},
>>  }
>>
>> On Thu, Aug 23, 2018 at 3:43 PM Greg Slocum <slocu...@gmail.com> wrote:
>>
>>> Noticed that you'd commented on someone's question on dual y charts, so 
>>> I'm hoping you can help with this.
>>>
>>> I have a chart with units and dollars on separate axis.  One is a 
>>> constant times the other, so the lines fall close to on top of each other.  
>>> I want to set the scale on one of the axes in order to offset the lines.  
>>> Tried a couple of things, but can't figure out how to use the viewWindow 
>>> with two axes:
>>>
>>>       var options = {
>>>         chart: {
>>> title:           'Inventory versus Safety Stock Level for , , at ',
>>> subtitle:           'in Base Unit of Measure'
>>>         },
>>>         width: 900,
>>>         height: 500,
>>>            series: {
>>>                0: {targetAxisIndex: 0},
>>>                1: {targetAxisIndex: 0},
>>>                2: {targetAxisIndex: 1},
>>>                3: {targetAxisIndex: 1}
>>>                    },
>>> //    viewWindowMode: 'explicit',
>>> //        0: viewwindow: {
>>> //    max: 1000,
>>> //    min: 0
>>> //   },
>>>            vAxes: {
>>>                0: {title: 'Units (BUn)'},
>>>                1: {title: 'Vaue (USD)'}
>>>                    },
>>>            hAxis: {
>>>            format:             'M/d/yy',
>>>                        gridlines: {count: 15}
>>>                      }
>>>       };
>>> Removing the //'s cause the chart not to display.
>>>
>>> On Wednesday, September 20, 2017 at 1:31:12 PM UTC-4, Daniel LaLiberte 
>>> wrote:
>>>
>>>> It may take an hour to update due to caching.  Looks like 'current' is 
>>>> correct now.
>>>>
>>>> On Wed, Sep 20, 2017 at 1:13 PM, David Burton <ncdav...@gmail.com> 
>>>> wrote:
>>>>
>>>>> On Wednesday, September 20, 2017 at 12:25:59 PM UTC-4, Daniel 
>>>>> LaLiberte wrote:
>>>>>>
>>>>>> I have rolled back the release of '46', so 'current' is now (again) 
>>>>>> '45.2'.
>>>>>>
>>>>>
>>>>> Thanks, but it doesn't seem to have "taken."  The current version 
>>>>> still seems to be 46.
>>>>>
>>>>> Here's "current" version:
>>>>> *http://sealevel.info/MSL_graph_v_current.php?id=Sydney* 
>>>>> <http://sealevel.info/MSL_graph_v_current.php?id=Sydney>
>>>>>
>>>>> Here's "upcoming" version:
>>>>> *http://sealevel.info/MSL_graph_v_upcoming.php?id=Sydney 
>>>>> <http://sealevel.info/MSL_graph_v_upcoming.php?id=Sydney>*
>>>>>
>>>>> Here's "45.2" version:
>>>>> *http://sealevel.info/MSL_graph_v_45.2.php?id=Sydney 
>>>>> <http://sealevel.info/MSL_graph_v_45.2.php?id=Sydney>*
>>>>>
>>>>> Here's "46" version:
>>>>> *http://sealevel.info/MSL_graph_v_46.php?id=Sydney* 
>>>>> <http://sealevel.info/MSL_graph_v_46.php?id=Sydney>
>>>>>
>>>>>  
>>>>>
>>>>>>
>>>>>> You can continue testing the 'upcoming' version ('46'), which I hope 
>>>>>> people will do more of before the actual release.
>>>>>>
>>>>>
>>>>> Thanks. Until last night I wasn't even aware of the 'upcoming' option.
>>>>>
>>>>> I'll try to fix my code to work with 46 this evening. I'll let you 
>>>>> know how it goes.
>>>>>
>>>>>
>>>>> Regards,
>>>>> Dave
>>>>>
>>>>> -- 
>>>>> 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-visua...@googlegroups.com.
>>>>> Visit this group at 
>>>>> https://groups.google.com/group/google-visualization-api.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/google-visualization-api/981f93a6-2f0c-4746-ae8e-98c3eba8fdd4%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/google-visualization-api/981f93a6-2f0c-4746-ae8e-98c3eba8fdd4%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Daniel LaLiberte 
>>>> <https://plus.google.com/100631381223468223275?prsrc=2>
>>>> dlali...@google.com   5CC, Cambridge 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-visua...@googlegroups.com.
>>> Visit this group at 
>>> https://groups.google.com/group/google-visualization-api.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-visualization-api/7ecf7014-8c42-434d-9401-df1e38462bb0%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/google-visualization-api/7ecf7014-8c42-434d-9401-df1e38462bb0%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> -- 
>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>> dlali...@google.com   5CC, Cambridge 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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/6fbbd8c1-0e1a-49aa-ba26-d995449fb65a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to