Hi, Is it possible to make the nodes bigger than they are or increase the size of the chart? http://jsfiddle.net/asgallant/GTpgA/53/
Thanks! On Fri, Nov 15, 2013 at 3:03 PM, asgallant <[email protected]> wrote: > Here's how you use them: > > chart.draw(data, { > allowHtml:true, > nodeClass: 'myNodeClass', > selectedNodeClass: 'mySelectedNodeClass' > }); > > Declare classes in CSS to style the nodes, like this: > > .myNodeClass { > text-align: center; > vertical-align: middle; > font-family: arial,helvetica; > cursor: default; > border: 2px solid #b5d9ea; > -moz-border-radius: 5px; > -webkit-border-radius: 5px; > -webkit-box-shadow: rgba(0, 0, 0, 0.5) 3px 3px 3px; > -moz-box-shadow: rgba(0, 0, 0, 0.5) 3px 3px 3px; > background-color: #b0d7ee; > background: -webkit-gradient(linear, left top, left bottom, > from(#b0d7ff), to(#b0d7ee)); > } > .mySelectedNodeClass { > border: 2px solid #e38493; > background-color: #eeb0d7; > background: -webkit-gradient(linear, left top, left bottom, > from(#ffb0d7), to(#eeb0d7)); > } > > see it working here: http://jsfiddle.net/asgallant/GTpgA/53/ > > > On Friday, November 15, 2013 2:39:58 PM UTC-5, TheInnovator wrote: >> >> Hello, >> >> Can somebody please show me how to use 'nodeClass' and 'selectedNodeClass'? >> Can't find any examples. Thanks! >> >> http://jsfiddle.net/GTpgA/52/ >> > -- > 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/XsWguq4yNgA/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api. > For more options, visit https://groups.google.com/groups/opt_out. > -- -Isaac- http://twitter.com/#!/feedy0urmind You are today where your thoughts have brought you; you will be tomorrow where your thoughts take you. - James Allen -- 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/CALr562d3hzqtDg82SFH0FKk7vVgGS8tO%2BSkTRRCh1vOots7d_A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
