Skip to content
Pre-release
Pre-release

@github-actions github-actions released this Jan 16, 2021 · 6 commits to master since this release

Essential Links

Bugs Fixed

  • #8319 Disable Path2D caching when chart is animated
  • #8315 Fix reading wrong property from font object for font string

Types

  • #8305 fixes #8304 (Missing type) beta 8 broken typescript

Documentation

  • #8316 Fix broken links in tooltip docs

Development

  • #8320 Bump v3.0.0-beta.9
  • #8312 Revert "Update spelling of cancellable (#8236)"

Thanks to @LeeLenaleee, @benmccann, @etimberg and @kurkle

Assets 3
Pre-release
Pre-release

@github-actions github-actions released this Jan 13, 2021 · 12 commits to master since this release

Essential Links

Breaking Changes

  • #8248 Skip reset when animations are disabled
  • #8223 Remove duplicate Scriptable definitions
  • #8215 Add options to configure tick styling independent of grid lines

Enhancements

  • #8215 Add options to configure tick styling independent of grid lines
  • #8193 Layout: enforce box limits, reject <0 chartArea
  • #8185 Hover: only update styles of changed elements

Performance

  • #8248 Skip reset when animations are disabled
  • #8246 Line: Update points directly, when possible
  • #8244 Use cached Intl.NumberFormat everywhere
  • #8239 Line: Use Path2D as cache
  • #8240 Cache the lineheight regex
  • #8234 Cache data limits to ensure they are only computed once per update

Bugs Fixed

  • #8302 Only draw points when radius >= 0.1
  • #8291 Skip delete undefined stack
  • #8266 Fix resize bug of line / radar charts
  • #8252 Tooltip: Render when animations are disabled
  • #8250 Line: Set points on resize (to reset Path2D cache)
  • #8253 Fix small bugs when animations are disabled
  • #8247 Always freeze cached options
  • #8226 Enable changing the chart type
  • #8222 Scriptable tick colours
  • #8221 Horizontal axis with center position should display labels
  • #8194 Make PointLabels color scriptable
  • #8195 Update defaults and types for tick stroke
  • #8191 Radius validation for drawRadiusLine
  • #8184 Reject pending promises when animation is updated
  • #8181 Remove dataset while hovered
  • #8168 Fix legend alignment issues
  • #8170 ArcElement: Skip draw when radius is negative
  • #8167 Use correct color for legend labels
  • #8161 Quick exit the legend fit function when the legend is not displayed
  • #8162 Prevent double plugin registers from losing the list of plugins
  • #8142 Respect the set locale in the pie/doughnut tooltips
  • #8139 fix default font color for legend

Types

  • #8263 Standardize type declaration indentation with tabs
  • #8198 Merge TS files into a single file to prevent circular loops
  • #8196 Add color options to documentation and types where missing
  • #8190 TypeScript updates
  • #8195 Update defaults and types for tick stroke
  • #8160 Move tooltip plugin hooks to the core Plugin type
  • #8149 Update docs on printing

Documentation

  • #8289 clarification that strikethrough uses same color as the label color
  • #8283 Add note about v3 dev code in readme
  • #8274 Remove empty line from the options table
  • #8279 Update quotationmark for link
  • #8271 Fix incorrect defaults location for Bubble
  • #8270 Update link to latest version of V2 Docs
  • #8267 Upgrade TypeDoc
  • #8262 Upgrade Docusaurus
  • #8257 Adds backgroundColor and borderColor options to the documentation
  • #8259 Change title font default option in the documentation
  • #8245 Mention npm in installation section
  • #8230 Example code plugin outdated
  • #8216 Ensure that default collections table is clear
  • #8214 Add note about loading fonts and chart updates
  • #8212 Ensure that default animation modes table is clear
  • #8201 Docs/multiline labels
  • #8199 Controller defaults wrong adressing
  • #8196 Add color options to documentation and types where missing
  • #8174 fix: add ArcElement to getting-started.md
  • #8177 added comma to fix syntax issue
  • #8151 Update docs for .resize() method
  • #8156 default values for element background and border color were wrong
  • #8149 Update docs on printing
  • #8138 Clarification: barPercentage vs categoryPercentage

