Chart.js Versions Save

Simple HTML5 Charts using the tag

v4.1.1

1 year ago

Essential Links

  • #10988 chore: Revert "Add Product Hunt button (temporarily)"

Bugs Fixed

  • #10971 fix: avoid resize loop when browser zoom is set to 90%
  • #10993 fix: move types to src dir to escape src / dist dirs in paths
  • #10992 fix: hotfix chart.js/auto for commonjs

Types

  • #10993 fix: move types to src dir to escape src / dist dirs in paths

Development

  • #10997 Bump to 4.1.1

Thanks to @dangreen, @etimberg, @gbaron and @igorlukanin

v4.1.0

1 year ago

Essential Links

  • #10980 chore: Add Product Hunt button (temporarily)
  • #10917 fix: move @kurkle/color to dependencies

Enhancements

  • #10966 add getLabelItems public method
  • #10984 feat: restore commonjs bundle
  • #10964 Allow dynamic datasets to be colored
  • #10904 Allow color plugin to work with custom dataset controllers
  • #10870 feat: colors for mixed charts
  • #10886 Pointstyle false

Bugs Fixed

  • #10942 Ensure that args are saved inside of the throttled helper
  • #10766 fix: stacked bar chart minBarLength causes overlapping
  • #10898 Set the transition mode to the context for scriptable options

Types

  • #10963 fix: unbind instance config from chart type
  • #10910 Add stepSize option to time scale options types

Documentation

  • #10976 docs: Update Slack link
  • #10965 Broken link is fixed.
  • #10955 Update auto import in usage docs
  • #10903 docs: add info about ESM into migration guide.
  • #10885 update migration guide
  • #10884 Move border opts to correct location for samples
  • #10872 Remove V3 support, update readme

Development

  • #10962 test: turn on types linting
  • #10983 bunp version to 4.1.0
  • #10974 chore: add lint cache
  • #10930 Update react template to V4 vite
  • #10919 Use UDM build for reproducible sample

Thanks to @Kit-p, @LeeLenaleee, @Simon-He95, @benmccann, @dangreen, @etimberg, @igorlukanin, @letheri and @stockiNail

v4.0.1

1 year ago

Essential Links

Bugs Fixed

  • #10871 Fix release

Thanks to @LeeLenaleee

v4.0.0-release

1 year ago

Essential Links

Bugs Fixed

  • #10869 Remove type attribute from dataset specific type specification
  • #10867 check the data set type in DoughnutController
  • #10806 fix: Always draw full arcs and borders for doughnut slices
  • #10855 Fix the missing apply for the color on the legend labels
  • #10851 Enable colors plugin for pie charts

Types

  • #10869 Remove type attribute from dataset specific type specification
  • #10753 refactor: migrate helpers.options to typescript

Documentation

  • #10816 Updated docs (why Chart.js + getting started + step-by-step guide)
  • #10857 docs: notes about html legend, tooltip and title
  • #10826 Fix month
  • #10827 Grammar error fixes
  • #10831 Update example chart config type, remove whitespace

Development

  • #10868 v4.0.0 bump

Thanks to @BrilliantDeviation7, @LeeLenaleee, @dangreen, @etimberg, @gibson042, @igorlukanin, @luckened, @puneetkathar1, @stockiNail and @t-mangoe

v4.0.0-alpha.3

1 year ago

v4.0.0-alpha.2

1 year ago

Essential Links

Development

  • #10790 Bump alpha 2

Thanks to @LeeLenaleee

v4.0.0

1 year ago

Essential Links

  • #10759 Fix #10749 - backdrops with rotated labels
  • #10667 fix: calc visible points on update
  • #10655 Provide an empty object when the target of the resolver is undefined
  • #10661 TypeScript: NodeNext support
  • #10639 enable pointStyleWidth for all legend styles

Breaking Changes

  • #10733 Convert the curve helpers to TS
  • #10728 Convert helpers.extra to TS
  • #10663 Fix autoskip logic
  • #10653 Use ticks.steSize instead of time.stepSize on time and timeseries scales
  • #10646 fix: respect aspect ratio with container height
  • #10643 feat: remove default axis override when custom id is given
  • #10612 Remove tooltip constructor fallbacks, `this.chart` and `this._chart`
  • #9166 Refine logarithmic scaling / tick generation
  • #10571 Put the border opts in own object
  • #10548 fix: same-looking tooltips on charts
  • #10551 Use borderRadius for legend and remove fallbacks
  • #10591 Change way that linear scales calculate min and max
  • #10526 feat: sideEffects false
  • #10549 Remove destroy hook
  • #10540 fix: pass timestamp to ticks callback
  • #10525 feat: add ESM support
  • #10504 fix: treeshaking
  • #10550 Move parameter of TType in ChartMeta to first option
  • #10469 Fix offset on doughnut charts

