You didn't define the "countVAxis" variable, so the browser is throwing an error and halting execution. Then, in order to get the second axis to draw, you need to assign at least one data series to that axis, like this: http://jsfiddle.net/asgallant/GTpgA/11/
On Wednesday, July 17, 2013 12:58:08 PM UTC-4, TheInnovator wrote: > > Hi Jeremy, > > Thanks for the response. Here's what I was trying to do... > http://jsfiddle.net/asgallant/GTpgA/4/ > > Maybe you can help me with the adding a second y-axis to my chart. > When I added the following to the 'Options', my chart did not render: > > vAxes: { > 0:{ > title: "Number of Sites", format: '#', > titleTextStyle: {color: 'black', fontName: '"Arial"', fontSize: > '16'}, > gridlines: {count: countVAxis, color: 'black'}}, > 1: {title: "Cost", format: '#$' > }}, > > Here it is in jsfiddle: http://jsfiddle.net/GTpgA/7/ > > Any ideas? > > Thanks! > > > On Wed, Jul 17, 2013 at 11:16 AM, Jeremy Faller > <[email protected]<javascript:> > > wrote: > >> Not sure I understand you, but as I parse your message, you have some >> data that you'd like to display in a combo chart of "stacked bar" and >> "line". If this is true, I think all you need to do is set the "isStacked" >> parameter to the combo chart example >> here<https://developers.google.com/chart/interactive/docs/gallery/combochart>, >> >> and you should be all set. >> >> >> On Tuesday, July 16, 2013 3:01:18 PM UTC-4, TheInnovator wrote: >>> >>> Hi All, >>> >>> I need to create a chart like the combo below that shows a line drawn >>> from one bar to another but I need it to be done in a Stacked char bar. >>> >>> https://developers.google.com/**chart/interactive/docs/** >>> gallery/combochart<https://developers.google.com/chart/interactive/docs/gallery/combochart> >>> >>> I started but it did not work. Here's what I have so far.. >>> http://jsfiddle.net/GTpgA/2/ >>> >>> When changing the series for the line, it just changes the color of my >>> bars. Any ideas? Thanks! >>> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Google Visualization API" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/google-visualization-api/6guNndPk6xE/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> To post to this group, send email to >> [email protected]<javascript:> >> . >> Visit this group at >> http://groups.google.com/group/google-visualization-api. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > -Isaac- > > http://twitter.com/#!/feedy0urmind > You are today where your thoughts have brought you; you will be tomorrow > where your thoughts take you. > - James Allen > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/groups/opt_out.
