CHANGELOG.md
January 19, 2023 ยท View on GitHub
5.0.1 (2023-01-19)
- Fixed issue with monthly and yearly data with Chart.js
- Fixed tooltip and formatting for numeric x-axis with Chart.js
5.0.0 (2023-01-18)
- Added support for Chart.js 4
- Fixed tooltip for negative values with
bytes - Dropped support for AJAX through jQuery and Zepto
- Dropped support for Chart.js 3
4.2.0 (2022-05-25)
- Added
autoDestroyconfig
4.1.1 (2021-11-06)
- Fixed
xminandxmaxfor Chart.js
4.1.0 (2021-10-23)
- Added support for Turbo
4.0.5 (2021-07-07)
- Fixed x-axis type and position
libraryoptions - Fixed
pointFormatfor Highcharts
4.0.4 (2021-05-01)
- Fixed error with
destroyfunction - Fixed error with hidden charts
4.0.3 (2021-04-10)
- Fixed error with
backgroundoption for downloads - Fixed null values in stacked column and bar charts
4.0.2 (2021-04-06)
- Fixed error with time parsing
4.0.1 (2021-04-06)
- Fixed time parsing logic
4.0.0 (2021-04-04)
- Added support for Chart.js 3
- Added
loadingoption - Added
destroyAllfunction - Added
chartkick:loadevent - Improved
colorsoption for single-series column and bar charts - Increased hover radius for line, area, scatter, and bubble charts
- Prefer
emptyovermessages: {empty: ...} - Stopped refresh when chart is destroyed
- Fixed gridline orientation for bar charts
Breaking changes
- Removed support for Chart.js 2
- Charts with no data show message instead of empty chart
- Dates are shown in local time instead of UTC for Highcharts to be consistent with other adapters
3.2.1 (2020-07-23)
- Added support for petabytes and exabytes
- Fixed error with
xminandxmaxand empty data - Fixed error with
GeoChartwith latest Google Charts release
3.2.0 (2019-11-09)
- Fixed prototype pollution - see #117
- Added
bytesoption for Chart.js - Added
precisionoption - Added
roundoption - Added
zerosoption
3.1.3 (2019-10-27)
- Removed
Error Loading Chartprefix for callback errors
3.1.2 (2019-10-27)
- Added support for callbacks as data
- Fixed
stackedoption for Highcharts area charts - Fixed error with jQuery slim
- Fixed deprecation warning with Chart.js 2.9.0+
3.1.1 (2019-07-15)
- Fixed missing bar chart labels with Chart.js 2.8.0
3.1.0 (2019-05-26)
- Improved
requiresodefaultis no longer needed - Added
usefunction - Added
xminandxmaxfor Chart.js - Fixed Highcharts tooltip colors
- Fixed error when passing images to options
3.0.2 (2019-01-03)
- Added
Chartkick.setDefaultOptionsfunction - Added
pointsandcurveoptions for individual series with Chart.js - Added support for download background color
- Raise an error for
refreshoption and non-URL data source
3.0.1 (2018-08-13)
- Fixed numeric axes for Chart.js column and bar charts
3.0.0 (2018-08-08)
- Added
codeoption - Fixed
datasetoption for scatter charts
Breaking changes
- Removed
xtypeoption - numeric axes are automatically detected - Removed
window.Chartkick = {...}way to set config - useChartkick.configureinstead - Removed support for the Google Charts jsapi loader - use loader.js instead
2.3.6 (2018-05-31)
- Added
datasetoption for Chart.js - Added
destroyfunction
2.3.5 (2018-03-26)
- Added
addAdapterfunction
2.3.4 (2018-03-25)
- Fixed module build
- Fixed
Cannot read property 'config' of undefinederror - Fixed error when switching between data and no data with empty message with Chart.js
2.3.3 (2018-02-26)
- Fixed error when minified
2.3.2 (2018-02-24)
- Fixed export for modules
- Added more
stackedoptions
2.3.1 (2018-02-23)
- Fixed issues with
thousandsoption - Friendlier error messages when charting library not found
- Refresh interval now updates when
refreshoption changed - Removed experimental
Chartkick.createChartfunction - Stopped pushing updates to Bower
2.3.0 (2018-02-21)
- Added
prefixandsuffixoptions for Chart.js and Highcharts - Added
thousandsanddecimaloptions for Chart.js and Highcharts - Added
messagesoption - Fixed boolean labels for column chart
- Clean up charts before refresh
2.2.4 (2017-05-14)
- Added multiple series stacked and grouped charts - Chart.js and Highcharts
- Fixed
refreshDataafterupdateData - Fixed redraw issue with HighCharts
2.2.3 (2017-02-22)
- Added
xtypeoption - Added
pointsoption - Added
mapsApiKeyoption toconfigure
2.2.2 (2017-01-07)
- Fixed missing scatter points for Google Charts
- Fixed scatter chart for Highcharts
- Limit concurrent requests to avoid overloading servers
- Added ability to specify color with series for Chart.js and Highcharts
- Added bubble chart for Chart.js [experimental]
2.2.1 (2016-12-05)
- Added
curveoption - Added
legendoption - Added
titleoption - Added
getAdapterfunction - Added
setOptionsfunction - Added
redrawfunction - Fixed column order for Google Charts and Highcharts
2.2.0 (2016-12-03)
- Added global options
- Added
downloadoption - Chart.js only - Added
updateDatafunction - Added
refreshDatafunction - Added
refreshoption - Added
stopRefreshfunction - Added
getDataSourcefunction - Added
donutoption to pie chart - Added
eachChartfunction - Remove colors from tooltips for Chart.js pie chart
2.1.2 (2016-11-29)
- Fix for missing zero values for Chart.js
2.1.1 (2016-11-28)
- Fix for missing values for multiple series column chart with sparse data
- Remove colors from tooltips for Chart.js
2.1.0 (2016-09-10)
- Added basic support for new Google Charts loader
- Added
configurefunction - Dropped jQuery and Zepto dependencies for AJAX
- Fixed legend colors on scatter chart for Chart.js
2.0.1 (2016-08-11)
- Added scatter chart for Chart.js
- Fixed error with
xtitleandytitleon column and bar charts - Fixed all zeros with Chart.js
- Fixed odd tick spacing with Chart.js
2.0.0 (2016-05-30)
- Chart.js is now the default adapter - yay open source!
- Axis types are automatically detected - no need for
discrete: true - Better date support
- New official API
- Fixed min and max for Chart.js bar charts
1.5.1 (2016-05-03)
- Added bar chart for Chart.js
- Added
libraryoption for series - Better tick selection for time and discrete scales
1.5.0 (2016-05-01)
- Added Chart.js adapter beta
- Added
smarterDatesoption (temporary until 2.0) - Added
smarterDiscreteoption (temporary until 2.0) - Fixed line height on timeline charts
1.4.2 (2016-02-29)
- Added
labeloption - Better tooltip for dates for Google Charts
1.4.1 (2015-09-07)
- Fixed regression with
min: null
1.4.0 (2015-08-31)
- Added scatter chart
- Added axis titles
1.3.0 (2014-10-09)
- Added timelines
- Added
adapteroption
1.2.2 (2014-03-29)
- Added
colorsoption
1.2.1 (2014-03-23)
- Added
discreteoption
1.2.0 (2014-02-23)
- Added geo chart
- Added
stackedoption
1.1.1 (2013-12-08)
- Made sure options can be overridden
- Added support for Google Charts localization
1.1.0 (2013-06-27)
- Added bar chart and area chart
- Resize charts when window is resized
1.0.2 (2013-06-11)
- Added library option
1.0.1 (2013-05-23)
- Added support for Highcharts 2.1+
- Fixed sorting for line chart with multiple series and Google Charts
1.0.0 (2013-05-15)
- First major release