Development

  • #8300 Bump version to beta.8
  • #8267 Upgrade TypeDoc
  • #8262 Upgrade Docusaurus
  • #8263 Standardize type declaration indentation with tabs
  • #8254 Use provided options in tooltip plugin
  • #8238 Rename helpers.clear to helpers.clearCanvas
  • #8236 Update spelling of cancellable
  • #8235 Clean up the LayoutItem type
  • #8227 Create standardized text render method
  • #8223 Remove duplicate Scriptable definitions
  • #8208 Split animation definitions
  • #8206 Split Element type to it's own definition file
  • #8205 Split adapter types to their own definition file
  • #8202 Split geometric types to their own definition file
  • #8109 Legend plugin cleanup

Thanks to @LeeLenaleee, @UrielMaD, @benmccann, @dcyou, @etimberg, @joshkel, @kurkle, @salmankazmi and @stockiNail

Assets 3
Pre-release
Pre-release

@github-actions github-actions released this Dec 4, 2020 · 89 commits to master since this release

Essential Links

Breaking Changes

  • #8111 LineElement: no fill by default
  • #8102 Unify signature of plugin hooks
  • #8089 Move title, tooltip and legend to options.plugins
  • #8090 Restore `datasets` namespace (revert 6955)
  • #8066 Align font options with CSS
  • #8074 Rename uppercase types to camel case
  • #8062 Unify cartesian scale tick order
  • #8009 Drop legacy browser support

Enhancements

  • #8112 Add new scale hooks for plugins
  • #8103 Add new hooks for plugins
  • #8102 Unify signature of plugin hooks
  • #8050 Allow single parameter to Defaults.set
  • #8060 Enable bounds option to all cartesian axes
  • #8053 CategoryScale: automatically add missing labels

Performance

  • #8049 Events: Only render when needed

Bugs Fixed

  • #8101 Fix CategoryScale.getValueForPixel with autoSkip
  • #8097 Fix disabling hover
  • #8082 Do not use offsetX/Y in shadow DOM
  • #8052 Chart.register: preserve existing defaults
  • #8024 dataset tooltip now shows correctly

Types

  • #8118 [v3] Add locale to ChartOptions type
  • #8110 fix color type & add background and border color
  • #8074 Rename uppercase types to camel case
  • #8048 Add plugins to CoreChartOptions
  • #8027 [beta.6][types] fix inconsistency in types for LABEL

Documentation

  • #8118 [v3] Add locale to ChartOptions type
  • #8113 Fix/area fill and chart titles
  • #8107 Fix typo in performance.md
  • #8099 fixed samples: area dataset (line), Radar and Logarithmic scale scatter
  • #8093 Update interpolation-modes sample to new defaults
  • #8081 Place scatter chart example options in the correct spot
  • #8080 made scatter chart a lot better readable, removed unnecesarry notes
  • #8076 Remove classic style extensions from docs/tests
  • #8070 fix broken url in docs
  • #8071 v2 note not nessecary in v3 docs and update example
  • #8065 Add missing import to styling.mdx
  • #8061 Update axis documentation
  • #8047 Update v3-migration.md
  • #8041 Fix broken link
  • #8039 Fix import names in integration example
  • #8037 documentation error
  • #8072 Fix url bug

Development

  • #8104 Title plugin cleanup
  • #8057 Refactor/cleanup range option handling
  • #8036 Try and get the version number without a `v`
  • #8028 Add tests and clean up resolveObjectKey helper
  • #8128 Bump highlight.js from 10.3.1 to 10.4.1

Thanks to @IVIosi, @LeeLenaleee, @dependabot, @dependabot[bot], @etimberg, @kurkle, @lab900-marcel-samyn, @lpellegr, @saintmalik, @wenfangdu and @xr0master

Assets 3
Pre-release
Pre-release

@github-actions github-actions released this Nov 8, 2020 · 144 commits to master since this release

Essential Links

Breaking Changes

  • #8017 Remove I prefix from TS types

Enhancements

  • #8007 Add type to context objects

Bugs Fixed

  • #8013 When data is removed, remove from stacks too
  • #8006 Use same merging logic for init and update
  • #7996 Remove use of null propagation operator since it's still in a draft state

Types

  • #8025 Improved types for defaults
  • #8017 Remove I prefix from TS types
  • #8001 [types][beta-5] fixed stacked scale, changed default type for data.labels

Documentation

  • #8004 Destroy example charts on unmount

