Breaking changes
- # 6131
helpers._decimalPlaces
is now private
Enhancements
- # 6527Hover styling for dataset in ‘dataset’ mode
- # 6268Implement
dataset.order
- # 6509Make
autoSkip
aware of major ticks - # 6460Implemented RTL support for legends and tooltips
- # 6490HTML DOM building
- # 6326Draw the rightmost grid line when
offsetGridLines
is true - # 6343Handle reverse support in core.scale
- # 6289Support
spanGaps
in radar charts - # 6323Support object values for bar charts
- # 6287Support rotation for
pointStyle
image - # 6257Allow specifying labels in time scale options
- # 6281Support boundary filling modes in radialLinear scale
- # 6056Add support for floating bar chart (
) [start, end]
) - # 6241Implement layers (z-index) for layout items
- # 5621Make legend appearance consistent with chart elements
- # 5999Implement per-dataset type (default and per-chart) options
- # 6097Specify time scale
min
and (max) in standard manner - # 6141Legend align option. Thanks@ dkichler
- # 6128Make line options scriptable. Thanks@ janelledement
Performance
- (#) Remove a couple calls to
helpers.each
- # 6247Remove duplicate scale building
- # 6579Cache resolved data element options
- # 6575Simplify line drawing
- #Add
ticks.sampleSize
option - # 6354Perf improvement for
ticks.source: 'labels'
- # 6301Replace
helpers.each
with for- Loops - (#) Refactor
core.layout
- # 6307Faster major tick calculation
- # 6250Cache
getScaleForId ()
calls in the line controller - # 6148Replace
helpers.extend
Bug Fixes
- # 6249Bar options should be defined on dataset instead of scale
- # 6556Inject styles into Shadow DOM when inside Shadow DOM
- # 6583Fix unit determination when
autoSkip
is enabled - # 6581Return correct index / value id in radar / polarArea
- # 6580Fix logarithmic test to use correct scale
- # 6528Make sure
zeroLineIndex
is defined - # 6523Fix right side scale ticks
- # 6423Clamp argument of
toExponential
between 0 and 20. Thanks@ veggiesaurus - # 6328Fix
getValueForPixel
in time scale - # 6292Adjust vertical alignment of tooltip items
- # 6321Update dataset metadata when axisID changes
- # 6291Assign unique scale IDs
- # 6288Fix regression in
lineTension
- # 6282Treat null as NaN in radialLinear scale
- # 6285Keep lines on the left and right edges from being cut
- # 6269Apply lineJoin style at the first point in radar charts
- # 6280Fix point label counting in radialLinear scale
- # 6279Treat 0 as a valid point label
- # 6265Utilize
tick.major
intickFormatFunction
- # 6264Apply offset regardless of min / max setting
- # 6258Fix ticks generation for vertical time scale
- # 6259Fix
determineUnitForFormatting
floating point error - # 6115Fix overlapping auto-generated ticks on time scale
- # 6238Fix tooltip title in radar charts
- # 6224Fix arc size calculation when circumference is under 2 * PI
- # 6215Fix arc border with circumference over 2 * PI
- # 5961Fix tick label rotation and layout issues
- # 6182Use the appropriate time format for auto tick generation
- # 6208Fill before drawing lines
- # 6209Fix missing tooltip value in radar charts
- # 6177Normalize angle for index in radialLinear scale
- # 6102Fix
ticks.minor
andticks.major
issues - # 6129Fix hover animation
- # 6120Improved
helpers.almostWhole
Documentation
- (#) Add a note to the perf documentation about rotation
- # 6554Add link to linear radial axis for radar chart doc
- # 6491Add
elements.arc.angle
in documentation - # 6466Fixed incorrect spelling in pie dataset options. Thanks@ SeppPenner
- # 6435Add link back to home page from docs
- # 6393Add radar chart config options
- (#) Correct descriptions on
ticks.display
and addpointLabels.display
- (#) Add sample for radar scriptable options
- # 6244Fix data in timeseries sample
- # 6186Typo in donut documentation. Thanks@ joshuamcewen
- # 6132Make docs consistent for
cubicInterpolationMode
andfill
. Thanks@ stockiNail - # 6119Demonstrate multiple units on timeseries example
- # 6139Documented tooltip alignment options
- # 6134Documented date adapter
Development
- # 6507Improved minimization when calling helpers
- # 6497Reduce indentation
- # 6355Do
autoSkip
inupdate
- # 6493Upgrade rollup and plugins
- # 6362Improved code minimization
- # 6360Create
helpers.math._factorize
- # 6351Lazily compute label sizes
- # 6347Render charts only once in time scale tests
- # 6246Avoid time related deprecation warnings in tests
Thanks to the maintainers and collaborators for their help to improve and test Chart.js (@ nagix,@ kurkle,@ benmccann,@ etimbergand@ simonbrunel).
GIPHY App Key not set. Please check settings