Yikes!  Version 46 horribly mangled my graphs!

Thank you, Daniel, for telling us how to use the old version, by changing:

google.charts.load('current', {'packages':['corechart']});

to:

google.charts.load('45.2', {'packages':['corechart']});

It's 1 a.m. here. I didn't want to spend all night trying to fix my site. 
Loading the old version is a quick solution, for now.

Here's an example of what went wrong in 46.

First, here's a graph drawn with version 45.2:

*http://sealevel.info/MSL_graph.php?id=Sydney* 
<http://sealevel.info/MSL_graph.php?id=Sydney>
(Nice and pretty.)

Now, here's the same graph drawn with version 46:
*http://sealevel.info/MSL_graph1.php?id=Sydney* 
<http://sealevel.info/MSL_graph1.php?id=Sydney>
(Mangled!)

Dave



On Tuesday, September 19, 2017 at 1:36:40 PM UTC-4, Daniel LaLiberte wrote:
>
> The 'current' version of Google Charts is now '46'.   Post if you notice 
> any problems.
>
> Note that you continue using the previous version by changing 'current' to 
> '45.2'.
>
>
> On Wed, Sep 6, 2017 at 4:23 PM, Daniel LaLiberte <[email protected] 
> <javascript:>> wrote:
>
>> I have updated the 'upcoming' v46 release.   Please try it and post any 
>> problems or questions.
>>
>> Here are the updates (and some additional previous changes).
>>
>>    - Corecharts
>>       - The main visible change is that I renamed the '
>>       viewWindow.maxMargin' option to 'viewWindow.maxPadding'.  
>>       - Fixed explorer mode interference with ScatterChart.
>>       - Fixed ChartWrapper refreshInterval to actually refresh.
>>       - Trendline equations now use column labels instead of just 'x' 
>>       and 'y'.
>>    - Histogram chart
>>       - Domain axis gridlines and baseline default color is 'none'.
>>       - Target axis ticks default format is now '#'.
>>    - 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.
>>    
>>
>> On Tue, Aug 29, 2017 at 2:46 PM, Daniel LaLiberte <[email protected] 
>> <javascript:>> wrote:
>>
>>> You can now load Google Charts version '46' by loading 'upcoming'.  
>>> Please test this version and let us know if you experience any new 
>>> problems.  
>>>
>>>
>>> At this time, 'current' is still '45.2'.  You can continue to load 
>>> version '45.2' by specifying that version.
>>>
>>> Anticipated production release date: Sept 19
>>>   On this date, loading 'current' or 'upcoming' will load '46'. 
>>>
>>> This version includes a few bug fixes, but primarily, there are many 
>>> changes to the gridlines and tick generation for corecharts.
>>>
>>>
>>> Summary of changes for v46:
>>>
>>>
>>>
>>>    - Corecharts
>>>    - All gridline and tick generation now computes the number of 
>>>       gridlines based on other options (see below).  If you specify a 
>>> number for 
>>>       gridlines.count, it will only be used as an approximation. 
>>>       - Minor gridlines are even more dynamic since the appropriate 
>>>       number of minor gridlines depends on the interval between the major 
>>>       gridlines.  The default for numeric axes is no minor gridlines, but 
>>> for 
>>>       dates and times, minor gridlines may be shown if they fit. Specify '{ 
>>> minorGridlines: 
>>>       { count: 0 }}' to force no minor gridlines, or '{ minorGridlines: 
>>>       { count: 1 }}' to enable minor gridlines if they fit.
>>>       - New 'gridlines.minSpacing' option lets you specify the minimum 
>>>       screen space between major gridlines in pixels.  Default is 40 for 
>>> linear 
>>>       scales, 15 for log scales.
>>>       - New 'gridlines.interval' option lets you specify an array of 
>>>       sizes of the gridlines as data values. The default for linear scales 
>>> is { 
>>>       interval: [1, 2, 2.5, 5] } 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 are also considered.   For log scales, the 
>>> default is [1, 
>>>       2, 5]. This option is only for numeric axes at this time, and it 
>>>       is analogous to the 'gridlines.units.<unit>.interval' options 
>>>       which is used only for dates and times.
>>>       - Currently, the minor gridline minimum spacing and intervals are 
>>>       determined automatically. These will probably be customizable in the 
>>> future.
>>>       - Gridlines will usually be rejected if formatted tick labels for 
>>>       numbers are duplicated, so you can specify 'format:"#"' to only 
>>>       show integer ticks without risking generation of duplicate ticks.  
>>> But if 
>>>       all alternatives fail, the best case will still be used.  
>>>       - New 'viewWindow.maxMargin' lets you specify the maximum screen 
>>>       space before or after the data range, in percentage of the data range 
>>> (as a 
>>>       string, e.g. '50%') or number of pixels.  The default is 30%.  Note 
>>> that 
>>>       the data might extend beyond the first or last gridline occasionally, 
>>> if it 
>>>       is not too much.
>>>       - The timeofday formatting is fixed to use 24 hour (HH) values 
>>>       for the hours by default instead of 12 hour (hh) values. 
>>>       - Many changes to the log scale and mirror log scale are included 
>>>       in this release.
>>>       - Fix for explorer mode which was disabled after the first redraw.
>>>    
>>>
>>> -- 
>>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>>> [email protected] <javascript:>   5CC, Cambridge MA
>>>
>>
>>
>>
>> -- 
>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>> [email protected] <javascript:>   5CC, Cambridge MA
>>
>
>
>
> -- 
> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
> [email protected] <javascript:>   5CC, Cambridge 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/6fe6b7b2-c969-4a13-a98a-f1ef171c8c6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [visualization-api] Google... 'Daniel LaLiberte' via Google Visualization API
    • [visualization-api] R... 'Daniel LaLiberte' via Google Visualization API
      • [visualization-ap... 'Daniel LaLiberte' via Google Visualization API
        • [visualizatio... David Burton
          • Re: [visu... 'Daniel LaLiberte' via Google Visualization API
            • Re: ... 'Daniel LaLiberte' via Google Visualization API
              • ... David Burton
                • ... 'Daniel LaLiberte' via Google Visualization API
                • ... David Burton
                • ... 'Daniel LaLiberte' via Google Visualization API
                • ... David Burton
                • ... 'John Wood' via Google Visualization API
                • ... Greg Slocum
                • ... 'Daniel LaLiberte' via Google Visualization API

Reply via email to