Skip to content

Releases: crisislab-platform/TimeLine

@crisislab/timeline@0.11.2

28 May 12:09
Compare
Choose a tag to compare

@crisislab/timeline@0.11.1

30 Jan 23:58
Compare
Choose a tag to compare

Minor changes/additions

  • You can now pass a Date object as the time value for data points. Once TypeScript supports Temporal, I'll add Temporal.Instants 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

30 Jan 22:02
Compare
Choose a tag to compare

Minor changes/additions

  • The timeWindow option is now optional. If unspecified, it gets set to Infinity, 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 passing timeWindow: 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

29 Jan 22:18
Compare
Choose a tag to compare

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

28 Jan 21:29
Compare
Choose a tag to compare

@crisislab/timeline@0.9.0

25 Jan 23:55
Compare
Choose a tag to compare

Major / breaking changes

  • The raw data for a point has been changed to have more useful names
    • x changed to time
    • y changed to value
    • xAxisPlugin is now timeAxisPlugin and yAxisPlugin is now valueAxisPlugin
    • The CSS classes for axis labels have changed to crisislab-timeline-time-axis and crisislab-timeline-value-axis
    • The options xLabel and yLabel have become timeAxisLabel and valueAxisLabel
    • The internal renderX and renderY are still the same because those names make sense
    • The Point interface has been replaced by TimeLineDataPoint and PlainPoint
  • The option timeWindow replaces maxPoints. 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 via chart.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

17 Jan 01:34
Compare
Choose a tag to compare
  • Fixes a bad build with the previous publish (@crisislab/timeline@0.8.4)

@crisislab/timeline@0.8.4

17 Jan 01:27
Compare
Choose a tag to compare

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

17 Dec 20:24
Compare
Choose a tag to compare

@crisislab/timeline@0.8.0

29 Jul 21:31
Compare
Choose a tag to compare

@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.