Enhancements

  • #10683 Use guard clause typings
  • #10702 Add warning if filler plugin is used but not registered
  • #10653 Use ticks.steSize instead of time.stepSize on time and timeseries scales
  • #10643 feat: remove default axis override when custom id is given
  • #10608 Use the element's window in getComputedStyle
  • #10571 Put the border opts in own object
  • #10605 Change react integration test to TS
  • #10548 fix: same-looking tooltips on charts
  • #10551 Use borderRadius for legend and remove fallbacks
  • #10567 feat: tooltip callbacks fallback
  • #10568 build: emit sourcemaps
  • #10526 feat: sideEffects false
  • #10525 feat: add ESM support
  • #10504 fix: treeshaking

Bugs Fixed

  • #10691 Use the correct area to clip for dataset drawing when stacked scales are used
  • #10693 fix: aspect ratio calc
  • #10641 FIX: render multiline legend items without overlapping (#10532)
  • #10663 Fix autoskip logic
  • #9166 Refine logarithmic scaling / tick generation
  • #10598 fix: allow beforeTooltipDraw to be cancelable
  • #10540 fix: pass timestamp to ticks callback
  • #10469 Fix offset on doughnut charts

Types

  • #10772 Convert the Arc element to TS
  • #10734 refactor: migrate helpers.dom to typescript
  • #10733 Convert the curve helpers to TS
  • #10730 Convert the PointElement to TS
  • #10760 Types: Change grid option of CartesianScaleOptions and RadialLinearScaleOptions to Partial of GridLineOptions
  • #10739 Allow to configure X and Y axis ID in TS for bubble charts
  • #10728 Convert helpers.extra to TS
  • #10729 Export declare const enums
  • #10726 Types: Export UpdateModeEnum as const
  • #10722 refactor: move batch of helpers to ts
  • #10712 Add defaults to plugin interface
  • #10683 Use guard clause typings
  • #10660 fix: types and tests
  • #10652 Update bar data type to comply with floating bar charts data
  • #10627 Convert the easing helpers to typescript
  • #10582 Allow animations to be set to false for the tooltip typings
  • #10590 Add `grouped` option to the typings for barchart
  • #10585 add correct padding object to type
  • #10579 fix: allow nulls in barchart data type
  • #10550 Move parameter of TType in ChartMeta to first option

Documentation

  • #10763 docs: fix typos
  • #10748 Updated dead sample link
  • #10719 Update namespace of logarithmic ticks section
  • #10708 Unify data structure snipets and add ts explanation
  • #10702 Add warning if filler plugin is used but not registered
  • #10666 Fixed broken link in docs
  • #10645 Update link to master umd build
  • #10640 Fix broken link
  • #10621 docs: fix images loading
  • #10569 Document components for bundle optimization
  • #10613 move option to correct namespace
  • #10611 fix lint in docs
  • #10607 Documentation: how to add static typing to plugins

Development

  • #10787 Bump alpha v4
  • #10632 Bump `markdown-it` in docs
  • #10591 Change way that linear scales calculate min and max
  • #10573 chore: upgrade dependencies
  • #10589 Downgrade karma preprocessor

Thanks to @Brainshaker95, @GrantHynd, @LeeLenaleee, @Lonylis, @New-dev0, @Zivangu9, @amincheloh, @benmccann, @cmcnulty, @dangreen, @etimberg, @jdufresne, @jwilliams-met, @kartik-madhak, @kurkle, @lucianosantana, @luckened, @rupert-br, @sashashura, @stockiNail, @touletan and @wenzdey

v3.9.1

1 year ago

Essential Links

Bugs Fixed

  • #10552 fix import helpers

Thanks to @LeeLenaleee

v3.9.0

1 year ago

Essential Links

Enhancements

  • #10439 feat: remove line element from scatter controller
  • #10528 feat: pass some chart options to DateAdapter
  • #10405 Add circular prop to arc element
  • #10530 Skip all borders if borderSkipped === true
  • #10517 parsing: support dot(s) in object keys
  • #10519 Enable borderDash option in the grid as scriptable

Performance

  • #10517 parsing: support dot(s) in object keys

Bugs Fixed

  • #10524 pass boxWidth only if pointStyleWidth presents
  • #10523 fix: calc visible points on update #10467

Documentation

  • #10527 Add docs for changing from time scale to logarithmic/linear scale
  • #10518 Improve docs radial linear grid
  • #10522 Fix Stack Overflow tag: chart.js
  • #10520 Fix Stack Overflow tag: chart.js
  • #10515 Fix dead link on reload or open in new tab
  • #10516 Clarifying threshold requirement in the docs for decimation

Development

  • #10541 Bump to 3.9.0

Thanks to @LeeLenaleee, @M4sterShake, @benmccann, @dangreen, @kurkle, @peterhauke, @stockiNail, @thabarbados and @touletan

v3.8.2

1 year ago

Essential Links

Bugs Fixed

  • #10513 Explicitly include package.json files for subpackages

Development

  • #10513 Explicitly include package.json files for subpackages

Thanks to @etimberg