Candidate release date: April 16, 2015
Anticipated production release date: as soon as May 4, but not before a frozen V41 is available.
New features / bugs fixed:
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.
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.
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
We have pushed a new Google Charts Release Candidate (RC) - V42. This should start to be available within a couple hours.
Candidate release date: April 16, 2015
Anticipated production release date: as soon as May 4, but not before a frozen V41 is available.
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-api@googlegroups.com.
I like the Weight for the Sankey Chart! Thanks.
--
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.
Good to hear V42 is working for a few people. It would be reassuring to have more people test their pages with V42 by loading "1.1".I am particularly concerned that the Table chart is behaving as expected, given the surprises of V41, and since I made a lot more changes under the covers for V42. Also, the tick generation, especially for Area, Column, and Bar charts is different, and hopefully better in all cases.We know about a problem with using log scale that should be fixed early next week.
On Fri, Apr 17, 2015 at 7:13 AM, Khrys <khry...@gmail.com> wrote:
I like the Weight for the Sankey Chart! Thanks.
--
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-visualization-api+unsub...@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.
daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA
--
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.
daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA
--
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.
daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA
--
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.
daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA
--
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.
...
--
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/eP8bMUyChxw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@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.
Ah yes, with this release that option was changed to sankey.link.defaultOpacity. Here's a modified version demonstrating the fix: https://jsfiddle.net/o9vc6yzy/4/
On Thu, Apr 23, 2015 at 1:21 PM Khrys <khry...@gmail.com> wrote:
One more question about Sankey: https://jsfiddle.net/Khrys/o9vc6yzy/3/Trying to use the fillOpacity option, but I could not see any different. I set 0.1 and 0.9, the result was the same.Thanks.
On Thursday, April 23, 2015 at 11:43:16 AM UTC-3, Sergey wrote:--Hi Khrys,colorMode: 'unique' will assign a unique color for each node. It is, in fact, now the default, so setting that option won't do anything. I can see how this is somewhat confusing, but you have to set the colorMode to 'category' in order to get a single color for all nodes, and then you have to specify the color you want in the 'colors' option. The reason for this is that each node is implicitly assigned a category, but since there's no way to specify a node's category, all nodes just get assigned the same category. Eventually we'll expose some method of assigning node categories, but that will require us to support passing in multiple data tables to Sankey.Here is a jsfiddle I made that does what (I think) you want: https://jsfiddle.net/o9vc6yzy/1/
On Thursday, April 23, 2015 at 10:23:35 AM UTC-4, Khrys wrote:Thanks Daniel. I really appreciate your work.With the new version, how can I get only one color in sankey? I tried the colorMode: unique but couldn't get this to work.Thanks.
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-visualization-api+unsub...@googlegroups.com.