- Fixed issue with monthly and yearly data with Chart.js
- Fixed tooltip and formatting for numeric x-axis with Chart.js
- 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
- Added
autoDestroy
config
- Fixed
xmin
andxmax
for Chart.js
- Added support for Turbo
- Fixed x-axis type and position
library
options - Fixed
pointFormat
for Highcharts
- Fixed error with
destroy
function - Fixed error with hidden charts
- Fixed error with
background
option for downloads - Fixed null values in stacked column and bar charts
- Fixed error with time parsing
- Fixed time parsing logic
- Added support for Chart.js 3
- Added
loading
option - Added
destroyAll
function - Added
chartkick:load
event - Improved
colors
option for single-series column and bar charts - Increased hover radius for line, area, scatter, and bubble charts
- Prefer
empty
overmessages: {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
- Added support for petabytes and exabytes
- Fixed error with
xmin
andxmax
and empty data - Fixed error with
GeoChart
with latest Google Charts release
- Fixed prototype pollution - see #117
- Added
bytes
option for Chart.js - Added
precision
option - Added
round
option - Added
zeros
option
- Removed
Error Loading Chart
prefix for callback errors
- Added support for callbacks as data
- Fixed
stacked
option for Highcharts area charts - Fixed error with jQuery slim
- Fixed deprecation warning with Chart.js 2.9.0+
- Fixed missing bar chart labels with Chart.js 2.8.0
- Improved
require
sodefault
is no longer needed - Added
use
function - Added
xmin
andxmax
for Chart.js - Fixed Highcharts tooltip colors
- Fixed error when passing images to options
- Added
Chartkick.setDefaultOptions
function - Added
points
andcurve
options for individual series with Chart.js - Added support for download background color
- Raise an error for
refresh
option and non-URL data source
- Fixed numeric axes for Chart.js column and bar charts
- Added
code
option - Fixed
dataset
option for scatter charts
Breaking changes
- Removed
xtype
option - numeric axes are automatically detected - Removed
window.Chartkick = {...}
way to set config - useChartkick.configure
instead - Removed support for the Google Charts jsapi loader - use loader.js instead
- Added
dataset
option for Chart.js - Added
destroy
function
- Added
addAdapter
function
- Fixed module build
- Fixed
Cannot read property 'config' of undefined
error - Fixed error when switching between data and no data with empty message with Chart.js
- Fixed error when minified
- Fixed export for modules
- Added more
stacked
options
- Fixed issues with
thousands
option - Friendlier error messages when charting library not found
- Refresh interval now updates when
refresh
option changed - Removed experimental
Chartkick.createChart
function - Stopped pushing updates to Bower
- Added
prefix
andsuffix
options for Chart.js and Highcharts - Added
thousands
anddecimal
options for Chart.js and Highcharts - Added
messages
option - Fixed boolean labels for column chart
- Clean up charts before refresh
- Added multiple series stacked and grouped charts - Chart.js and Highcharts
- Fixed
refreshData
afterupdateData
- Fixed redraw issue with HighCharts
- Added
xtype
option - Added
points
option - Added
mapsApiKey
option toconfigure
- 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]
- Added
curve
option - Added
legend
option - Added
title
option - Added
getAdapter
function - Added
setOptions
function - Added
redraw
function - Fixed column order for Google Charts and Highcharts
- Added global options
- Added
download
option - Chart.js only - Added
updateData
function - Added
refreshData
function - Added
refresh
option - Added
stopRefresh
function - Added
getDataSource
function - Added
donut
option to pie chart - Added
eachChart
function - Remove colors from tooltips for Chart.js pie chart
- Fix for missing zero values for Chart.js
- Fix for missing values for multiple series column chart with sparse data
- Remove colors from tooltips for Chart.js
- Added basic support for new Google Charts loader
- Added
configure
function - Dropped jQuery and Zepto dependencies for AJAX
- Fixed legend colors on scatter chart for Chart.js
- Added scatter chart for Chart.js
- Fixed error with
xtitle
andytitle
on column and bar charts - Fixed all zeros with Chart.js
- Fixed odd tick spacing with Chart.js
- 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
- Added bar chart for Chart.js
- Added
library
option for series - Better tick selection for time and discrete scales
- Added Chart.js adapter beta
- Added
smarterDates
option (temporary until 2.0) - Added
smarterDiscrete
option (temporary until 2.0) - Fixed line height on timeline charts
- Added
label
option - Better tooltip for dates for Google Charts
- Fixed regression with
min: null
- Added scatter chart
- Added axis titles
- Added timelines
- Added
adapter
option
- Added
colors
option
- Added
discrete
option
- Added geo chart
- Added
stacked
option
- Made sure options can be overridden
- Added support for Google Charts localization
- Added bar chart and area chart
- Resize charts when window is resized
- Added library option
- Added support for Highcharts 2.1+
- Fixed sorting for line chart with multiple series and Google Charts
- First major release