4.3.5 (2024-11-05)
4.3.4 (2024-10-07)
4.3.3 (2024-09-27)
4.3.2 (2024-09-19)
- tooltip memory leak (ec80853)
4.3.1 (2024-08-13)
- overscreen tooltip (08e3337)
4.3.0 (2024-04-09)
4.2.4 (2024-03-27)
4.2.3 (2024-01-29)
4.2.2 (2024-01-26)
4.2.1 (2024-01-24)
4.2.0 (2024-01-18)
4.1.1 (2024-01-17)
- fixed chart updatewhen legend changes (700cfce)
4.1.0 (2023-12-26)
4.0.4 (2023-12-25)
4.0.3 (2023-12-11)
4.0.2 (2023-12-11)
4.0.1 (2023-12-04)
4.0.0 (2023-11-27)
- bump version (#187)
3.11.4 (2023-11-22)
3.11.3 (2023-11-21)
3.11.2 (2023-11-17)
3.11.1 (2023-11-08)
3.11.0 (2023-10-23)
3.10.6 (2023-10-10)
3.10.5 (2023-10-09)
3.10.4 (2023-10-05)
3.10.3 (2023-10-05)
- fixed drawMarkersIfRequired in case if timeline.length == 1 (#163) (9a506f4)
- fixed update point cursro in case if it's empty (#161) (25c1da4)
3.10.2 (2023-10-02)
3.10.1 (2023-09-30)
3.10.0 (2023-09-28)
3.9.0 (2023-09-27)
3.8.1 (2023-09-15)
3.8.0 (2023-09-11)
3.7.13 (2023-09-05)
3.7.12 (2023-08-31)
3.7.11 (2023-08-26)
3.7.10 (2023-08-23)
3.7.9 (2023-08-18)
3.7.8 (2023-08-15)
3.7.7 (2023-08-10)
3.7.6 (2023-08-09)
3.7.5 (2023-08-03)
3.7.4 (2023-08-02)
3.7.3 (2023-08-01)
3.7.2 (2023-07-31)
3.7.1 (2023-07-28)
3.7.0 (2023-07-24)
3.6.1 (2023-07-21)
3.6.0 (2023-07-17)
- add new tooltip actions + reset method (#104) (f02c3e8)
- added hard-update option for setConfig and react component (#105) (104334f)
3.5.5 (2023-07-13)
3.5.4 (2023-07-13)
3.5.3 (2023-07-13)
3.5.2 (2023-07-13)
3.5.1 (2023-07-12)
3.5.0 (2023-07-12)
3.4.1 (2023-07-11)
3.4.0 (2023-07-10)
- added .setTitle method, subscription state, data refs and range tracking (8fbbb5c)
3.3.6 (2023-07-10)
3.3.5 (2023-07-06)
3.3.4 (2023-07-05)
3.3.3 (2023-07-05)
3.3.2 (2023-07-04)
3.3.1 (2023-07-02)
- fixed initRender to support updates without legend dom node change (c8810d6)
3.3.0 (2023-06-30)
3.2.1 (2023-06-30)
- fixed setAxes method (68ce5c1)
3.2.0 (2023-06-23)
- version bump (e89d01c)
3.1.0 (2023-06-23)
- added single-ton tooltip, fixed package config (55ffc2b)
- remove tooltip handlers on dispose + don't reiniit hooks (a33f666)
- removed redundant typings and .d.ts reexporter (cb291bd)
3.0.0 (2023-06-21)
- Fixed typo
appereance
->appearance
inYagrConfig['chart']
- Refactored
YagrCore
class to use mixins. - Refactored batch mechanism to support multiple Yagr change calls in single batch
- Refactored Yagr React component to support
setConfig
instead of re-initialization of Yagr instance on every config update - Got rid of Rollup, using ESBuild instead
- Fixed
setVisible
method for stacked areas
- Removed workaround to fix uPlot issue in
setVisible
method - Added
setScales
method - Added generic
setConfig
method. Currently in expriemental mode
- Fixed tooltip render initial position (now it renders in
boundClassName
element) - Added virtual tooltip mode
- Added useCustomTooltip hook for React
- Fixed legend series mark background-color
2.2.6 (2023-06-19)
- fixed legend rendering (176a25d)
2.2.5 (2023-06-02)
main
- Added React + Custom React tooltip examples
- Added
setScales
, dynamic updates and hooks examples
2.2.5 (2023-06-02)
2.2.4 (2023-04-13)
2.2.3 (2022-12-13)
2.2.2 (2022-12-12)
- legend show and hide all button (da98045)
2.2.1 (2022-12-09)
- build dist with new release flow (8da1b5d)
2.2.0 (2022-12-09)
- try fix release flow (516b329)
- Added pass column render options to
series
- Added posibility to render dashed lines
- Updated documentation to meet new major version.
- Make charts adaptive by default.
- All utility helpers (such as
theme
,i18n
,colorParser
) moved intoyagr.utils
. - Removed
refPoints
and simplified scale min/max calculations. - Renamed
toggleSerieVisibility
tosetVisible
, and changed signature tosetVisible(lineId: string | null, show: boolean): void
. - Changed
setFocus
signature tosetFocus(lineId: string | null, focus: boolean): void
.
ColorParser
now is not a singleton and moved intoyagr.utils.colors
.
ThemeDefaults
now is not a singleton and moved intoyagr.utils.theme
.
- Removed
settings
fields. - Refactored
chart
field, now it includes all settings fromsettings
field, and diverged fields by domains.
- All extended
yagr.hooks
now passing consistent{chart: Yagr}
argument to handlers.
- Removed
maxTicks
field. It was never worked.
- Splited different series options by
type
, which allows to enable more comprehensible completions in TypeScript. - Renamed:
InterpolationSetting
->InterpolationType
.
- Removed
setThreshold
(looks like duplicate foraddPlotLines
). - Renamed
addPlotLines
toadd
.
- Added custom Yagr plugins support.
- Added
yagr.setSeries
method which updates/sets series and redraws them. - Added
yagr.setAxes
method which updates/adds axes and redraws them if required. - Added
yagr.setLocale
method which changes locale and redraws all i18n-including elements. - Added
yagr.setTheme
method which changes theme and redraws chart. - Added
yagr,getSeriesById
which returns uPlot'sSeries
type by Yagr's series ID. - Added
yagr.batch
which allows to run multiple changes in single redraw.
- Added
splitsCount
which helps to render axes with given number of splits.
- Add
stage
hook which fires whenyagr.state.stage
changes. - All hooks' types redesigned to support hook arguments completeions.
- Themes now not shared between Yagr instances, they now can be different per instance.
- Added theme customization docs.
- Combined
tooltip.enabled
withtooltip.show
(removedenabled
). - Tooltip now support
.on('<action>', <handler>)
which allows to subsribe on tooltip action emitting insted of singleonStateChange
callback. Also.off
method is available. - Added
yagr.plugins.tooltip.display()
method which allows to display tooltip in given place with given X-axis index programmaticaly.
- Add
updatePoints
method which redraws cursor points in case of series options was changed.
- Add
yagr.plugins.plotLines.get
method which returns current plotlines
- Fixed Yagr ID generation to avoid IDs starting with numbers
- Fixed tooltip's HTML ID generation
- Removed redundant
draw
hook calling onsetFocus(null)
via tooltip
- Exporting hooks's signature typings
- Add new parameter
chart
into theonSelect
hook - use
timeMultiplier
to correctly evaluatefrom
andto
values
- Fixed normalization in case of row sum equals zero
- Properly define logarithmic scale values
- Fixed legend series toggle
- Fixed legend items'
seried-idx
attribute
- Fixed
left
interpolation
- Properly render serie name by escaping html
- Fix a problem with quoted series names
- Store tooltip plugin in
yagr.plugins
for direct access to methods - Unpin and hide tooltip when plot resizing.
- Added
snapToValues = false
for interpolation cursor snapping