You could try first setting with vw and vh units, and then determining the equivalent px units. Each chart might behave differently because they don't all use the same method of determining the container size. Which chart type are you using?
On Wed, Apr 20, 2016 at 12:51 PM, fm <[email protected]> wrote: > I tried styling the containing div with vw and vh but the chart itself is > not following the div styling and is defaulting to 40px width and 200px > height? > > -- > 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 > 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/73ae58bb-e5e1-4fab-ada1-a74a4bd9800d%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/73ae58bb-e5e1-4fab-ada1-a74a4bd9800d%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> [email protected] <[email protected]> 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 [email protected]. To post to this group, send email to [email protected]. 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/CAOtcSJMba143zjWZB4suJaQtrusKJ2cLbi-MTGVJLOnRiq2fRQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
