A new version of the Google Visualization API was released to production on 11/26

827 views
Skip to first unread message

Thomas Rybka

unread,
Nov 26, 2013, 7:39:11 PM11/26/13
to google-visua...@googlegroups.com

A new version of Google Charts was released on November 26.

Highlights:

  Inline image 7Inline image 5
  • All axis charts are now pannable and zoomable with the "explorer" option.
  • Control the appearance of charts with the CSS-like "style" role.
  • Bar labels are now customizable.
  • The new DateRangeFilter lets your users change the date ranges of displayed data in real-time.
  • Support for linebreaks in legends and tooltips.
  • A new option, "dataOpacity", for fine-tuning the transparency of data points.
  • Trendlines now handle arbitrary-degree polynomials and can display correlations.
  • GeoCharts now support HTML tooltips, customizable marker styles, and more geocoding options.

Enjoy!
- The Google Charts Team






Other features / bugs fixed:
Now possible to show persistent values next to bars, columns, points, etc. with annotations
Markers now drawn with correct size when min value > max data value.
Drag to pan/zoom implemented
Fixed date formats for Japan
Fixed: Follower scale overlaps world map

When doing a mouse drag, and the mouse cursor end up over the chart, don't do any hover effect
Fixed: When setting the viewWindow to do panning, the gridlines don't provide meaningful indication to target-axis scale changes.
Fixed: [Firefox] Description pop up is not coming up when user hovers mouse over the graph bars under posts tab
Fixed: getSelection returns selection objects with undefined column properties
Fixed: join() & group() functions seem to empty column ids
Fixed: Afghanistan marker appears in Pakistan in Mac Safari
Fixed memory Leaks in various charts
GeoChart now supports all the tooltip features that corecharts support
CoreCharts click on value now selects or deselects correct data value when reverseCategories is true
DefaultColor is now an option
Fixed: Animations that change the axis type from/to a date axis will error out

Fix leaking listeners issue with native event targets
Data opacity for points now supported
Fixed: ColumnChart, BarChart, and CandlestickChart with continuous domain axis splits bars in half on low and high ends of axis
vAxis:{logScale:true} no longer errors when there are NaNs in the data
Fixed: When vAxis.logScale is true, vAxis.maxValue seems to act like vAxis.gridlines.count
Fixed: minValue and maxValue set to 0 are ignored, with variable number of gridlines (when gridlines.count == -1)

Allow viewWindow.max and viewWindow.min to work with ticks
Fixed axis date formatting
”Move & Resize” option now responds appropriately
Horizontal axis with slantedText now offsets text to keep it centered under tick value

Changing baseline with min max view window does not behave properly for some of the charts
Added support for createTextOnLineByAngle
Timeline chart now shows daily data
Geochart markers size does not change when Min axis value is set
Fixed missing tooltip title when there is no bar label
Added selection and events to Timeline
Added enableInteractivity for Timeline
Formatted explicit tick values no longer ignored in compiled mode
Single row of data no longer causes errors with bar-like charts
arrayToDataTable now allows first row headers to specify objects
Support dataTableFromCsv
Candlestick chart no longer fails when the number of rows exceeds the available width to display all the candlesticks
Axis charts with zero rows of data and variable number of gridlines no longer cause infinite loop
Timelines no longer error out on reasonable data
Math.floor(x) === x no longer has nondeterministic result
Trendline now works for Spark chart
Fixed error display for Bar chart 
Made an option for Z order for Series
Fixed SansSerif font bug
Fixed exceptions caused by current corechart code
Image-after-next now animates smoothly, instead of appearing abruptly at the end of swipe animation
Left Vertical axis options now shown for the Inline charts
Chart options no longer disturbed in "change chart" drop down for inline chart
Array of strings/numbers passed to arrayToDataTable no longer turned into array of objects
Fixed obscure memory leak in Line Chart
Legend options no longer missing in the histogram "customize" tab.
Histogram, Tree chart previews now show properly.
Histogram no longer shows error on ‘compare mode’ selection
Fixed: Dual axis mode is supported for Histogram chart even though there are no axis options in the Sheets chart editor.
Axis tab options now shown for Histogram
Fixed animation for diff charts
Enabled "plot null values" option for histogram
ChartRangeFilter error fixed
Tooltips now take length of "null" into account

Screen Shot 2013-09-25 at 8.53.10 AM.png
Screen Shot 2013-09-25 at 8.54.57 AM.png

asgallant

unread,
Nov 26, 2013, 8:18:43 PM11/26/13
to google-visua...@googlegroups.com
Awesome!  A couple things I've noticed:

