That option would be the one to use, if it is possible at all. There are a few other things you can try, if you're willing to get your hands dirty.
1) Set the forceIframe option to false. This will cause the charts to render directly in your page rather than in an iframe. You can then try to use CSS to affect the tooltip, which may or may not affect the chart code (charts are generated with SVG/VML not HTML). 2) You can dig into the contents of the iframe an manipulate elements directly (this method would work with #1 too). Here's a snippet I wrote a while back for messing with the tooltips: https://groups.google.com/d/msg/google-visualization-api/22N0T30LY3k/D9sSQXbFuTQJ Note that when you manipulate the chart directly, you will need two code paths: 1 for handling SVG in most browsers, and 1 for handling VML in IE (8-, IIRC 9 uses SVG). The internal structure of the charts is also subject to change between API versions, so the code could break at any time. Using a DOM inspector (see Chrome/FF dev tools) will help immensely in determining what you need to modify. On Tuesday, May 15, 2012 8:26:29 AM UTC-4, Dave M wrote: > > Thanks all, but the pieSliceTextStyle does not support changing the > text weight to bold, or italics. I've tried different variations of > the configuration options. > > Anyone have an example? > > On May 15, 2:16 am, ChartMan <[email protected]> wrote: > > You can read all the configuration options here: > https://developers.google.com/chart/interactive/docs/gallery/piechart... > > On May 15, 2012 12:28 AM, "Dave M" <[email protected]> wrote: > > > > > > > > > > > > > > > > > Hello, > > > > > Is there a way to make the font bold on a pie char slice? > > > > > I tried looking thru the DOM, but the Pie Chart uses an iframe and I > > > can't reach the text to style it. > > > > > Thanks! > > > Dave > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google Visualization API" group. > > > 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. -- 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/-/H90NI4i4nSUJ. 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.
