change history
version 1.0.1 (tooltip clipping issue)
Fixed issue where the tooltip was getting clipped at the top of the plot under certain circumstances.
version 1.0.0 (composability, multi-axes, performance, spline, axes scales, cadence)
- A chart’s configuration in no longer passed as properties of the component, but rather a
<Chart>
is composed by adding components such as axes, tracker, tooltip, and a plot. - Charts can now have two x-axes and two y-axes.
- Continuous numeric axes can have linear, power, or log scales.
- Scatter charts allow setting/updating the spline (interpolation).
- Cleaner updates and performance.
- Now allows setting cadence for plots with sporadic updates so that the time updates smoothly.
- Cleaner approach to resetting a chart.
Examples are updated with new version.
version 0.2.1 (raster chart height fix)
The SVG container height was incorrectly calculated for the raster chart.
version 0.2.0 (responsive, unique svg node ids)
- When the
width
property for theScatterChart
and for theRasterChart
are not specified, and thewidth
is specified as a percentage in the newsvgStyle
properties object, then the width of the chart will remain that percentage of the parent’s width when the user resizes the window. - Updated the SVG node ids so that they remain unique to each instance of a chart type.
version 0.1.0 (pure lib)
Updated project to be a pure library and moved examples, that uses this library, to a separate project.
version 0.0.16 (control timing of subscription)
Previously, the charts subscribed to the rxjs observable upon mounting, and started consuming data. The default behaviour after this update is the same. However, now, using the shouldSubscribe
property, you can control when the chart subscribes to the data.
version 0.0.15 (replaced indexes with maps)
Switched the ChartData
interface to use a map of series names to new series data, rather than relying on indexes. Now a map with the series name and an array of Datum
is all that’s needed to update the chart. This removes the tedious bookkeeping required when using indexes.
version 0.0.14 (reduced size)
Failed attempts
version 0.0.13 (reduced size)
Moved typescript to devDeps, moved react stuff to peerDeps.
version 0.0.12 (reduced size)
Apparently github actions ignores the .npmignore file.
version 0.0.11 (reduced size)
Added .npmignore to exclude images in docs and move deps to devDeps.
version 0.0.10 (removed unused deps)
- Removed unused dependencies
version 0.0.9 (user docs, cleaning, refactoring)
- Added user docs (more to come)
- Refactored a few things to clean up the code
- Cleaned up a few unused props
version 0.0.8 (suppressed warning)
Suppressed react-hook warning about exhaustive deps and added comment describe why this is needed and ok.
version 0.0.7 (updates for npm)
- Added repo information to the package.json for publishing to npm
- Removed the
private
field from package.json
version 0.0.6 (fixed tests, cleaned up radial magnifier)
- Fixed all the test conditions to use
expect
properly :) - Cleaned up the limiting condition for the radial magnifier.
version 0.0.5 (raster magnifier ticks and labels; test)
- Added ticks and labels for the time-axis of the bar-magnifier available in the raster chart.
- Added a number of tests.
version 0.0.4 (bug fixes)
- Fixed raster chart controls so that when the magnifier is selected, and then the tooltip, the tooltip actually shows.
- Cleaned up the raster-chart example
version 0.0.3 (bug fixes)
- Cleaned up a bunch of small bugs related to the selection of enhancements (tooltip, tracker, magnifier).
- Updated the test application style.
version 0.0.2 (basic functionality)
- Added radial magnifier to the scatter chart; has axes in the lens
- Added time to the tracker for the scatter and raster charts
- Added regex filtering of series in the plot to reduce clutter
- Exposed the rxjs observable and update callbacks
- Updated the examples