vAxis numbers on a Combo Chart

32 views
Skip to first unread message

Dave Lalande

unread,
Mar 12, 2013, 9:53:22 PM3/12/13
to google-visua...@googlegroups.com
I am having a problem getting the vertical axis values to number correctly.  Here is my code.

    var wrapper4 = new google.visualization.ChartWrapper({
"containerId": "trending_div",
"refreshInterval": 5,
"chartType": "ComboChart",
"options": {
"pointSize": 5,
"height": 350,
"width": 900,
"vAxis.minValue": 75,
"vAxis.maxValue": 100,
"titlePosition": "out",
"title": "Birth Certificates Detail",
"titleTextStyle": {color: "black", fontName: "Arial", fontSize: "20"}
       }
     });

The chart is percentages and 100% is max, but it's showing 200 on the top line?

Thanks for any help...

asgallant

unread,
Mar 12, 2013, 10:03:02 PM3/12/13
to google-visua...@googlegroups.com
Your vAxis option is formatted wrong.  It should be:

var wrapper4 = new google.visualization.ChartWrapper({
    containerId: "trending_div",
    refreshInterval: 5,
    chartType: "ComboChart",
    options: {
        pointSize: 5,
        height: 350,
        width: 900,
        vAxis: {
            minValue: 75,
            maxValue: 100
        },
        titlePosition: "out",
        title: "Birth Certificates Detail",
        titleTextStyle: {
            color: "black",
            fontName: "Arial",
            fontSize: 20
        }
    }
});

Dave Lalande

unread,
Mar 12, 2013, 10:19:23 PM3/12/13
to google-visua...@googlegroups.com
Thank you...


--
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/1xi5ZpsDDSk/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages