Google Charts V42 Release Candidate Update Pushed: April 30, 2015

510 views
Skip to first unread message

Daniel LaLiberte

unread,
Apr 30, 2015, 2:32:05 PM4/30/15
to google-c...@googlegroups.com, google-visua...@googlegroups.com, google-char...@googlegroups.com
We have pushed an update of the new Google Charts Release Candidate (RC) - V42.   This should start to be available within a couple hours.

This update fixes a couple bugs and adds a couple small features:
  • The 100% stacking feature for AreaChart shows correct values in tooltips.
  • Material charts focus and selection events fixed.
  • Material charts sizing issues fixed.
  • ScatterChart now works with discrete domain axis and supports annotations.
  • Default trendline options can be specified at the top level within the 'trendlines' option.
  • PieChart now supports custom tooltips.

Candidate release date: April 30, 2015


Anticipated production release date: as soon as May 11, but not before a frozen V41 is available. This date represents a delay by one week from the previous announcement.


Please test this candidate release by changing your google.load() calls to load "1.1" instead of "1" or "1.0".  If this works for you, great.  If you find problems, please report your issues in this forum: google-visua...@googlegroups.com.   

Sometime before the production release, we will make available to you a way for you to switch from loading the production version (which you get when you load "1" or "1.0") to be able to load a frozen version of V41.  So if V42 doesn't work for you, and we can't resolve the issues in time, you will be able to continue using V41.

Summary of changes for v42:

  • Corecharts:

    • ColumnChart, BarChart, AreaChart, and SteppedAreaChart now support isStacked: ‘percent’ (for scaling to 100% of data for each category) and isStacked: ‘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 opacity.

    • 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 clearChart, when used before the chart was first drawn.

    • ‘pointsVisible’ option for top-level, series, and trendlines. This option controls whether points should be visible by default. This allows you to change the pointSize while keeping the points hidden.

    • HTML tooltip position is fixed.

    • ScatterChart now works with discrete domain axis and supports annotations.

    • PieChart now supports custom tooltips.

  • Sankey:

    • You can now select nodes. This can be enabled via ‘sankey.node.interactivity’: true

    • 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’: ‘unique’

      • Links can now be colored. The coloring mode can be changed by the option ‘sankey.link.colorMode’. 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 the colorMode 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’

    • 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 now supported.

    • colors will cycle if more are required than available.

  • Calendar

    • SVG tooltips are now supported.

    • Custom tooltips now supported.

  • Trendlines - pointsVisible option.

  • 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.  E.g. 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.

    • “rtlTable” now works with paging or scrolling, but not (yet) with frozenColumns.

    • Renamed some css classes (e.g. ‘content’) to avoid conflicts.

    • Column headers now do not wrap by default.

  • Material charts (Bar, Line, and Scatter, so far):

    • Better support for date, datetime, and timeofday axes.

    • Fix sizing problems with multiple charts on the same page.

    • May now be used with ChartWrapper.

  • AnnotationChart:

    • Fixes for selecting annotations and color of range selector.

    • Allow AnnotationChart to specify order of annotations table, using table.sortAscending option.

  • Map

    • A set of coordinates is no longer ignored if its latitude/longitude values are 0





--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

Daniel LaLiberte

unread,
Aug 17, 2015, 4:09:57 PM8/17/15
to google-c...@googlegroups.com, Google Visualization API, google-char...@googlegroups.com
After an extended delay while we finished preparing Frozen Google Charts for version 41 (see https://developers.google.com/chart/interactive/docs/library_loading_enhancements#frozen-versions), we are now starting a new phase in the release of version 42, which we are calling the "pre-production" release.  What this means is that when you load version "1", normally you would get the same as version "1.0", but during this pre-production phase, you will instead get the same as version "1.1", which is the candidate release for version 42.  

If you experience problems with this pre-production release, you can load "1.0" to see if that still works for you.  Please report your problems here, but depending on the seriousness of the problems, we may decide to proceed with the full production release since you can now also switch to the frozen version 41.

Anticipated production release date: Monday August 24, 2015



Please report any issues you encounter to google-visua...@googlegroups.com

Message has been deleted

Daniel LaLiberte

unread,
Aug 18, 2015, 9:27:01 AM8/18/15
to Google Visualization API, google-c...@googlegroups.com, google-char...@googlegroups.com
Loading '1.0' will only "fix" problems caused by the new candidate release until it becomes the production release, which will be the coming Monday.  So instead, you should either address the cause of the problem or switch to using the frozen loader for version 41.

I haven't seen anything like error in the image you captured.  Can you send me a link to the page where this is occurring? 

On Tue, Aug 18, 2015 at 5:25 AM, Daniel Buttery <hasanyones...@googlemail.com> wrote:
Heya.

Following from this, I've been getting errors on pages that reference version '1' of the charts - you can see the full message at http://i.imgur.com/GHh7f9Z.png .

Changing the load statements to explicitly point to '1.0' appears to be fixing it though.

The only reason I referenced version '1' was habit from following the samples given on the main Google Charts site (Maps being one but a quick check and Bar also references '1' so others might exist).

Cheers!

Dan

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/743836a6-b96a-43cd-a263-6908b2bdccdc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Paul Benson

unread,
Aug 24, 2015, 4:42:24 PM8/24/15
to Google Visualization API, google-c...@googlegroups.com, google-char...@googlegroups.com
I have noticed with the new release that when I specify a height of the table chart (required to freeze header row), the rows will resize to fit the total height of the specified chart height. So If I have only 2 rows returned they are greatly impacted by resize.


On Thursday, April 30, 2015 at 1:32:05 PM UTC-5, Daniel LaLiberte wrote:
We have pushed an update of the new Google Charts Release Candidate (RC) - V42.   This should start to be available within a couple hours.

This update fixes a couple bugs and adds a couple small features:
  • The 100% stacking feature for AreaChart shows correct values in tooltips.
  • Material charts focus and selection events fixed.
  • Material charts sizing issues fixed.
  • ScatterChart now works with discrete domain axis and supports annotations.
  • Default trendline options can be specified at the top level within the 'trendlines' option.
  • PieChart now supports custom tooltips.

Candidate release date: April 30, 2015


Anticipated production release date: as soon as May 11, but not before a frozen V41 is available. This date represents a delay by one week from the previous announcement.


Please test this candidate release by changing your google.load() calls to load "1.1" instead of "1" or "1.0".  If this works for you, great.  If you find problems, please report your issues in this forum: google-visualization-a...@googlegroups.com.   
dlali...@Google.com   5CC, Cambridge MA
daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA

Daniel LaLiberte

unread,
Aug 24, 2015, 4:53:09 PM8/24/15
to Google Visualization API, google-c...@googlegroups.com, google-char...@googlegroups.com
Hi Paul,

You should be able to freeze the header row with heights other than 100%.  And you can also specify a height on the container.  

If you are still having trouble figuring out how to make it work, can you point me at your page, or set up an example on jsfiddle?  Thanks.


On Mon, Aug 24, 2015 at 4:42 PM, Paul Benson <pbe...@motorola.com> wrote:
I have noticed with the new release that when I specify a height of the table chart (required to freeze header row), the rows will resize to fit the total height of the specified chart height. So If I have only 2 rows returned they are greatly impacted by resize.


On Thursday, April 30, 2015 at 1:32:05 PM UTC-5, Daniel LaLiberte wrote:
We have pushed an update of the new Google Charts Release Candidate (RC) - V42.   This should start to be available within a couple hours.

This update fixes a couple bugs and adds a couple small features:
  • The 100% stacking feature for AreaChart shows correct values in tooltips.
  • Material charts focus and selection events fixed.
  • Material charts sizing issues fixed.
  • ScatterChart now works with discrete domain axis and supports annotations.
  • Default trendline options can be specified at the top level within the 'trendlines' option.
  • PieChart now supports custom tooltips.

Candidate release date: April 30, 2015


Anticipated production release date: as soon as May 11, but not before a frozen V41 is available. This date represents a delay by one week from the previous announcement.


Please test this candidate release by changing your google.load() calls to load "1.1" instead of "1" or "1.0".  If this works for you, great.  If you find problems, please report your issues in this forum: google-visua...@googlegroups.com.   

--
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/d/optout.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

Paul Benson

unread,
Aug 24, 2015, 4:59:08 PM8/24/15
to google-visua...@googlegroups.com, google-c...@googlegroups.com, google-char...@googlegroups.com
Hello Daniel, I created an example on jfiddle,

https://jsfiddle.net/5ed4oeLe/.

As you can see, this will make rows taller so it fits in the size of
the chart. This didn't happen with the previous version, so it was
easier to freeze the header and account for changes in size of data
set returned.
> 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/XxP1zYbWQRE/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJM0hS21mDDOCDd95RaWTF6bBMxad1WwLmQ-k3XK1cN9mQ%40mail.gmail.com.

Daniel LaLiberte

unread,
Aug 24, 2015, 5:07:50 PM8/24/15
to Google Visualization API, google-c...@googlegroups.com, google-char...@googlegroups.com
OK, I can agree that it works differently than the previous version.  However, I believe this new interpretation of the options makes more sense.   

Here is a variation of your jsfiddle that shows more rows than will fit in the container, thus freezing the header, but without specifying the height in the chart options:  https://jsfiddle.net/dlaliberte/5ed4oeLe/1/

If you have fewer rows than needed to fill the page, then there is nothing to scroll anyway.

Will this work for your application?


For more options, visit https://groups.google.com/d/optout.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

Daniel LaLiberte

unread,
Aug 25, 2015, 2:33:26 PM8/25/15
to google-c...@googlegroups.com, Google Visualization API, google-char...@googlegroups.com
The production release of v42 is now rolling out.  The "production" release means that if you use google.load() to load Google Charts for version "1", or "1.0", or "1.1", you will get the same thing, which is v42.   Because of the "pre-production" release last week, you will only see a difference once the release process has finished, which can take up to 6 hours, if you are now loading 1.0.  

Again, the release notes are at: https://developers.google.com/chart/interactive/docs/release_notes

And please report any issues you encounter to google-visua...@googlegroups.com

Also, as previously announced, if you want to keep using the previous version, v41, you can now do so by following the instructions at https://developers.google.com/chart/interactive/docs/library_loading_enhancements#frozen-versions

Reply all
Reply to author
Forward
0 new messages