- Add capability to input Integer array for x axis
- Fix label name rendering for x and y axis
- (breaking) Pass
options.xAxis
andoptions.yAxis
to correct axis (it was wrong before). - (breaking) Separate font and axis style configuration.
- Align y-axis label properly to not waste space.
- Separate numerical magnitude of axis labels with comma
- Time between two points horizontally is now scaled as their difference in hours and not their difference in days.
- Add
props
attribute tooptions
to allow defining properties on the root<svg>
tag.
- Fix cut of text labels at the border of the graph
- Stop gradient painting over x-axis
- Stop grey lines cutting into x and y-axis
- Fix timezone bug; Library can now be used in PST timezone without problems
- Remove redundant year number from x axis labels
- Add
polygon
andpolygonGradient
options. - Export CommonJS and EcmaScript Modules side-by-side.
- Breaking change: Remove
yDistance
option - Breaking change: Introduce
yNumLabels
option. Internally, add function to scale y label values to the power of ten.
scaleDates
function didn't consider svg width and rendered beyond right border. It was adjusted to consider the width of the svg and scale the input data points accordingly.
scaleDates
function assumed a uniformly distributed range of date data points which lead to temporal distortion of the graph. Distance between data points is now calculated precisely with a data-specific range measurement function (e.g.differenceInDays
from date-fns).
- Release targeted bundles for node14 and browsers (minified)
- Breaking change: Separate
htm
andvhtml
aspeerDependencies
- Switch from
microbundle
toesbuild
- Target node again
- Target node
- Improve axis and line rendering through proper render-order
- Initial release