Development

  • #8018 Bubble: Use point.size() in getMaxOverflow
  • #8014 Remove +-10px limit from bar controller
  • #8015 Normalize rotation and circumference resolution

Thanks to @emmcbd, @etimberg, @kurkle and @xr0master

Assets 3
Pre-release
Pre-release

@github-actions github-actions released this Nov 1, 2020 · 156 commits to master since this release

Essential Links

Breaking Changes

  • #7989 Delay resize to just before draw when animating
  • #7979 Relocate dataset defaults to defaults.controllers
  • #7949 Add `args.mode` to before/after update plugin hooks
  • #7936 Rename showLines to showLine
  • #7924 Rename elements to mark as elements, i.e. Arc -> ArcElement
  • #7900 Document getElementsAtEventForMode and remove APIs that can be replaced by it

Enhancements

  • #7981 Preserve scriptable context
  • #7972 feat: Draw tooltips with point styles. Closes #7774
  • #7968 feat: Make options.layout.padding scriptable. Closes #7873
  • #7951 feat: add borderRadius to bar charts. Closes #7701
  • #7959 Enable overriding the legend pointStyle using new `pointStyle` option
  • #7955 Enable suggestedMin and suggestedMax settings for logarithmic axes
  • #7949 Add `args.mode` to before/after update plugin hooks
  • #7924 Rename elements to mark as elements, i.e. Arc -> ArcElement
  • #7905 Ability to fill a line to a specified value along an axis
  • #7904 Bar chart base value overrides

Bugs Fixed

  • #7989 Delay resize to just before draw when animating
  • #7986 Check index bounds of datasets for isDatasetVisible
  • #7983 Tooltip: clear cached animations on initialize
  • #7964 Legend item lineWidth is the average of borderWidth when set as object (Bar)
  • #7919 Block incorrect keys in merge code to prevent prototype pollution
  • #7917 Use Object.create(null) as merge target, to prevent prototype pollution
  • #7910 Render points while animations are active
  • #7908 Reduce tooltip implied padding at top and bottom edges of the canvas
  • #7906 Fix Maximum call stack size exception in _computeLabelSizes
  • #7899 Fix beginAtZero for logarithmic axes
  • #7897 Share min sample size with all bars on the same scale

Types

  • #7961 fix return type for setActiveElements

Documentation

  • #7988 Use TypeScript syntax highlight for TypeScript code
  • #7957 Update stacked line sample to remove duplicate dataset names
  • #7953 Update category scale labels types to include string[][]
  • #7914 Documentation Typos
  • #7913 Minor Typos
  • #7912 Fix broken url in docs
  • #7909 Fix version numbers in Developers section of docs
  • #7900 Document getElementsAtEventForMode and remove APIs that can be replaced by it

Development

  • #7978 Rename lineTension back to tension
  • #7979 Relocate dataset defaults to defaults.controllers
  • #7939 Move config handling to a dedicated script
  • #7949 Add `args.mode` to before/after update plugin hooks
  • #7936 Rename showLines to showLine
  • #7915 Update dependencies
  • #7911 Stop deploying docs / drafting releases from forks
  • #7902 Renamed .browserlistrc to .browserslistrc
  • #7898 Remove circular dependencies from helpers

Thanks to @danmana, @etimberg, @fab313, @indigolain, @kurkle, @paul-cheung, @silentmatt, @stockiNail and @Yash-Singh1

Assets 2

@etimberg etimberg released this Oct 19, 2020 · 2 commits to 2.9 since this release

This is the last release of v2 and focused on fixing bugs identified in the v2.9.3 release.

Bugs Fixed

  • #7404 - Preserve prototypes when cloning. Thanks @iddings
  • #7587 - Fix docs for external moment.js. Thanks @mojoaxel
  • #7853 - Fix box recursion when dimensions are NaN. Thanks @alessandroasm
  • #7883 - Fix call stack exception when computing label sizes. Thanks @silentmatt
  • #7918 - Prevent global prototype pollution via the merge helper
  • #7920 - Use Object.create(null) as merge target, to prevent prototype pollution
Assets 3
Pre-release
Pre-release

@github-actions github-actions released this Oct 15, 2020 · 208 commits to master since this release

Essential Links

Breaking Changes

  • #7886 Shorten alignment settings for axes
  • #7871 Polar Area elements.arc.angle option now returns degrees
  • #7843 Provide method to lookup a chart from a canvas
  • #7833 Enable per-dataset circumference and rotation for pie/doughnut charts

Enhancements

  • #7886 Shorten alignment settings for axes
  • #7870 Ability to toggle individual bar visibility
  • #7874 Cartesian axis label cross alignment
  • #7846 Cartesian axis text alignment
  • #7862 beginAtZero support for logarithmic
  • #7852 Add maxWidth/maxHeight options for legend
  • #7849 Add new option, skipNull to bar charts that enables skipping null values
  • #7851 Enable custom sorting of the legend items
  • #7845 Provide APIs to set active (hovered) and tooltip elements.
  • #7843 Provide method to lookup a chart from a canvas
  • #7833 Enable per-dataset circumference and rotation for pie/doughnut charts

Bugs Fixed

  • #7848 Limit pixel values further to 16bit integer range
  • #7837 Clone cached options if enableOptionSharing!=true
  • #7836 Use full height for fullWidth box when left/right

Types

  • #7841 Remove enum types

Documentation

  • #7875 docs: Grammar fixes for cartesian and radial docs
  • #7868 Update custom tooltips to work with multiple charts on a page
  • #7865 Add tooltip positioning sample
  • #7835 Fix tooltip font options in sample

Development

  • #7882 Ensure scripts are marked as executable in git
  • #7872 Fix typo in const name
  • #7847 Normalize context creation for option resolution
  • #7844 JS test files should have tabs to correctly lint

Thanks to @emmcbd, @etimberg, @kurkle, @mikos and @tonyjmartinez

Assets 2
Pre-release
Pre-release

@etimberg etimberg released this Oct 1, 2020

Essential Links

Bugs Fixed

  • #7829 ESM chunks files were not include in the NPM distribution
  • #7828 Allow contextmenu (right click) events to trigger the onClick handler
Assets 6
Pre-release
Pre-release

@etimberg etimberg released this Oct 1, 2020

Essential Links

Highlights

The main highlight of this 2nd beta release is improvements to the 1st party Typescript types. Feedback on these types is greatly appreciated.

Breaking Changes

The helpers are now exposed in a flat format for both UMD & ESM cases. See #7750 for details.

Enhancements

Performance

  • #7793 Update/draw only visible line/points
  • #7755 Cache Intl.NumberFormat instances

Bug Fixes

  • #7820 Make dataset animations obey chart level disable
  • #7816 Fix: maximum size and mouse position with styling
  • #7808 Fix: Update/draw only visible -regression
  • #7800 Limit pixel values to 32bit integer range
  • #7792 Fix: relative position in FF
  • #7790 Better error message when importing charts incorrectly. . Thanks @Lautarourtiaga
  • #7785 Fix hover-out regression
  • #7758 Fix: update chart when attached
  • #7747 Reduce code duplication and sort generated ticks

Types

Documentation

  • #7806 Flat Helpers. Thanks @sgratzl
  • #7765 Update pull request template contributing docs link
  • #7757 Fix the parameter order of before/afterEvent
  • #7753 Chart.register instead of Chart.plugins.register
Assets 6
Pre-release
Pre-release

@etimberg etimberg released this Sep 1, 2020

Essential Links

Highlights

The main highlight of this first 3.0.0 beta release is the introduction of 1st party Typescript types. Feedback on these types is appreciated.

Enhancements

Bug Fixes

  • #7732 Use offsetX/Y or layerX/Y for events when available
  • #7731 Fix shared option handling
  • #7717 Resize on devicePixelRation changes
  • #7711 Use interpolation in fill: 'stack' (and fix interpolation)
  • #7710 Make sure bezier control points are updated
  • #7699 Doughnut controller overrides getLabelAndValue
  • #7650 Export extensible classes in ESM compatible way
  • #7686 Include Chart.defaults always
  • #7674 Resolve fonts through options.font
  • #7649 Do not use line defaults in legend

Documentation

  • #7741 Color the scales of multi-axis scatter sample
  • #7733 Refer to master documentation for Contributing
  • #7718 Document .getElementsAtXAxis(e). Thanks @Ludar-Pavel
  • #7685 Add some additional info and sections to animation documentation. Thanks @stockiNail
  • #7677 Fixed default of tension property of line element
  • #7670 Fix casing of dist files in docs
  • #7659 Live demo in getting-started page
  • #7658 chart should live in own container
  • #7653 Fix import statement in docs
Assets 5