Releases: crisislab-platform/TimeLine
@crisislab/timeline@0.11.2
Patch changes
- Fixed issues with axis scale numbers sometimes overlapping axis labels
Full Changelog: https://github.com/crisislab-platform/TimeLine/compare/@crisislab/timeline@0.11.1...@crisislab/timeline@0.11.2
@crisislab/timeline@0.11.1
Minor changes/additions
- You can now pass a
Date
object as thetime
value for data points. Once TypeScript supportsTemporal
, I'll addTemporal.Instant
s as well.
Patch changes
- Moved value axis text above marker ticks to avoid overlap with time axis text
- Chart borders & plugins now render even if there isn't enough data to draw a line
- Padding for axis & axis label plguins has been tidied up
Full Changelog: https://github.com/crisislab-platform/TimeLine/compare/@crisislab/timeline@0.11.0...@crisislab/timeline@0.11.1
@crisislab/timeline@0.11.0
Minor changes/additions
- The
timeWindow
option is now optional. If unspecified, it gets set toInfinity
, and the chart will try to render all the data points provided to it, scaling them to fill the whole canvas. This behaviour can also be achieved by passingtimeWindow: Infinity
.
Full Changelog: https://github.com/crisislab-platform/TimeLine/compare/@crisislab/timeline@0.10.0...@crisislab/timeline@0.11.0
@crisislab/timeline@0.10.0
Major / breaking changes
- Improved default formatting methods for time and value axes
- Time markers are now aligned to the right instead of the left
Minor changes / additions
- There is a new plugin hook
"calculate-positions"
. It's called on setup and on resize. You should do all your layout calculations in here rather than in"construct"
.
Patch changes
- Time markers won't overlap when the window is resized
Full Changelog: https://github.com/crisislab-platform/TimeLine/compare/@crisislab/timeline@0.9.1...@crisislab/timeline@0.10.0
@crisislab/timeline@0.9.1
Patch changes
- Fixed overlapping time-axis labels
Full Changelog: https://github.com/crisislab-platform/TimeLine/compare/@crisislab/timeline@0.9.0...@crisislab/timeline@0.9.1
@crisislab/timeline@0.9.0
Major / breaking changes
- The raw data for a point has been changed to have more useful names
x
changed totime
y
changed tovalue
xAxisPlugin
is nowtimeAxisPlugin
andyAxisPlugin
is nowvalueAxisPlugin
- The CSS classes for axis labels have changed to
crisislab-timeline-time-axis
andcrisislab-timeline-value-axis
- The options
xLabel
andyLabel
have becometimeAxisLabel
andvalueAxisLabel
- The internal
renderX
andrenderY
are still the same because those names make sense - The
Point
interface has been replaced byTimeLineDataPoint
andPlainPoint
- The option
timeWindow
replacesmaxPoints
. Time-data (x-data) is now calculated more correctly using timestamps rather than point-count. - You no longer need to call
chart.draw()
each frame - the chart will keep itself up-to-date. You still need to tell the graph when to process new data viachart.recompute()
though. - There is now a demo site: https://crisislab-timeline.pages.dev/examples/
Full Changelog: https://github.com/crisislab-platform/TimeLine/compare/@crisislab/timeline@0.8.5...@crisislab/timeline@0.9.0
@crisislab/timeline@0.8.5
- Fixes a bad build with the previous publish (@crisislab/timeline@0.8.4)
@crisislab/timeline@0.8.4
Minor changes
- You can now choose to position the x-axis on the top or bottom of the chart
- You can now choose to position the y-axis on the left or right of the chart\
Full Changelog: https://github.com/cirsislab-platform/TimeLine/compare/@crisislab/timeline@0.8.3...@crisislab/timeline@0.8.4
@crisislab/timeline@0.8.3
Patch changes
- Fixed issue with points somethings being out of frame by a pixel
Full Changelog: https://github.com/rs-Web-Interface-CRISiSLab/TimeLine/compare/@crisislab/timeline@0.8.0...@crisislab/timeline@0.8.3
@crisislab/timeline@0.8.0
@crisislab/timeline@0.8.0
Minor changes
- Chart now track mouse position, relative mouse position, and whether the mouse is over the chart – plugins can just use this info instead of tracking it themselves
- The
getNearestPoint
function now has several strategies for finding the nearest point
Patch changes
- Fixed hover-based plugins showing when mouse moved off the window.