Skip to content

Latest commit

 

History

History
755 lines (360 loc) · 28 KB

CHANGELOG.md

File metadata and controls

755 lines (360 loc) · 28 KB

master

4.3.5 (2024-11-05)

Bug Fixes

4.3.4 (2024-10-07)

Bug Fixes

4.3.3 (2024-09-27)

Bug Fixes

  • bug with focus in stacking column chart (#222) (c04ac11)

4.3.2 (2024-09-19)

Bug Fixes

4.3.1 (2024-08-13)

Bug Fixes

4.3.0 (2024-04-09)

Features

Bug Fixes

  • fixed series transform for non stacked areas (#214) (211c653)

4.2.4 (2024-03-27)

Bug Fixes

4.2.3 (2024-01-29)

Bug Fixes

4.2.2 (2024-01-26)

Bug Fixes

  • fixed points rendering for devices with DPR < 2 (#207) (af61f6e)

4.2.1 (2024-01-24)

Bug Fixes

  • fixed fully redrawing updates in .setSeries (#205) (e86f2cd)

4.2.0 (2024-01-18)

Features

  • added 'dispose' stage and fixed legend discard when chart is updating (#203) (990c965)

4.1.1 (2024-01-17)

Bug Fixes

  • fixed chart updatewhen legend changes (700cfce)

4.1.0 (2023-12-26)

Features

  • adding tooltip.showEmpty to allow show tooltip when there's no data (#199) (83b66ee)

4.0.4 (2023-12-25)

Bug Fixes

  • fixed tooltip positioning when synced with different scale (#196) (100c472)

4.0.3 (2023-12-11)

Bug Fixes

  • added option serieIndicies to CustomTrackingFunctionOptions (#193) (79fcc3e)

4.0.2 (2023-12-11)

Bug Fixes

  • fixed inifinite loop in series traverse in tooltip's setCursor (#191) (f7c0b2e)

4.0.1 (2023-12-04)

Bug Fixes

  • fixed plotlines updates on uplot change (#189) (ca268da)

4.0.0 (2023-11-27)

⚠ BREAKING CHANGES

  • bump version (#187)

Features

3.11.4 (2023-11-22)

Bug Fixes

  • persist subsribe state on full update (#184) (b0721d9)

3.11.3 (2023-11-21)

Bug Fixes

  • persist cursor position on full update (#182) (939e29b)

3.11.2 (2023-11-17)

Bug Fixes

  • fixed react component to drop ref on disposing (#179) (c419cb9)

3.11.1 (2023-11-08)

Bug Fixes

  • fixed tooltip render on pin with empty data (#176) (52a0847)

3.11.0 (2023-10-23)

Features

  • added options for custom tooltip tracking fn (#171) (03697d0)

Bug Fixes

3.10.6 (2023-10-10)

Bug Fixes

  • fixed tooltip render when a lot of lines (#168) (8fff973)

3.10.5 (2023-10-09)

Bug Fixes

3.10.4 (2023-10-05)

Bug Fixes

  • fixed width and height of plotlines for filling full rect (#164) (a6e94c6)

3.10.3 (2023-10-05)

Bug Fixes

  • 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)

Bug Fixes

  • changed legends totalSpace calculation formula (#159) (900193c)

3.10.1 (2023-09-30)

Bug Fixes

  • set option "updateLegend" to false in "extended" behaviour (#157) (7f5d065)

3.10.0 (2023-09-28)

Features

  • added 'extended' legends item onClick behaviour (#154) (13e19d3)

3.9.0 (2023-09-27)

Features

  • added tooltip.omitBy option to omit arbitrary line from tooltip by predicate (#152) (735e62b)

3.8.1 (2023-09-15)

Bug Fixes

  • fixed cursor points updating on series update (#147) (1185d21)

3.8.0 (2023-09-11)

Features

3.7.13 (2023-09-05)

Bug Fixes

  • forced plot bands to draw only inside plotting area (#140) (72839b1)

3.7.12 (2023-08-31)

Bug Fixes

3.7.11 (2023-08-26)

Bug Fixes

  • fixed common spanGaps option passing (#130) (b71905f)

3.7.10 (2023-08-23)

Bug Fixes

3.7.9 (2023-08-18)

Bug Fixes

3.7.8 (2023-08-15)

Bug Fixes

  • fixed tooltip pin/unpin for all strategies (#131) (f1d5c28)

3.7.7 (2023-08-10)

Bug Fixes

3.7.6 (2023-08-09)

Bug Fixes

  • fixed plotlines removes, update bug with cached uHook (#125) (9709797)

3.7.5 (2023-08-03)

Bug Fixes

3.7.4 (2023-08-02)

Bug Fixes

  • fixed cursor pin in case if uplot not rendered yet (#121) (3b7e58c)

3.7.3 (2023-08-01)

Bug Fixes

3.7.2 (2023-07-31)

Bug Fixes

3.7.1 (2023-07-28)

Bug Fixes

3.7.0 (2023-07-24)

Features

3.6.1 (2023-07-21)

Bug Fixes

3.6.0 (2023-07-17)

Features

  • add new tooltip actions + reset method (#104) (f02c3e8)
  • added hard-update option for setConfig and react component (#105) (104334f)

Bug Fixes

3.5.5 (2023-07-13)

Bug Fixes

3.5.4 (2023-07-13)

Bug Fixes

3.5.3 (2023-07-13)

Bug Fixes

  • fixed pinning tooltip on range selection (#98) (2762387)

3.5.2 (2023-07-13)

Bug Fixes

  • fixed typings for tooltip and plotLines (#96) (fe2f59b)

3.5.1 (2023-07-12)

Bug Fixes

3.5.0 (2023-07-12)

Features

  • added tooltip pin strategy + fixed dynamic updates of dot-series (#92) (3babd4b)

3.4.1 (2023-07-11)

Bug Fixes

3.4.0 (2023-07-10)

Features

  • added .setTitle method, subscription state, data refs and range tracking (8fbbb5c)

3.3.6 (2023-07-10)

Bug Fixes

  • dynamic-updates: fixed series options override (#86) (9fdd83e)

3.3.5 (2023-07-06)

Bug Fixes

  • removed redundant reinit after full update + fixed batch series update (#84) (5f181ec)

3.3.4 (2023-07-05)

Bug Fixes

  • fixed dynamic updates of series in case if changed only data (#82) (9ff1979)

3.3.3 (2023-07-05)

Bug Fixes

3.3.2 (2023-07-04)

Bug Fixes

3.3.1 (2023-07-02)

Bug Fixes

  • fixed initRender to support updates without legend dom node change (c8810d6)

3.3.0 (2023-06-30)

Features

3.2.1 (2023-06-30)

Bug Fixes

3.2.0 (2023-06-23)

Features

3.1.0 (2023-06-23)

Features

  • added single-ton tooltip, fixed package config (55ffc2b)

Bug Fixes

  • remove tooltip handlers on dispose + don't reiniit hooks (a33f666)
  • removed redundant typings and .d.ts reexporter (cb291bd)

3.0.0 (2023-06-21)

Configuratoin

  • Fixed typo appereance -> appearance in YagrConfig['chart']

Refactor

  • 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

Scales

  • Fixed setVisible method for stacked areas

Methods

  • Removed workaround to fix uPlot issue in setVisible method
  • Added setScales method
  • Added generic setConfig method. Currently in expriemental mode

Tooltip

  • Fixed tooltip render initial position (now it renders in boundClassName element)
  • Added virtual tooltip mode
  • Added useCustomTooltip hook for React

Legend

  • Fixed legend series mark background-color

2.2.6 (2023-06-19)

Bug Fixes

2.2.5 (2023-06-02)

main

Examples

  • Added React + Custom React tooltip examples
  • Added setScales, dynamic updates and hooks examples

2.2.5 (2023-06-02)

Bug Fixes

2.2.4 (2023-04-13)

Bug Fixes

  • change background color in case of dark-hc theme (#53) (a647216)

2.2.3 (2022-12-13)

Bug Fixes

2.2.2 (2022-12-12)

Bug Fixes

  • legend show and hide all button (da98045)

2.2.1 (2022-12-09)

Bug Fixes

  • build dist with new release flow (8da1b5d)

2.2.0 (2022-12-09)

Features

Bug Fixes

2.1.0 (08-12-2022)

Column Series

  • Added pass column render options to series

PlotLines

  • Added posibility to render dashed lines

2.0.0 (19-04-2022)

Documentation

  • Updated documentation to meet new major version.

Breaking changes

Yagr instances
  • Make charts adaptive by default.
  • All utility helpers (such as theme, i18n, colorParser) moved into yagr.utils.
  • Removed refPoints and simplified scale min/max calculations.
  • Renamed toggleSerieVisibility to setVisible, and changed signature to setVisible(lineId: string | null, show: boolean): void.
  • Changed setFocus signature to setFocus(lineId: string | null, focus: boolean): void.
ColorParser
  • ColorParser now is not a singleton and moved into yagr.utils.colors.
ThemeDefaults
  • ThemeDefaults now is not a singleton and moved into yagr.utils.theme.
Config
  • Removed settings fields.
  • Refactored chart field, now it includes all settings from settings field, and diverged fields by domains.
Hooks
  • All extended yagr.hooks now passing consistent {chart: Yagr} argument to handlers.
Scales
  • Removed maxTicks field. It was never worked.
Typings
  • Splited different series options by type, which allows to enable more comprehensible completions in TypeScript.
  • Renamed: InterpolationSetting -> InterpolationType.
PlotLines
  • Removed setThreshold (looks like duplicate for addPlotLines).
  • Renamed addPlotLines to add.

New features

Config
  • Added custom Yagr plugins support.
Yagr methods
  • 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's Series type by Yagr's series ID.
  • Added yagr.batch which allows to run multiple changes in single redraw.
Axes
  • Added splitsCount which helps to render axes with given number of splits.
Hooks
  • Add stage hook which fires when yagr.state.stage changes.
  • All hooks' types redesigned to support hook arguments completeions.
Theme
  • Themes now not shared between Yagr instances, they now can be different per instance.
  • Added theme customization docs.
Tooltip
  • Combined tooltip.enabled with tooltip.show (removed enabled).
  • Tooltip now support .on('<action>', <handler>) which allows to subsribe on tooltip action emitting insted of single onStateChange 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.
Cursor
  • Add updatePoints method which redraws cursor points in case of series options was changed.
PlotLines
  • Add yagr.plugins.plotLines.get method which returns current plotlines

Fixes

Yagr

  • Fixed Yagr ID generation to avoid IDs starting with numbers

Tooltip

  • Fixed tooltip's HTML ID generation
  • Removed redundant draw hook calling on setFocus(null) via tooltip

1.4.1 (15-03-2022)

  • Exporting hooks's signature typings

1.4.0 (11-02-2022)

Hooks

  • Add new parameter chart into the onSelect hook
  • use timeMultiplier to correctly evaluate from and to values

1.3.8 (26-01-2022)

Processing

  • Fixed normalization in case of row sum equals zero

1.3.7 (21-12-2021)

Scales

  • Properly define logarithmic scale values

Legend

  • Fixed legend series toggle

1.3.6 (02-12-2021)

Legend

  • Fixed legend items' seried-idx attribute

1.3.5 (30-11-2021)

Processing

  • Fixed left interpolation

1.3.4 (13-10-2021)

Tooltip

  • Properly render serie name by escaping html

Legend

  • Fix a problem with quoted series names

1.3.3 (11-10-2021)

Tooltip

  • Store tooltip plugin in yagr.plugins for direct access to methods
  • Unpin and hide tooltip when plot resizing.

Processing

  • Added snapToValues = false for interpolation cursor snapping