Hi there,
I publish a motion chart of one doc in google drive.
It give me a script:
<script type="text/javascript"
src="//ajax.googleapis.com/ajax/static/modules/gviz/1.0/chart.js">
{"dataSourceUrl":"//docs.google.com/spreadsheet/tq?key=XXXXXXXXXXXXXXXXXXXXX&transpose=0&headers=0&range=XXXXXXXXX&gid=0&pub=1","options":{"showChartButtons":true,"titleTextStyle":{"fontSize":16},"vAxes":[{"useFormatFromData":true,"title":"Left
vertical axis
title","minValue":null,"viewWindowMode":"pretty","viewWindow":{"min":null,"max":null},"maxValue":null},{"useFormatFromData":true,"minValue":null,"viewWindowMode":"pretty","viewWindow":{"min":null,"max":null},"maxValue":null}],"booleanRole":"certainty","title":"Chart
title","height":371,"animation":{"duration":500},"width":600,"hAxis":{"useFormatFromData":true,"title":"Horizontal
axis
title","minValue":null,"viewWindowMode":"pretty","viewWindow":{"min":null,"max":null},"maxValue":null}},"state":{},"view":{},"chartType":"MotionChart","chartName":"Chart
2"} </script>
First, I saw in 'src' and 'dataSourceUrl', they both miss 'http:'. After I
fix it and put in my html. I can see the chart with icon type 'Bubble'.
I want to display 'VBAR' as default. I did a test by: select VBAR in chart,
copy state string in 'advanced', put it in state:{} of above script. But it
doesn't work.
Any help and guide? Thanks.
Cheers,
GFMAG-PM
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/FcSxEZvW94MJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.