This page describes the Google Charts release process. It also includes the release notes for the current and previous versions of Google Charts, as well as a highlight of what's new.
-
The most recent version of Google Charts, also known as the official
current
release, is listed below along with the summary of changes for all previous releases.See library loading for an explanation of what it means for a release to be
current
. -
All 'jsapi' requests are now being redirected to the new loader. If you were loading version '1' or '1.0', you will now be loading 'current'. The closest match to the last version that was previously available via the jsapi loader is '45.2'.
Please use the new gstatic loader from now on. See the instructions on how to up update your loader code.
The Google Visualization API Release Process and Release Candidates
We release the Visualization API in two steps:
- At least two weeks before we release a new official version of the Visualization API, we will release a preliminary version, called a Release Candidate (RC), which you may load as version "upcoming". This is to test for any breaking changes in the release. We will post a notification to the Visualization API developer discussion group and monitor that group for reported issues, attempting to fix any backward compatibility problems reported.
- Two weeks after the RC release, if we are able to resolve all reported backward compatibility problems, it will be released as the new, official "current" release.
We encourage you to test your applications against each RC as soon as possible, and report any issues you have, to help us release a stable product.
While the Visualization API team thoroughly tests each new version, we realize that bugs may still exist in any new release. The objective of this two-step process is therefore to improve the reliability of the API for production systems.
Release Candidate Announcements
We will announce each new release candidate by emailing the Visualization API developer discussion group. If you're using the Visualization API for any serious applications, we highly recommend that you join this discussion group.
To help you find or filter these emails, each release announcement will have the same subject: "Release Candidate Pushed: <DATE>", where <DATE> is the push date. This email will include these usage instructions. New features will not be documented in detail, because the target of the release candidate is not to test the new features, but rather to test that the release does not break existing features. Detailed documentation of all the new features will be released with the production version.
How to Use the Release Candidate
The release candidate package version is "upcoming", in contrast to the production version which is "current". (Note that these names will not change with future releases.)
You can load either the production or the release candidate (but not both at once), depending on your version parameter, as shown here:
// To load the production version, call this: google.charts.load('current', {'packages':['corechart']}); OR // To load the release candidate, call this: google.charts.load('upcoming', {'packages':['corechart']});
Reporting Bugs
Visit our Known Issues page if you encounter a possible bug in Google Charts. Before filing a bug, please check your code to be sure that it's really a bug (post questions to the mailing list for additional help), then search the known issues page to see whether it has already been filed, or resolved.
If you discover any issues in the release candidate, you should send a message to the Visualization API developer discussion group with the details of the problem. The Visualization API team monitors this group during the release candidate period in order to be extra responsive during that time.
Official Releases
When you load Google Charts, you have a few options. Normally, it's done like so:
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> <script type="text/javascript"> google.charts.load('current', {packages: ['corechart']}); google.charts.setOnLoadCallback(drawChart); </script>
The 'current'
string means that the current stable version of
Google Charts will be loaded. If you want to get the cutting-edge, proposed candidate release
version before it becomes the next 'current'
version, use 'upcoming'
instead. Whichever of these versions you specify, you will see improvements over time as we
update them.
On July 28, 2015, we announced frozen versions. These are
releases of Google Charts that will remain unchanged forever (modulo
the occasional critical fix). The first frozen release was 41
corresponding to our February 23, 2015 release.
You load a frozen version like so:
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> <script type="text/javascript"> google.charts.load('46', {packages: ['corechart']}); google.charts.setOnLoadCallback(drawChart); </script>
More info is available in the Load Version documentation.
Version History
Current: April 2023
Available in quasi-perpetuity as Frozen Charts Version 52This release includes many more internal refactorings and migrations to ES6 and TypeScript, in preparation for the first phase of open-sourcing Google Charts.
- GeoChart
- Updated geochartVersion to 11, and regioncoderVersion to 1.
- Dygraph charts
- Gantt, Timeline, and the Material charts: Bar, Line, Scatter
- No longer loads the Dygraph library dynamically since it is compiled in.
- Table
- Fix highlighting of current page number for more than 11 pages.
- OrgChart
- Add ‘compactRows’ option. Default is false.
- Uses the Reingold-Tilford algorithm for layered trees. Its main advantage is a more effective use of horizontal space by placing subtrees close together as long as nodes in the same layer do not overlap.
June 2021
Available in quasi-perpetuity as Frozen Charts Version 51This release includes many more internal refactorings and migrations to ES6 and TypeScript, in preparation for the first phase of open-sourcing Google Charts.
- VegaChart
- Timeline
- Add the hidden accessibility table to Timeline.
-
New
alternatingRowStyle
option to enable setting the background style of alternating rows to lighter and darker colors. Default is true.
- Query
- Allow trailing ';' to be missing on Query responses.
April 2021
Available in quasi-perpetuity as Frozen Charts Version 50This release includes many internal refactorings and migrations to ES6 and TypeScript, in preparation for the first phase of open-sourcing Google Charts.
- VegaChart
- Added support for Vega-lite, and Vega-embed.
- Treemap
- New
enableHighlight
option enables highlighting of elements. How the highlighting is triggered should be configured with eventsConfig. (highlightOnMouseOver
is deprecated) - New
eventsConfig
option for configuring how events trigger Treemap interactions. The default configuration is:{ highlight: ['mouseover'], unhighlight: ['mouseout'], rollup: ['contextmenu'], // right-click drilldown: ['click'] }
- New events:
'highlight'
,'unhighlight'
,'drilldown'
- New
- Query
- Workaround lack of support in older versions of spreadsheets for the new more secure JSON response handling (which resulted in CORS errors).
July 2020
Available in quasi-perpetuity as Frozen Charts Version 49This release includes several more internal refactorings, so be aware of unintentional breakages. Code that has been affected includes all formatting classes, events, errors, parts of ChartEditor, ChartWrapper, ControlWrapper, Corecharts, Corechart axis ticks, GeoChart, and Query.
- VegaChart
- New chart type, now released in beta.
- A VegaChart is a wrapper for all of the many possible visualizations that may be specified using the Vega Visualization Grammar and drawn using data from DataTables like other charts. In future releases, we will further integrate the features of Google Charts and Vega.
- Uses the vega-interpreter to remain compliant with Content Security Policy restrictions.
-
GeoChart
-
geochartVersion
option, specifies the border data version; default is 10, but 11 is now available. -
regioncoderVersion
option, specifies the region coder data version; default is 0, but 1 is now available. - Fixed bug which accidentally included package 'geochart' in 'corechart'. Now works as documented. I.e., make sure you load packages: ['geochart'].
-
-
Gantt Chart
-
Added
sortTasks
option, default value true, to sort the tasks normally, or if false, use the same order as the rows in the DataTable.
-
Added
-
Query
- The JSON response option now requires that the server returns strict JSON, and the server must allow cross-origin requests.
-
Loader
-
If
google.charts.load()
is called more than one time with different versions or different languages, the settings from the first load are used. - Allows a version number, not just a version string.
- More backward compatibility tweaks to support redirects from the old jsapi loader.
- The autoload URL parameter must now be formatted as strict JSON, and URL encoded.
-
The
google.charts.load()
call now returns a JavaScript Promise, so in addition to the other callback mechanisms, you can call your chart drawing function like this:google.charts.load('upcoming', {packages: ['corechart']}).then(drawChart);
-
If
May 2020
Available in quasi-perpetuity as Frozen Charts Version 48- Fix bug in autoload parameter when combined with its own callback setting.
- Fix a bug with boxStyle for annotations when there are multiple series.
- Fix AnnotationChart zoom buttons.
- Avoid use of array.entries() and Object.entries(). This is to avoid requiring polyfills for IE11 which may conflict.
- GeoChart now loads data using xhr, which means the setMapsSource method will work again, with two conditions: (1)The data portion of the content must have no comments (i.e. strict JSON format) and (2) the server must allow cross-origin requests for the data.
February 2020
Available in quasi-perpetuity as Frozen Charts Version 47- Significant refactoring of core utilities for DataTable, DataView, and options processing.
- Calendar
- Add option for
legend.position
, default value'right'
. You can use'none'
to hide the legend.
- Add option for
- Timeline
- Fix sub-second time intervals (but still without ticks).
- Fix performance issues with overlapping time intervals.
-
Controls - Fixes to NumberRangeFilter. Now supports
fractionDigits
set to 0. - Add loader setting to enable "safeMode". When set to true, all charts and tooltips that generate HTML from user-supplied data will sanitize it by stripping out unsafe elements and attributes.
- Add support for the "autoload" and "callback" parameters on the loader, to be backward compatible with the old JSAPI loader. The autoload parameter MUST be strict JSON, and urlencoded.
- For corecharts
- Handle
"zoomDelta"
values below 1.0 - Add
"maxTextLines"
as a vertical axis option.
October 1, 2018
Available in quasi-perpetuity as Frozen Charts Version 46- Corecharts
- Ticks and Gridlines
- Several changes were made to the axis tick and gridline generation to allow tighter packing of ticks that don't overlap.
- Minor gridlines are even more dynamic now since the appropriate number of
minor gridlines depends on the interval between the major gridlines and
available space.
The default now is to always show minor gridlines, if they fit. Specify
{ minorGridlines: { count: 0 }}
to force no minor gridlines, or{ minorGridlines: { count: 1 }}
to enable minor gridlines. TheminorGridlines.count
option otherwise has no meaning. - The color of minor gridlines will default to 'none' if the major gridlines color is 'none'.
- Many improvements to gridlines and tick labels for
the
log
andmirrorLog
scales. - Allow negative slanted angle, to slant the 'other' way.
- Disable skipping and alternating (i.e. multiple staggered lines) for dates and times, by default.
- Generation of gridlines, minorGridlines, and ticks now determines the number
and spacing of gridlines based on other options besides the count.
If you specify a number for
gridlines.count
, it will be used only as a rough approximation. - New
gridlines.minSpacing
andminorGridlines.minSpacing
options let you specify the minimum screen space between major gridlines in pixels. Default for major gridlines is 40 for linear scales, 20 for log scales. For minorGridlines, the default minSpacing is 1/2 the minSpacing of major gridlines for linear scales, and 1/5 the minSpacing for log scales. If you specify the count and not minSpacing, the minSpacing is computed from the count. And conversely, if you specify the minSpacing and not the count, the count is computed from the minSpacing. - New
gridlines.interval
option lets you specify an array of sizes (as data values, not pixels) of the gridlines and minorGridlines. This option is only for numeric axes at this time, but it is analogous to thegridlines.units.<unit>.interval
options which are used only for dates and times.- For linear scales, the default is
{ gridlines: { interval: [1, 2, 2.5, 5] } }
which means the gridline values can fall on every unit (1), on even units (2), or on multiples of 2.5 or 5. Any power of 10 of these values is also considered (e.g. 10, 20, 25, or 50). For minor gridlines, the default is{ minorGridlines: { interval: [1, 1.5, 2, 2.5, 5] } }
. The minor gridline interval that is chosen will always be an even divisor of the chosen major gridline interval. - For log scales, the default is
{ gridlines: { interval: [1, 2, 5] } }
and{ minorGridlines: { interval: [1, 2, 5] } }
.
- For linear scales, the default is
- New options for
gridlines.multiple
andminorGridlines.multiple
, which specify that gridline and tick values must be a multiple of this option's value. So you can force ticks to be integers by specifyinggridlines.multiple = 1
. - Gridlines will now be rejected if formatted tick labels for
numbers would be duplicated, so you can specify
format:"#"
if you want to only show integer ticks. -
When the explicit 'ticks' option is used, we now expand the viewWindow to
include explicit ticks, if outside the data range.
Explicit
viewWindow
min
ormax
options can override. This is a change to the previous behavior which acted more like'maximized'
mode with explicit ticks. -
When the
viewWindowMode
ispretty
, which is the default for target axes, the viewWindow is now expanded to the nearest major gridline for numbers, or the nearest minor gridline for dates and times.
- Formatting
- Number format for 'short' and 'long' patterns now use 3 significant digits.
- Timeofday values will now be formatted using 24 hour ('HH') values by default instead of 12 hour ('hh') values.
- Explicit formats for dates and times will now override 'unit' formats.
- Fix for explorer mode, which broke after redrawing the chart.
- Ticks and Gridlines
- Histogram chart
- Domain axis gridlines and baseline default color is 'none'.
- Target axis ticks default format is now '#', to display integers only.
- Generate buckets using tick generation algorithm.
Default number of buckets is computed using a new
histogram.numBucketsRule
option. Possible values are 'sqrt', 'sturges', and 'rice'. See https://en.wikipedia.org/wiki/Histogram#Number_of_bins_and_width
- ColumnChart and BarChart
- Fixed detection of minimum bar size (the difference between adjacent values) to work with dates and times.
- Table
- Support 'className' property for rows.
- Add user specified column and cell className properties to default properties (rather than replace them), similar to row properties.
- Data
- Fix the data.group function to allow multiple aggregations to use the same column.
- Content Security Policy (CSP) compliance
- Remove uses of eval for JSON deserialization.
June 26, 2017
Available in quasi-perpetuity as Frozen Charts Version 45.2- Corecharts
- Many internal changes affecting how options are processed. (This has caused some bugs involving the 'explorer' mode.)
- Added
tooltip.boxStyle
options: e.g.'tooltip': { 'boxStyle': { 'stroke': '#b2b2b2', 'strokeOpacity': 1, 'strokeWidth': 1.5, 'fill': 'white', 'fillOpacity': 1, 'shadow': { 'radius': 1, 'opacity': 0.2, 'xOffset': 0, 'yOffset': 2 } }}
- Fix AreaChart legend items to use
areaOpacity
option. - Fix infinite loop when formatted domain values are (incorrectly) numeric.
- Table Chart
- Fix paging buttons.
- Add column type to header cell's
class
attribute. - Respect properties in datatable columns.
- Fix accessibility labels when sorting is enabled.
- Gantt Chart
- Fix selection object to include row index.
January 6, 2017
Available in quasi-perpetuity as Frozen Charts Version 45.1- Corecharts
- Fix to avoid failures when
chartArea.bottom
and.right
options are too large.
- Fix to avoid failures when
- Gantt Chart
- Now returns
row
property for selected items.
- Now returns
September 12, 2016
Available in quasi-perpetuity as Frozen Charts Version 45.- Loader changes:
- Support multiple calls of
google.charts.load
- ChartWrapper
instances can be called with a dynamically loaded
chartType
. - The GeoChart and
Map chart no longer require you to
include the JSAPI loader. There is a new
mapsApiKey
loader setting to let you specify your own key, rather than get the default behavior which may result in occassional throttling of service.
- Support multiple calls of
- Flash-based charts:
- For GeoMap and MotionChart, the swfobject.js has been updated to use the latest version 2.2. There should be no visible changes in chart features due to this update.
- For AnnotatedTimeline, we are now replacing it with the Annotation Chart, which has been under development for a couple years, and appears stable. Almost all the features of the AnnotatedTimeline should apply to the AnnotationChart with no changes required in your code, although the look and feel is different. The AnnotationChart uses no flash code, and is built on top of the Corecharts, ChartRangeFilter, and Table chart.
- Corecharts:
- Fixed
certainty
role so it works correctly with custom styles. - Make accessibility table hide properly in rtl containers.
- Fix startup animation when used with ChartWrapper.
- Fix animation of discrete values that swap places.
- Construct Dates regardless what day of the month it is.
- Fix relative stacked area chart colors.
- Fix ColumnChart with log scale and 0 or negative values.
- Fixed
- PieChart:
Fix inconsistent implementation of
reverseCategories
option. - Calendar:
Now uses more than two colors from the
colorAxis.colors
array option whencolorAxis.values
is unspecified. The behavior should be more like what happens in the GeoChart, where the inflection points are spread evenly throughout the gradient. - Material Charts: Fixed convertOptions for Material charts to use the background color correctly.
- Map Charts
now decouple the marker title text from the info window:
- Added new option 'showInfoWindow' to specifically control the info window.
- Added new option 'showTooltip' to specifically control the marker title text.
- Both options inherit from 'showTip' when not set.
- Bug fix: when clicking on a selected point, the info window will now go away.
February 23, 2016
Available in quasi-perpetuity as Frozen Charts Version 44.- Corecharts:
- Timeofday values now use UTC internally, which fixes problems with truncated timeofday axes.
- Added options to specify
bar.width
,bar.gap
,bar.group.width
(wasbar.groupWidth
) andbar.group.gap
. - Changed bar-like (bars and boxes) intervals to be consistent with bar-like charts.
- Histogram:
- Fixed formatting of tooltip items to use formatted values.
- Fixed bucketing with very small and very large values.
- Bar width and gap options apply to Histograms also.
- Added
histogram.minValue
andhistogram.maxValue
to expand range of buckets. - Allow use of explicit ticks option on domain axis.
- PieChart:
- Fixed error with tooltips when any slices are too small to display.
- Calendar:
- Fixed problems with time zones and daylight savings time.
- GeoChart:
- Wait longer on slow connections for Geo data.
- Gantt:
- Fixed some problems with order of items.
- Material Charts
- Fixed formatting of tooltip items to use formatted values.
October 2, 2015
Available in quasi-perpetuity as Frozen Charts Version 43.- Charts now officially support Microsoft Edge.
- Corecharts:
focusTarget
can now be an array to specify multiple focus targets.- Intervals can now be styled using the style role.
- Fixed issue with the
visible
property for tooltip actions. - HTML tooltip positioning now more closely matches SVG tooltip positioning.
chartArea
option now supports'right'
and'bottom'
.- Overlapping vertical axis ticks will be dropped.
- The size of legend scrolling arrows is fixed.
- Annotations are now correctly positioned when the chart
orientation
is'vertical'
or when the axes have adirection
of-1
. - Now supports variable-width in bar, column, and stepped area charts,
when you set
bars { variableWidth: true }
.
- Bubble Chart: Default labels now used for tooltips.
- Sankey Diagram:
- Better color handling.
- Link interactivity is now supported.
- Timeline:
- Durations are now localized.
- Now supports
minValue
andmaxValue
for the horizontal axis.
- Geo Chart:
- When a null value is specified for a custom tooltip, the default tooltip will be constructed instead.
- You can now disable interactivity for markers.
- Word Tree:
- Better color handling.
- Deprecated string color column and added support for style columns to replace it.
- Trendlines: Fixed a number of log scale and date-related bugs.
- Table Chart:
The
pagingButtons
option now works in more combinations withpage
,pageSize
, andstartPage
options. - Material charts (Bar, Line, and Scatter, so far): Fixed a number of bugs with redrawing charts and multiple charts on a page.
- Annotation Chart: The date and time format for range selector is now the same as for the main chart.
April 30, 2015
Available in quasi-perpetuity as Frozen Charts Version 42.- Corecharts
- ColumnChart, BarChart, AreaChart, and SteppedAreaChart now support
isStacked: 'percent'
(for scaling to 100% of data for each category) andisStacked: 'relative'
(for scaling to the range 0..1) - For all corecharts, the default baseline for axes will no longer be at the edge of the chart. The default baseline value of 0 will be used for numeric axes, but for backward compatibility with existing charts, it won’t automatically be included in the chart unless it is "close enough" to the data. You can force inclusion of the baseline just by adding
baseline: 0
to your options. For date and datetime axes, there is no default baseline, but you can specify one if you would like. - Corechart legends use line, area, and point style corresponding to each series.
- All text options for corecharts now support the
opacity
option. - The webfont loader will be used to load unknown fonts, which could cause your chart drawing to be delayed. Font names are case-insensitive.
- Startup animation now works with DataViews, and when combined with the async drawing mode.
- Fix the
clearChart
method when used before the chart was first drawn. - Added a
pointsVisible
option for top-level, series, and trendlines. This option controls whether points should be visible by default. This allows you to change thepointSize
while keeping the points hidden. - HTML tooltip position is fixed.
- The Scatter Chart now works with a discrete domain axis, and supports annotations.
- The Pie Chart now supports custom tooltips.
- Sankey
- You can now select nodes. This can be enabled by setting
sankey.node.interactivity
totrue
. - Adding the ability to specify Sankey interactivity via the chart options. Options are generally specified under the style of whatever is being specified, by adding an object with modified style attributes at one of the following keys:
'selected'
,'focused'
,'unselected'
,'unfocused'
. - Colors
- Sankey now supports the
'style'
role - Nodes can now be colored uniquely by setting the option
sankey.node.colorMode
to'unique'
- Links can now be colored. The coloring mode can be changed with the
sankey.link.colorMode
option. Valid values are:'unique'
: each link gets its own color.'source'
: each link uses the color of its source node.'target'
: each link uses the color of its target node.'gradient'
: each link is colored by a gradient that goes from the color of its source node to the color of its target node.- NOTE: If node coloring is set to the default or the palettes for nodes and links are different,
'source'
,'target'
, and'gradient'
will use the colors that would be assigned to the nodes if thecolorMode
was'unique'
and links and nodes shared a palette.
- The color palette for the nodes may now be changed via
sankey.node.colors
. - The color palette for the links may now be changed via
sankey.link.colors
.
- Sankey now supports the
- Default tooltips (both HTML and SVG) can now be generated by links and custom tooltips are supported via the
'tooltip'
role. - Timeline
- SVG tooltips are now supported.
- Custom tooltips are now supported.
- Colors will cycle if more are required than available.
- Calendar
- SVG tooltips are now supported.
- Custom tooltips are now supported.
- Trendlines
- The
pointsVisible
option is now supported.
- The
- Table chart
'width'
and'height'
options may either be unspecified, meaning the table should shrink as much as possible, or'100%'
, meaning the table should expand as much as possible.- Removed duplicate table used for frozen table header.
- Frozen columns, useful when you have more columns than will fit within available width. For example, the leftmost 2 columns may be frozen with
'frozenColumns': 2
. - Specify the number of paging buttons with the
'pagingButtons': #
option. The number of rows per page will be based on that, unless you also specify the'pageSize'
option. - The
'rtlTable'
option now works with paging or scrolling, but not (yet) withfrozenColumns
. - Renamed some css classes (e.g.
'content'
) to avoid conflicts. - Column headers now do not wrap by default.
- Material charts
(At the moment there are Material versions of the Bar, Line, and Scatter Charts.)- Better support for date, datetime, and timeofday axes.
- Fix sizing problems with multiple charts on the same page.
- May now be used with ChartWrapper.
- Annotation Chart
- Fixes for selecting annotations and color of range selector.
- Allow the Annotation Chart to specify the order of annotations table, using the
table.sortAscending
option.
- Map
- A set of coordinates is no longer ignored if the latitude/longitude values are 0.
February 23, 2015
Available in quasi-perpetuity as Frozen Charts Version 41.- Core charts
- Startup animations for most corecharts: add
startup:true
toanimation
option. - Add
clearChart()
to several charts that were missing this function. - Vertical axis ticks positioned inside the chart area can now use entire
chartArea.width
. - Handle null values more consistently, especially for JSON formatted tables.
- Add
allowAsync
option to draw asynchronously. - Allow
timeofday
values to have 1 to 7 elements. - Columns may be referenced by ID or label, in addition to index number.
- Generalize
style
role. - Tooltip support for right-to-left languages.
- Material light theme added (add theme:
material
option). - HTML tooltips
- Fix the positioning of HTML tooltips such that they’re relative to the container.
- Fix
tooltip tag is undefined
bug. - Use color property of text style.
- Trendlines
- Fix for log scale.
- Allow tooltips to be disabled per trendline.
- Work with multiple vertical axes.
- Work with animation.
- Annotations: avoid covering annotation with annotation tooltip.
- Startup animations for most corecharts: add
- Material charts
- Add ability to customize series colors via the
colors
option. - Add Material line chart.
- Add Material scatter chart.
- Subtitle is now supported when using
convertOptions()
.
- Add ability to customize series colors via the
- Histogram: automatically constrain number of buckets to avoid being too small.
- Calendar chart: support zero values.
- Map Visualization
- Zoom level fix.
- Support styled maps.
- Support multiple types of custom markers.
- Candlestick chart: now works with vertical orientation.
- Table chart
- Remove prior selection when
draw()
is called. - Use
THEAD
andTH
elements for table header. - Preserve header between
draw()
calls to work with accessibility tools.
- Remove prior selection when
- AnnotationChart
- Reverse order of annotations in table.
- Preserve series colors when hiding and showing series.
- Restore width and height to default when not specified.
- Set chart view window based on the range selector position.
- Gauge chart: fix shrinking on subsequent
draw()
calls. - Dashboards: add
getSelection()
method that returns a union of all selections in the dashboard. - ChartWrapper and ControlWrapper parameters now allow a
container
element, as alternative tocontainerId
. - Performance improvements for ChartRangeFilter, and for charts that use category focus tooltips.
- Chart editor
- Hide things that are not relevant (e.g. the legend menu when there are no legend items).
- Hide histogram bucket item dividers (by default).
- Piechart color fixes.
- Themes support.
- Polynomial trendline support.
- Enable trendlines for date-based axes, and for area charts.
- Click editor support for min/max values.
- Bar chart support for continuous axes and trendlines.
October 6, 2014
- Word Trees
- Accessibility
- Adding table with data for screen readers.
- Fix for text with auras.
- More accessibility fixes/tweaks.
- Annotation chart
- Animation fixes when size changes
- Legend fixes
- Numerous bug fixes for ChartWrapper.
- Timeline
- Date format now available in tooltips
- Bar labels now forced inside task bar
- Miscellaneous
- Ticklines and tick fixes
- More tooltip formatting options
- Numerous internal rendering improvements
- Improvements to the data explorer
- Trendline improvments
- Improvements to axis processing
- Material Bar and Column Charts, comporting to the new Google visual style
June 25, 2014
- Core charts (line, bar, column, area, combo, pie, scatter, candlestick, bubble, histogram, stepped area):
- 0 gridlines and 1 gridline now supported.
- Faster animation of large number of discrete axis values.
- Fixed animation with null or duplicate values.
- The new
highContrast
annotations option lets you regain the ability to customize the colors of text within a bar. - Fixed error when generating a tooltip for null or NaN datum.
- Explorer mode could crash in unusual circumstances; no longer.
- Printing Charts
- Tooltips now rendered on top of series plots.
- Annotations no longer clipped.
- Fixes to opacity.
- Assorted Firefox and IE fixes.
- Handles underlined text.
- Chart drawing is clipped to the chart's area, and tooltips aren't.
- 3D pie charts draw correctly.
- Bar and Column Charts
- Added an option to make annotations always be drawn outside the bar.
- Pie charts
- Fixed 3D reversed pie charts.
- Fixed Pie Chart issue in Chrome causing nearly whole circles to render incorrectly.
- Histograms
- Multiple selection and tooltip aggregation fixed.
- Geo Charts
- Support for tooltip.trigger = 'selection'.
- Timelines
- Works with 'datetime' as well as 'date'.
- Can now handle start < 1970 and end == null.
- Now has tooltips and interactivity that work in IE10.
- Fix for crash in IE10.
- Annotation Charts
- Fixed labels when there are more than 26 annotations.
rangechange
,ready
, andselect
events are now supported.- Fixed support for DataView.
- Point shapes
- New
dent
option lets you customize the look of stars.
- New
- Accessibility
- Removed clutter from DOM and added descriptive ARIA tags.
March 25, 2014
- Point shapes
- Added a new top-level
pointShape
option. - Added a new
strokeDashStyle
option for brushes.
- Added a new top-level
- Animation: added fix for animation of annotations and intervals.
- Explorer mode
- Fix for date, datetime, and timeofday axes.
- Fix to avoid failure with discrete axes.
- Google Docs Chart Editor
- Made various improvements to switching tabs.
- Added ARIA labels to improve accessibility.
- Added 'auto' gridline option.
- Timeline
- Added support for styles.
- Added option to turn off tooltips.
- Added ability to select items.
- Sankey
- Added check for cycles in data.
- Made nodes thinner and links lighter.
- Calendar
- Added support for selections.
- Added support for datetimes.
- Added support for styles.
- Added minor beautifications to color and style.
- Annotation Chart
- Added fix for extremely short range date and time axes.
- Changed color of range selector line to match chart color.
- Histograms: added fix for tooltips.
- Miscellany
- Added fix for explicit ticks to improve default formatting.
- Logscale now always uses variable number of gridlines.
- Added new method of tick generation for date, datetime, and timeofday when used with a variable number of gridlines.
- Treat NaN values as null, and handle isolated values (surrounded by nulls) for Line Charts and Area Charts.
- Added new option for Table Charts:
keepScrollPosition
. - Added support for
labeled
legends in Area Charts. - Added fix for Combo Charts when bars are mixed with other types resulting in gaps.
- Added ability to customize marker icons on map charts.
January 29, 2014
- New chart: Annotation, a flash-free version of the Annotated Timeline
- New chart: Sankey.
- New chart: Calendar.
- New feature: crosshairs for scatter charts, line charts, and combo charts.
- New feature: convert charts to PNGs.
- New method:
addOneTimeListener()
, used to listen for the first occurrence of an event. - Timeline: added 'style' role support.
- Timeline: Selections now supported.
- Pie charts: fixed behavior when there's only one row of data.
- Improved date behavior for variable numbers of gridlines.
- Animations: maxFramesPerSecond is now configurable.
- A set of
boxStyle
options for annotations. - String to number conversion in datatables: they'll now be automatically converted when the column type is numeric.
- Column chart: tooltips now show null values.
- Histogram speed improvement: they now render like column charts for large datasets.
- Histogram: fix for tooltips with categories.
- Explorer: fix for non-numeric data.
- Calls to google.load now serialized.
- Fixed IE7, IE8 error when using annotations and stacked columns.
November 26, 2013
- Now possible to show persistent values next to bars, columns, points, etc.
- 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 no longer 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 some events (but not the full set) 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 a "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
August 27, 2013
- Timeline Charts
A timeline is a chart that depicts how a set of resources are used over time. If you're managing a software project and want to illustrate who is doing what and when, or if you're organizing a conference and need to schedule meeting rooms, a timeline is often a reasonable visualization choice. One popular type of timeline is the Gantt chart:
https://developers.google.com/chart/interactive/docs/gallery/timeline - Donut Charts
We now let you create a donut chart by removing a hole from the center of a pie chart:
https://developers.google.com/chart/interactive/docs/gallery/piechart#donut - Map Data Refresh for GeoChart
As Google improves its geographic data through projects like Ground Truth, we periodically regenerate our static map data to integrate these improvements.
- Explicit Ticks
We now provide "explicit ticks", which enable you to fine-tune where ticks appear and how they're labeled. See the
hAxis.ticks
andvAxis.ticks
options at, for example, https://developers.google.com/chart/interactive/docs/gallery/linechart#Configuration_Options. - Bounding Boxes
We've documented
getBoundingBox()
and several related methods that let you extract information about where chart elements are drawn on the screen. See the chart gallery documentation pages for details. - Geocoding Improvements
We've made a number of improvements to our geocoding library to better cache requests across multiple GeoCharts on the same page.
- Miscellaneous Improvements
- DateFormatting improvements for certain locales
- JSON serialization fixes
- Trendline line width fixes
- Fix for logScale on vAxis when NaNs occur in the data
May 15, 2013
- Trendlines - Support for Linear and Exponential trendlines in most core charts.
- Actions - Now you can add more interactivity to your tooltips. This is an open-ended feature which allows you to add JavaScript callbacks to a menu in tooltips.
- Automatic Gridline Selection - use our algorithm to automatically select
the number of gridlines. You can use this by setting the
gridlines.count
option to-1
. This works for bothhAxis
orvAxis
. - Improvements in ChartWrapper performance.
September 24, 2012
- HTML Tooltip - Support for custom HTML tooltip content for data points, categories and annotations (certain core charts only)
- Look Mom, No IFrame! - With the exception of IE 8, charts are no longer drawn inside an IFrame by default. If you're feelin' retro you can bring it back by setting the option
forceIFrame: true
- Removed the
strictFirstColumnType
option. As you recall this was a temporary remedy for backward compatibility. Please refer to this help section for proper solutions - GeoChart: New option, tooltip.trigger, which works the same way as in the core charts
- GeoChart: Improved border colors
- ChartRangeFilter: You can now leave the control area while panning/zooming
- ChartRangeFilter: Fixed occasional crash when moving one handles over another
- Significant performance improvements when drawing charts with a domain axis of type date
June 18, 2012
- CandlestickChart: Allow more control over the candlesticks colors (see the
candlestick
option group) - ComboChart: Support candlesticks and steppedArea series (see the
series
/seriesType
options) - ColumnChart/BarChart/CandlestickChart: Support continuous domain axis (see the relevant data format sections)
- All corechart charts: Support legend alignment (see the
legend.alignment
option) - All corechart axis charts: Support minor gridlines (see the
minorGridlines
option)
May 2, 2012
- Added a configuration option to control the width of bars in a ColumnChart/BarChart and candlesticks in CandlestickChart
- Fixed crash when calling clearChart() twice in a row for charts in the corechart package
- Fixed malfunctioning interactivity when calling draw() after clearChart() for charts in the corechart package
- GeoChart: New province maps for Estonia, Finland, Lithuania, Latvia, Somalia and South Sudan
- Gauge: Fixed crash when calling draw() twice in Firefox.
April 2, 2012
- Annotations:
- Simple visual effect for selection of annotations (make text bold).
- Better handling of annotation bundles (i.e., multiple annotations on the same data point / domain value).
- Allow interaction with annotations in 'category' focus target.
- TreeMap chart:
- Added an option to use weighted averages in the treemap.
February 22, 2012
- Added gradient color mode to bubble chart.
- Geo chart:
- Region interactivity in marker mode is now disabled by default.
How to keep the old behavior? Set the
enableRegionInteractivity
option to true. - Markers are now opaque by default.
How to keep the old behavior? Set the
markerOpacity
option to 0.5. - Marker size is now between 3 and 12 pixels by default.
How to keep the old behavior? Set the
sizeAxis
option to {minSize: 2, maxSize: 30}. - A magnifying glass is now opened when the user hovers over cluttered markers (excluding IE<=8).
How to keep the old behavior? Set the
magnifyingGlass
option to {enable: false}. - We don't stretch the maps by default anymore, but rather keep the original aspect ratio.
How to keep the old behavior? Set the
keepAspectRatio
option to false.
- Region interactivity in marker mode is now disabled by default.
How to keep the old behavior? Set the
- A new control - ChartRangeFilter.
- A new experimental option
forceIFrame
whose default is true (the current behavior), but can be set to false. When set to false, corechart charts, geo chart, treemap and gauge will not render the chart in a iframe (for all browsers excluding IE<=8). This is still very experimental, and undocumented. We would like you to try it out and give us your input!
January 18, 2012
- Changed the default of
strictFirstColumnType
to true. If this causes issues with your charts please refer to the help section. - Added a new chart - bubble chart.
- A new chart editor design with a revamped customize panel.
- Added clearChart method to all visualizations in the main gallery.
- Table: Fixed memory leak.
- CandlestickChart: Performance improvement in all browsers.
- GeoChart: Performance improvement in IE 8.
- SteppedAreaChart: Support combination of connectSteps and isStacked options.
December 7, 2011
- Transition animation.
- New visual effects for focus and selection of chart elements in scatter, line, area, and other charts.
- New column role feature, enabling annotations, error bars, custom tool tips, out-of-scope indication, certainty level and emphasis in the core chart types.
- Marker mode in Geochart.
- New chart: Stepped Area.
- New UI for ChartEditor
- Geo chart: new maps for US states, improved visualization of disputed areas.
- New option for maximizing chart size:
{theme: 'maximized'}
.
October 30, 2011
- Bug fixes and infrastructure work.
September 26, 2011
- Improving rendering efficiency in corechart and GeoChart.
- Localization support.
- CoreChart: Visual effect for selection of points in LineChart/AreaChart/ScatterChart.
- GeoChart/Treemap: Fix color scale in IE8.
August 17, 2011
- Improving rendering efficiency in the GeoChart.
- Supporting iOS and IE8 in the Gauge visualization.
- CoreChart: improving the visual effect of focus on mouse over.
July 13, 2011
Many new properties, including:
viewWindow
, to specify vertical data zooming/croppingpieChartTooltip
- to specify what information should be in the tooltipseries
properties:visibleInLegend
,enableInteractivity
,areaOpacity
- Many new override properties on the
vAxis
/hAxis
objects.
- Dual Y axes now supported, using the
series.targetAxisIndex
andvAxes
/hAxes
properties - GeoChart performance improved
May 9, 2011
- GeoChart - New GeoChart (replacing the current Flash GeoMap)
- Candlestick - New CandlestickChart
- ComboChart - Enables combinations of bars, lines, and area charts on the same axis.
- Enable customization of independent series in the corechart package (e.g. explore the series option in the ComboChart)
- ChartWrapper - New ChartWrapper class for encapsulating chart creation and serialization.
- ChartEditor - New ChartEditor that can be embedded in your own site.
- Changes to the TreeMap look-and-feel.
- New controls package and ControlWrapper.
- Fusion Tables are now a Google Visualization compliant data source.
- Moved image charts to use https.
March 21, 2011
- Treemap - New rollup event
- ImageCandlestick - Added padding for the first and last candles
- Gauge - Changed default colors, and allowed users to change them. Fixed some memory leaks
- Bar, line, area, column, and scatter charts - Updated the gridline appearance.
February 24, 2011
January 17, 2011
- Bar, column, line, and scatter charts: added
gridlineColor
option. - Various charts: Added two new options for formatting tick mark text:
hAxis.format
(bar, scatter charts)vAxis.format
(line, area, column, scatter charts)
- Line chart:
- Added
interpolateNulls
option. - Points are now invisible by default unless hovered over.
- Added
- Pie chart:
- A slice is now emphasized when hovering over a slice or slice legend.
- Selecting pie slices now replaces the previous selection rather than adding to it.
- Added pieResidueSliceColor option to change the color of the composite slice.
- Treemap:
- Fixed a bug that prevented a three-column data model from rendering
- Fixed sorting
- Area, bar, column, line, pie, scatter, treemap, and gauge charts now use SVG on IE9, rather than VML.
- New function,
google.visualiation.arrayToDataTable()
.
November 7, 2010
- Added following properties to area, bar, column, line, and scatter charts:
- chartArea, to specify the size and positioning of the chart area within the chart boundaries.
- titlePosition and axisTitlesPosition, to specify positioning of the chart and axes titles.
- backgroundColor, to specify the color of the chart area background and border.
- vAxis/hAxis.textPosition, to specify the position of the labels for the tick marks on the vertical and horizontal axes.
- Added following features to pie chart:
- chartArea, to specify the size and positioning of the chart area within the chart boundaries.
- backgroundColor, to specify the color of the chart area background and border.
- pieResidueSliceLabel, to specify the label for the slice that represents the accumulated values of all slices below a specified threshold value.
August 11, 2010
- Updated core charts package:
- Enabled top and bottom positioning of the legend.
- Improved label layout when charts are textually overloaded (automatically switching to alternating labels and slanted text when necessary).
- Improved Pie Chart by exposing an option for 3D and for formatting the texts on the slices and the tooltips.
- Improved handling of error notifications across all charts.
- Fixed several bugs, including addressing the memory leak that occurred when redrawing charts.
- Fixed bug in Geomap where two letter codes where wrongly assumed to be region codes.
June 16, 2010
- Added onmouseover/onmouseout events to treemap
- Generic image charts, type radar:
- Both r and rs chart types now supported
- showValueLabels is now true by default
- Area, bar, column, line, pie, and scatter charts:
- Fixed some layout and ordering bugs.
- Improved error handling of bad data values.
- Additional small bug fixes.
- Geomap - Now supports internationalized tool tip strings.
May 18, 2010
- New Core Charts (see below) - Several common chart types have been redesigned,
and combined into a single package called
corechart
. We will no longer fix bugs or add new features in the older versions but rather encourage users to migrate to the new charts. - Image charts now support interactivity
- New tree map visualization
- Multi-select now supported on the Mac for the Table visualization.
- Map now provides the Terrain type.
More About Core Charts
We have created new versions of several common chart types, including area, bar, column, line, pie, and scatter charts. The new versions are in a common package called corechart. The older versions will continue to exist, in their previous packages, but we encourage you to start using these new versions.
How to migrate to the new charts:
- Change your package name
Load the newcorechart
package rather than the older packages. This new package includes the code for the new versions of the area, bar, column, line, pie, and scatter visualizations, which were previously loaded by separate packages.google.charts.load("current", {packages:["corechart"]});
- Adjust your chart options
Although many of the options have remained the same, some have been renamed or are not yet supported.
Renamed Options:- reverseAxis - Now called
reverseCategories
. - lineSize - Now called
lineWidth
. - smoothLine - Now called
curveType
and instead of the value true, the user should specify the value 'function'. - titleX/titleY - These options are now called
title
and are part of the newhAxis
orvAxis
objects. - logScale/logScaleX - These options are now called
logScale
and are part of the newhAxis
orvAxis
objects. - min/max - These options are now called
minValue
/maxValue
and are part of the newhAxis
orvAxis
objects.
Unsupported Options:- Legend positions - We currently support only the right legend position (or not displaying a legend).
- 3D - Pie charts do not support a 3D version at the moment.
- Tooltip - In the current version, tooltips open automatically on mouse hover; you cannot open or close them using the API.
- reverseAxis - Now called
April 22, 2010
Mostly internal changes.
February 5, 2010
- Map and Geomap now
dynamically load maps
API V3. If you currently load the maps API V2 script, you should remove it.
Note: You can not use the maps API V2 together with gviz Map/Geomap charts. - Map chart
- Returns proper ready event.
- Tooltip column may be of any type (and not only string as before).
- Image chart - Now provides two new options backgroundColor and valueLabelsInterval.
- Table chart - Paging buttons now properly respect user height.
November 10, 2009
- Annotated Timeline - Chart zero values now displays accurately.
- Area, Bar, Column, Line, Pie, and Scatter Charts - Internet Explorer 8 events and tooltips now handled properly.
- Table chart - Custom "Next" button text now displayed properly.
- Motion chart - Now supports animated line charts. New locales supported: "ru", "tr", "cs", and "hu".
- Geomap - Now supports metro area codes.
- Image Pie Chart - Now supports options to set the legend and labels.
September 29, 2009
- DataTable - New
toJSON()
method that returns JSON string that can be used inDataTable
constructor. - Wire protocol - JSON response format now supports true JSON-valid date strings.
- imagechart - New method
getImageUrl()
returns image URL used by Charts API. - Annotated Timeline:
- Bug fix - Legends now support commas properly
- You can now specify a null starting or ending date in
setVisibleChartRange()
to start from the beginning or ending range.
- Area Chart, Bar Chart, Column Chart - Bug fix: legends now displayed in same order as series in stacked versions of these charts
- Scatter chart - Bug fix: null values caused row index count to be off for succeeding rows in the data table.
- Area, Bar, Column, Line, Pie, Scatter charts:
- Calling
setSelection()
with both no parameters, null, or an empty array will deselect all selected items. - Added new options: tooltipWidth, tooltipHeight, tooltipFontSize to enable setting tooltip font size, width, and height respectively.
- New options to change the axis (axes) to a logarithmic scale: logScale, logScaleX
- Calling
- Bar formatter - Now shows formatted value if present, rather than actual data value.
- Grouping and joining now
enabled on
DataTable
. Details with the production release. - Calculated columns now enabled
on
DataView
. Details with the production release. DataView
- Added newgetProperties()
method.- Pie Chart - Fixed a bug with drawing some small slices in Internet Explorer.
- Org Chart - Improved the look of the org chart.
July 20, 2009
- Arrow Formatter - Small bug fix: Add missing cell border when Arrow Formatter is used
- Motion chart - Add statechange event
- DataTable - Bug fix: getDistinctValues() on an empty data table (used to throw an exception)
- Annotated timeline chart
- New appearance to the annotation list
- Fix double escaping in labels (for example when Euro symbol was in number format)
- Bug fix: Small changes in the range now fire range change event
- Changing the zoom with arrows now fires range change event
- Fill color is the same as line color
- Allow annotation columns even when displayAnnotations option is set to false (but columns are ignored)
- Bug fix: Wrong timezones when selecting the visible range
- Do not change mouse to hand when clicking a maximized chart
- New option (now default) to highlight the nearest dot, not the last
- New option to hide the bar date separator at the top right hand corner
- New option to hide the dots at the top legend
- New option to hide the values at the top legend
- Image chart
- Bug fix: some parameters were being dropped
- Support for hidden columns
- Org chart - Bug fix: Handle 'style' and 'selectedStyle' correctly.
- Interactive Charts (all) - Fix a bug with selection, when there are null values in the middle of a series
- ToolBar - Added an option "style" in the toolbar visualization, in the htmlcode component
- Pattern format - Added an option to output the result into a custom property of cells in a given column
- Table visualization - Changed paging symbols to use an image by default instead of unicode characters, and added a parameter to specify prev/next paging keyboard shortcuts for accessibility.
May 26, 2009
- A complete data source implementation, including full support of the Visualization Query Language in an open-source Java library.
- A new version (0.6) of the Google
Visualization API wire protocol with the following features:
- Additional query options with enhanced security.
- Custom properties now supported in DataTables at the cell, row, column, and table level.
- New output features:
- Support for new output format (tab-separated values).
- Ability to request a custom output file name for CSV or TSV files (see
the
outFileName
parameter).
- A new version (0.7) of the Google Visualization
API query language with the following features:
- Support for calculated columns.
- Support for scalar functions.
- A new Generic Image Chart visualization
that wraps the functionality of the Google Chart API:
- Exposes all the charts provided by the Chart API
- Not restricted by the 2K data limit when using the Chart API directly using URLs.
- Improved google.visualization.ColorFormat now supports all data types except boolean.
- Legends have been temporarily disabled in image pie chart, image scatter chart, and image line chart. (Image scatter and image line charts are created using the Generic Image Chart, by setting option 'cht' to 's' (scatter chart) or 'lxy' (line chart)).
- Organizational Chart
- Added mouseover and mouseout events
- Added support for custom style properties
- Geomap - Google Maps
<script>
include no longer needed if you use the lat/long format with markers. - New options added to google.visualization.Query to support different data sending methods.
- Area, Bar, Column, Line, Pie, and Scatter Charts support new options: titleFontSize, legendFontSize and AxisFontSize.
- Fixed an image pie chart bug. Previously, if you passed multiple colors to your options object it create a gradient based only on the first color, ignoring all additional colors. Now it uses all colors as documented.
- Fixed an annotated timeline labeling bug. Previously, labels were truncated to any % markers in the legend; this has been fixed to allow % characters.
April 6, 2009
- New toolbar helper element that enables you to export your data in a variety of formats, or embed the visualization in another page.
- Interactive charts (area, bar, column, line, pie,
and scatter charts)
- Added
onmouseover
andonmouseout
events. - Added a
showCategories
option to hide the category labels. (Does not apply to pie chart). - Fixed an axis scale bug: If the min value was just above zero and the max value was large, the chart legend was expanded to below zero.
- Added
- Table visualization
- Table customization
- Enable the user to supply css class names for:
headerRow, tableRow, oddTableRow, selectedTableRow, hoverTableRow, headerCell, tableCell, rowNumberCell.
- Enable the user to supply css class names for:
- Fixed a bug in cell property 'className'.
- Added
ready
event. - Basic right-to-left language support for table.
sort
event, and a methodgetSortInfo
, returns an array of indexes which is a mapping of the current sort.
- Table customization
- Map
- Added
zoomLevel
option.
- Added
- Motion chart
- Added
ready
event. - Fixed a bug to enable
getState
method.
- Added
- Org chart
- Added column for tooltips, implemented as a third optional column. If set, the value in the third column is the tool-tip that will be displayed when hovering over the node.
- Formatters
- Added a whitespace margin around the bar formatter.
- Added an option to display a black line at the zero value of the bar formatter.
- Annotated Time Line chart
- New option to hide the range selector area.
- Added number formatters to columns
- Added date formatter to the date at the top right of the chart.
- DataView
- Improved performance of a DataView when used only for manipulating columns, and not rows.
- Fixed a bug: When using a DataView only for manipulating columns, and adding rows to the table only after creating the view, these rows were not accessible through the view.
- DataTable
- Filter columns by value range. Each of the filters passed to
getFilteredRows
can be a range filter containing properties ofminValue
andmaxValue
- Filter columns by value range. Each of the filters passed to
February 23, 2009
New Features
Here is a summary of the most interesting new features of the API.
- Significant additions to the motion chart, including zoom, bars, and an option to save and restore the state.
- Added new options to the
Interactive Pie Chart:
pieJoinAngle
andpieMinimalAngle
, to control the behavior of the 'other' slice. - Added control over the
min
andmax
y values of the axis based Interactive Charts (Line Chart, Bar Chart, Area Chart,etc.). - Added 'ready' event support for all Interactive Charts.
- Added collapse option for the
Org Chart (
allowCollapse
). - Added new Date Formatter.
- Made formatters available for all visualizations (not only Table).
- Added methods to programatically hide and display specific data series on Annotated Time Line Chart.
Fixed Bugs
No major bug fixes.
Known Bugs
- The dates in the top right corner of the annotated time line chart are corrupted in some locales (es, po).
- After clicking on a legend of a line in line chart, the line width is set back to the default value, even if another value was specified.
- Default bubble size in motion chart is different.
- In the Bar Chart, the font can get too large. We should limit the maximum font size.
January 20, 2009
New Features
Here is a summary of the most interesting new features of the API. For the complete list, see Full Details below.
- New generic
ready
event which is fired when a particular visualization is ready for methods to be called. - New options for the annotated time
line chart:
fill
configuration option to control the trasparency of the area below the lines.thickness
configuration option to control the thickness of the lines.max
configuration option to control the max value displayed in the Y-axis.- If
date
type time is used, limit the x-axis resolution to days. ready
event is fired when the chart is ready for methods to be called.select
event is fired when flags are clicked by the user.
- New
ready
event implemented for Organizational Chart and Intensity Map. The event is fired when the charts are ready for methods to be called. - Added functions to set and get row properties on
DataTable
andDataView
. - Added functions to set and get table properties on
DataTable
andDataView
.
Fixed Bugs
- The gauge visualization's setInterval() method was fixed and is now working well also with Internet Explorer.
- The annotated time line chart failed to zoom-in to less than one day. This issue was fixed.
- The bar chart labels were drawn in a reverse order.
- Unselection of cells in interactive charts now close the tooltips.
- Refresh was not working in some of the gadgets of interactive visualizations.
Known Bugs
- The dates in the top right corner of the annotated time line chart are corrupted in some locales (es, po).
- After clicking on a legend of a line in line chart, the line width is set back to the default value, even if another value was specified.
Full Details
In addition to the new features, we introduced the following changes in this release:
- Improved latency issues in motion chart (especially on IE).
- Table
- No paging buttons when there is only one page.
- Make sortable headers fixed width.
- Small improvements in the look and feel.
December 9, 2008
New Features
Here is a summary of the most interesting new features of the API. For the complete list, see Full Details below.
- Google Web Toolkit now has a library for creating and manipulating visualizations.
- New options for the table visualization.
- Motion charts now support multiple charts, more locales, and speed slider.
- Annotated timeline now supports 10 locales.
- New geomap visualization.
Fixed Bugs
- Spreadsheet authentication errors have been fixed, and error messages clarified.
Known Bugs
- The gauge visualization's setInterval() method does not work with Internet Explorer.
Full Details
In addition to the new features, we introduced the following changes in this release:
- New
Google Web Toolkit (GWT) library with support for the following:
- Using Google visualizations from GWT code,
- Wrapping your own visualization in a GWT wrapper, and
- Writing visualizations using GWT.
- Table
- New properties: firstRowNumber, startPage, width, height, alternatingRowStyle, scrollLeftStartPosition.
- Motion chart
- Now more than one table visualization can be hosted on a page.
- 20 locales now supported.
- Annotated timeline:
- 20 locales now supported.
November 3, 2008
New Features
Here is a summary of the most interesting new features of the API. For the complete list, see Full Details below.
- Released the format of version 0.5 of the GViz data source protocol. Now you can expose your own data source to visualizations!
- Big reorganization of the documentation. We hope you like it.
- Release of an open source Python library that helps data source providers wrap data in an appropriate object to respond to data requests.
Known Bugs
- The gauge visualization's setInterval() method does not work with Internet Explorer.
Full Details
In addition to the new features, we introduced the following changes in this release:
- New get/setSelection() events added to Google's area, bar, column, line, pie, and table charts.