Re: Annotated Time Line starts with height=4... too small to view!

76 views
Skip to first unread message

asgallant

unread,
Nov 13, 2012, 11:47:57 PM11/13/12
to google-visua...@googlegroups.com
You have to set the height of the div in HTML or CSS, not in the chart options.

On Tuesday, November 13, 2012 9:19:43 PM UTC-5, Loretta Lee wrote:
Hi GViz Experts!
I had no issue with my angularjs Gviz chart when it was DataTable(), but when I try to make an Annotated Time Line chart, it ALWAYS has height=4, width=1386, no matter what I explicitly set it to.

and it still has height=4.

Can someone tell me how I can change the height?

I have tried (with no luck):
    var options = {
        'width': 600,
        'height': 400,    };
    var options = {
        'chartArea': { 'width': '100%' },
};

    var options = {
        'chartArea': { 'width': '600' },
};
Thank you!Loretta :o)

asgallant

unread,
Nov 13, 2012, 11:49:34 PM11/13/12
to google-visua...@googlegroups.com
I should clarify: you need to set the dimensions in HTML or CSS for the flash-based charts specifically (Annotated Timeline and Motion Charts); all other charts can be set either in CSS/HTML or in the chart options.
Reply all
Reply to author
Forward
0 new messages