in ,

chartjs / Chart.js, Hacker News

chartjs / Chart.js, Hacker News


    

Breaking changes

  • # 6131helpers._decimalPlacesis now private

Enhancements

  • # 6527Hover styling for dataset in ‘dataset’ mode
  • # 6268Implementdataset.order
  • # 6509MakeautoSkipaware of major ticks
  • # 6460Implemented RTL support for legends and tooltips
  • # 6490HTML DOM building
  • # 6326Draw the rightmost grid line whenoffsetGridLinesis true
  • # 6343Handle reverse support in core.scale
  • # 6289SupportspanGapsin radar charts
  • # 6323Support object values for bar charts
  • # 6287Support rotation forpointStyleimage
  • # 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 scaleminand (max) in standard manner
  • # 6141Legend align option. Thanks@ dkichler
  • # 6128Make line options scriptable. Thanks@ janelledement

Performance

  • (#) Remove a couple calls tohelpers.each
  • # 6247Remove duplicate scale building
  • # 6579Cache resolved data element options
  • # 6575Simplify line drawing
  • #Addticks.sampleSizeoption
  • # 6354Perf improvement forticks.source: 'labels'
  • # 6301Replacehelpers.eachwith for- Loops
  • (#) Refactorcore.layout
  • # 6307Faster major tick calculation
  • # 6250CachegetScaleForId ()calls in the line controller
  • # 6148Replacehelpers.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 whenautoSkipis enabled
  • # 6581Return correct index / value id in radar / polarArea
  • # 6580Fix logarithmic test to use correct scale
  • # 6528Make surezeroLineIndexis defined
  • # 6523Fix right side scale ticks
  • # 6423Clamp argument oftoExponentialbetween 0 and 20. Thanks@ veggiesaurus
  • # 6328FixgetValueForPixelin time scale
  • # 6292Adjust vertical alignment of tooltip items
  • # 6321Update dataset metadata when axisID changes
  • # 6291Assign unique scale IDs
  • # 6288Fix regression inlineTension
  • # 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
  • # 6265Utilizetick.majorintickFormatFunction
  • # 6264Apply offset regardless of min / max setting
  • # 6258Fix ticks generation for vertical time scale
  • # 6259FixdetermineUnitForFormattingfloating 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
  • # 6102Fixticks.minorandticks.majorissues
  • # 6129Fix hover animation
  • # 6120Improvedhelpers.almostWhole

Documentation

  • (#) Add a note to the perf documentation about rotation
  • # 6554Add link to linear radial axis for radar chart doc
  • # 6491Addelements.arc.anglein 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 onticks.displayand addpointLabels.display
  • (#) Add sample for radar scriptable options
  • # 6244Fix data in timeseries sample
  • # 6186Typo in donut documentation. Thanks@ joshuamcewen
  • # 6132Make docs consistent forcubicInterpolationModeandfill. Thanks@ stockiNail
  • # 6119Demonstrate multiple units on timeseries example
  • # 6139Documented tooltip alignment options
  • # 6134Documented date adapter

Development

  • # 6507Improved minimization when calling helpers
  • # 6497Reduce indentation
  • # 6355DoautoSkipinupdate
  • # 6493Upgrade rollup and plugins
  • # 6362Improved code minimization
  • # 6360Createhelpers.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).

  

Brave Browser
Read More
Payeer

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

Amid fires, PG&E may cut power to nearly 1 million customers in California – CNN, CNN

Amid fires, PG&E may cut power to nearly 1 million customers in California – CNN, CNN

PV Sindhu knocked out of French Open – Times of India, The Times of India

PV Sindhu knocked out of French Open – Times of India, The Times of India