Hi David, Thanks for reporting this, with pointers to your pages. The main thing that is causing problems here is that the explicit ticks behavior has changed to not assume your viewWindow min and max are the first and last tick values, but instead, nice viewWindow bounds are found, and then your ticks are applied. I think you can fix most of the problem here by adding viewWindow min and max values, set to your first and last tick values.
I will probably restore the previous behavior of explicit ticks. There is not much point in what it is doing now since the nice viewWindow values will not matter much if you can't see them. The exception is the expansion to include the baseline value if it is close enough. The other problem is the horizontal axis. The 'showTextEvery: 2' option is being ignored. But also, most of your tick values are ignored for ticks, though used for gridlines. I guess we don't have enough tests regarding explicit ticks. I'll probably rollback the release, but I want to let others report problems first. It seems hardly anyone is testing the 'upcoming' version. On Wed, Sep 20, 2017 at 1:20 AM, David Burton <ncdave4l...@gmail.com> wrote: > 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 <dlali...@google.com> >> 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 <dlali...@google.com> >>> 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> >>>> dlali...@google.com 5CC, Cambridge MA >>>> >>> >>> >>> >>> -- >>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> >>> dlali...@google.com 5CC, Cambridge MA >>> >> >> >> >> -- >> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> >> dlali...@google.com 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 google-visualization-api+unsubscr...@googlegroups.com. > To post to this group, send email to google-visualization-api@ > googlegroups.com. > 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 > <https://groups.google.com/d/msgid/google-visualization-api/6fe6b7b2-c969-4a13-a98a-f1ef171c8c6d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> dlalibe...@google.com <dlalibe...@google.com> 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. 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/CAOtcSJPMuAh828h9B46T5_VbHCvMENozoxQnWyLsxsp9SXhr2g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.