It seems conceivable that one could use CSS to style the SVG-rendered charts similar to how we style the HTML of Table (and other HTML-rendered charts). The style role is even formatted similar to CSS, but the similarity is somewhat of an illusion since it could not be used directly in the SVG.
But I like the idea of extending our CSS-like notation to support classes. We'd probably want a way of representing the CSS in JSON, so it could be specified in the options object. Is there a library we could leverage that does that already? On Tue, Nov 14, 2017 at 12:29 PM, Daniel Chilvers < [email protected]> wrote: > Is there a way to add class names, rather than setting the style object? I > see this is part of other charts (tables, org charts etc) - but there > doesn;t seem to be an option for line charts? > > Seems odd, as it's rendering an SVG! > > -- > 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 google-visualization-api@ > googlegroups.com. > 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/47c3cb3c-45e3-4c8b-9a26- > a48739045361%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/47c3cb3c-45e3-4c8b-9a26-a48739045361%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/CAOtcSJNRZDT6xOXWkuHw32BExxy1myaehRgHQNS3UnccjszoRw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
