Releases: huww98/TimeChart
Releases · huww98/TimeChart
v1.0.0-beta.10
- Fixed line render on MacOS
- Update dependencies
v1.0.0-beta.9
What's Changed
- Improved x-axis translation precision
- Zoom with metaKey on macOS by @fast0490f
- plugins_extra: selectZoom: zoom by selecting a rectangle with a pointer. It should work with the original chartZoom plugin. demo
- New
lineType
option: TimeChart can now draw stepped lines, points, or WebGL native lines. And they can be dynamically switched. demo - tooltip:
xFormatter
option. - Major refactor. GPU memory usage is cut down to 1/8.
Breaking
- WebGL1 support is dropped. Mainly affecting Safari <= 14
- tooltip plugin gained its own options object. And the plugin export name is changed to
TimeChartTooltipPlugin
. See readme for more.
New Contributors
- @fast0490f made their first contribution in #52
v1.0.0-beta.7
Fix: the first data point got dropped when it is the only data point in a series.
v1.0.0-beta.6
Support for adding/removing data from both ends
Breaking: Changing data array length by data[3] = {x, y}
or data.length = ...
is not supported now.
v1.0.0-beta.5
- Introduce
renderPadding*
options #24 - Use prototype to provide the default options
v1.0.0-beta.4
- Fix import from webpack 4
- Fix "this.xItem.value is undefined" in tooltip plugin
v1.0.0-beta.3
- New tooltip. Thanks @debevv
- Downgrade TS target version. Now we are compatible with more browsers.
v1.0.0-beta.2
Bug fixes:
- fix import usage. tested with VS Code intellisense,
tsc
, webpackts-loader
New features:
- new plugin events. not enabled by default.
v1.0.0-beta.1
fix import error from webpack
or similar
v1.0.0-beta.0
Plugin system 🎉
Almost all built-in functions are refactored to plugins. Users can enable each one independently. You can also write your own plugins.
Breaking Changes
Although I have done a major refactor, no breaking changes are expected. Please report if you find one.