Re: Adding a general-purpose Annotation or Subtitle to any Google Chart?

742 views
Skip to first unread message

asgallant

unread,
Nov 21, 2012, 12:34:49 PM11/21/12
to google-visua...@googlegroups.com
There's nothing in the API that would allow you to add a second level of text to the chart title.  It might be easier to remove the title from the chart entirely, and build it all in HTML.  That way, you can make it exactly the way you want (and as a bonus, you don't have to mess with the SVG code).

On Wednesday, November 21, 2012 7:17:32 AM UTC-5, johnboy wrote:
I have an application where I produce a tabular report (using jQuery DataTables), then allow user to produce chart of the data (using Google Charts). User can select pie, line, bar or column charts, and vary several of the options, including rotating data through 90'. I add a computed title to the chart using the Api. But I would like to add some additional text (a "subtitle"), and probably allow user to first edit that text. But I cannot see how to do this! Only option I can see is to edit the SVG at a later stage.

Any help appreciated! 

John Walton

asgallant

unread,
Nov 25, 2012, 5:25:40 PM11/25/12
to google-visua...@googlegroups.com
You can make a feature request to add subtitle capabilities here.

On Sunday, November 25, 2012 11:37:41 AM UTC-5, John Walton wrote:
Thanks, but I like the fact that the chart is in SVG! I actually allow user to save the chart as an SVG file, so that it can more easily be imported into Word docs etc, or enhanced in an SVG editor. But I would like user not to have to do that just to add a subtitle!
 
John
Reply all
Reply to author
Forward
0 new messages