Zooming in the explorer mode seems backwards (scroll up zooms out instead of in like other interfaces (see Google Maps))
Setting the explorer.zoomDelta option to a value less than 1 reverses the zoom direction, but once you zoom in one direction, you cannot zoom back the other direction.

Nick Knight

unread,
Nov 27, 2013, 5:56:30 AM11/27/13
to google-visua...@googlegroups.com
Something has broke on this update. All CSS to our live sites is no longer pulled down by the JSAPI. So the tables were just raw with no styling. 

Thiago

unread,
Nov 27, 2013, 7:55:20 AM11/27/13
to google-visua...@googlegroups.com
This update has broken my barcharts. The width of the bars is now way more than the width of the chart, and thus gets cut off.

Op woensdag 27 november 2013 01:39:11 UTC+1 schreef trybka:

Mark Miller

unread,
Nov 27, 2013, 8:30:21 AM11/27/13
to google-visua...@googlegroups.com
Errors from Google Spreadsheet Chart Publish Script tags
Thank you for your work. An existing page I built fails this morning following the update. 

I have a page with a series of chart visualizations (3): Gauge, Area, Bar. 

These are in an HTML page with inline script elements as published from Google Spreadsheets. 

The error is:
Uncaught ReferenceError: oT is not defined VM226:1
(anonymous function) VM226:1
google.loader.eval.visualization format+en,default+en.I.js:355
evalOrDefer corechart+en.js:1
(anonymous function)

To reproduce the error, publish a javascript Gauge chart from a spreadsheet and put the script element in the body of an HTML page. Then also publish an area chart and add it to the same page. 

The Gauge will load and display, but the subsequent chart will not. Error appears in the console (Chrome, OSX). 

I quickly refactored to use iframes to workaround the issue. 

Mark
Message has been deleted

Carlos Moreira

unread,
Nov 27, 2013, 9:23:21 AM11/27/13
to google-visua...@googlegroups.com
This is great news! 

I am using Geocharts extensively, and I didn't notice any problem with the new update.
Very happy that now HTML tooltips are available. 
I am curious about the 'customizable marker styles' that you mention. Is there any documentation or example about this?
Is this related to the new 'text' displayMode?

asgallant

unread,
Nov 27, 2013, 10:01:32 AM11/27/13
to google-visua...@googlegroups.com
Nick, Thiago

Please open new topics on this thread describing the issues you are having, including code that reproduces the problem.  I will work with you to figure out what needs to be done to fix them.

Romain Vialard

unread,
Nov 28, 2013, 5:22:15 AM11/28/13
to google-visua...@googlegroups.com
Great news!
The new DateRangeFilter works well (see example).

Would it be possible to update the documentation on Controls to see all options available for this filter ?

orw...@google.com

unread,
Nov 28, 2013, 10:52:18 AM11/28/13
to google-visua...@googlegroups.com
Hi Romain,

Good point.  I'll look into updating this documentation soon.

Jon

Tiago Piccinin

unread,
Dec 11, 2013, 12:34:49 PM12/11/13
to google-visua...@googlegroups.com
Amazing! Thank you.

I didn't find the options avaiable to use in 'Diff Chart'. Can you help me?

Jon Orwant

unread,
Dec 11, 2013, 8:47:15 PM12/11/13
to google-visua...@googlegroups.com
Hi Tiago,

A diff chart isn't a chart unto itself. There are diff scatter charts, diff bar charts, diff column charts, and diff pie charts.  The options for a diff scatter chart are just the options for a scatter chart; the options for a diff bar chart are just the options for a diff bar chart, and so on.

That's why I didn't include a section on options in the diff chart documentation, since the options depend on which type of diff chart you're creating.

Jon


--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

asgallant

unread,
Dec 12, 2013, 9:56:25 AM12/12/13
to google-visua...@googlegroups.com
I noticed a few things that should be cleaned up in theHistogram charts documentation:

  1. continuous hAxis options are irrelevant to the Histogram charts and should be removed from the documentation, as histograms and continuous axes are incompatible.
  2. the "Data Format" section's description for column 0 is incorrect: in a Histogram chart, it never is used for the domain axis values.  It should specify either a string type for data point labels or a number type for data point values.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

Jon Orwant

unread,
Dec 12, 2013, 11:00:51 AM12/12/13
to google-visua...@googlegroups.com
Right you are. I've pushed new documentation live. It's not perfect; we still need to go meticulously through all the options to verify that they work. That'll take time, but I wanted to get a not-clearly-wrong version out ASAP.

Thanks for the prod!

Jon


To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages