All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
v0.3.0 (2024-09-07)
- The charts are now responsive and works much better on smaller screens. Dynamically resizing the container element will also resize the chart.
- Added the option
valueDecimals
to control decimal spaces. - The
labelsPosition
option can now be set to"none"
to hide the labels (e.g. for icons only).
In addition to some bug fixes.
The website homepage now has a GUI editor for chart options. Also added search capability in the website.
Thank you @AhmedElbohoty for the valuable contribution.
- api: re-prepare data when
makeCumulative
option is changed bychangeOptions
API method (80584ca) - data: fix passing data to worker (94aadd5)
- renderer: avoid icons overflow outside bars (b75dedb)
- options: add labelPositions
"none"
(4127c7a) - options: add the option
valueDecimals
(330202a) - options: validate options (0dccf85)
- renderer: resize chart on resizing root element (daec0cd)
- styles: make the chart text & controls responsive (eb2a353)
- website: add options editor GUI (a023795)
- website: add search (00015fc)
v0.2.0 (2024-09-01)
- data: fix worker mixing data for multiple charts (5160018)
- types: fix library type definitions (929f0af)
- data: auto detect
dataShape
(5ede0f7) - data: handle empty or invalid data (544c39d)
- options: auto detect
dataType
(9030de4)
v0.1.2 (2024-08-30)
- data: fix relative urls in web worker (ee8296d)
- data: handle loading data errors (ef615d7)
-
website: add all gallery demos to playground (b2c288e)
-
website: allow playground to change languages (12f7f48)
-
website: allow selecting playground language in querystring (5725e5f)
-
website: load gallery demos in embedded playground (747eade)
-
lint:stylelint and test:lint scripts (fd43d45)
-
build: upgrade most dependencies, including docusaurus that powers the website (Thanks @AhmedElbohoty)
0.1.1 (2024-08-20)
- Automate preparing releases
- Add README and LICENSE to published package
- Improve build system
- Add CI
Initial public release 🎉
- api: 💥 simplify race api (d0bfa66)
- frameworks: use default export for react and vue components (c168a39)
- options: rename control options (4fc644d)
- options: rename labelsOnBars to labelsPosition (2b3ed1d)
- events: 📝 add docs about events (46c9c36)
- api: allow API method chaining, on(event), onDate, call(fn), delay(ms) (c57936a)
- api: fluent API with method chaining (f200adf)
- docs: 🔍 implement offline search (5c8c5d4)
- frameworks: 📱 add a callback that is called after chart loads (f6005cd)
- frameworks: add loadingContent prop (681d4eb)
- frameworks: change react build to use react-jsx (a325036)
- frameworks: prevent component re-render on prop changes. (0f2c3ae)
- options: ♻️ allow to change options during runtime (7ed9c83)
- options: add
makeCumulative
option (bdd87dd) - renderer: 🎨 adjust header heights (315fd93)
- renderer: allow user to set margins (fe1dffa)
- styles: change background color for dark theme (cbc63b0)
- website: add meta tags (18ab60d)
- website: improve code snippets (a428bc1)
- website: improve playground code (72eac43)
- website: support multiple languages for code blocks (4b477b6)
- website: use jsdoc types for "open in playground" links (06131cf)
- data: ⚡ compute next dateSlice after render and cache it (4f152c6)
- data: ⚡ improve performance of fillDateGaps (dabd3f6)
- events: change custom event name from 'racingBars/dateChanged' to 'racingBars/dateChange'
- api: race api change
- options: rename control options
- frameworks: react and vue components use default exports. The main library and Props interface are no longer exported
- options: labelsOnBars has been renamed to labelsPosition and changed type from boolean to 'inside' | 'outside'