Skip to content

Releases: openmhealth/web-visualizations

v1.2.1

06 Jan 20:20
Compare
Choose a tag to compare

This release improves tooltip reliability and adds support for:

  • Optional axis visibility
  • Improved thresholds with labels based on Plottable.js Gridlines

These updates resolve issue #6

v1.2.0

22 Dec 00:55
Compare
Choose a tag to compare

This release is a recommended update for all users. It includes a number of updates:

  • Merges in @tleguijt's pull request (#3) to remove the jQuery dependency
  • Slightly restructures the library internally, with a new Utils submodule for utilities
  • Adds unit tests for the Utils.mergeObjects() function
  • Allows default configuration settings to be deleted by setting them to undefined in the options argument. This is useful, for example, for removing thresholds when they are not wanted.
  • Clones the data argument in OMHWebVisualizations.Chart(data, $element, measureList, configOptions) before parsing, so that the data points are not modified by the parsing function.
  • Adds sample code for chart customization and interaction.
  • Fixes rendering of data points that don't have time intervals in their duration (#5).
  • Adds a Chart.initialized property to expose whether chart construction was successful.
  • Updates Plottable.js to v2.0.0.

Migrating

The toolbar property returned by getComponents() is now a D3 selection, rather than a jQuery object. This is a minor breaking change for anyone using that object.

v1.1.2

14 Oct 23:22
Compare
Choose a tag to compare

This release makes it possible to tune quantization variables, which were previously not accessible.

  • adds quantization variables on the library scope
    • OMHWebVisualizations.QUANTIZE_YEAR
    • OMHWebVisualizations.QUANTIZE_MONTH
    • OMHWebVisualizations.QUANTIZE_DAY
    • OMHWebVisualizations.QUANTIZE_HOUR
    • OMHWebVisualizations.QUANTIZE_MINUTE
    • OMHWebVisualizations.QUANTIZE_SECOND
    • OMHWebVisualizations.QUANTIZE_MILLISECOND
    • OMHWebVisualizations.QUANTIZE_NONE
  • updates charts.htm example to demonstrate quantization configuration options

v1.1.1

10 Sep 16:31
Compare
Choose a tag to compare

A minor update recommended for all users of the library.

  • updates Plottable.js to version ^1.10.0 in Bower

v1.1.0

25 Aug 02:42
Compare
Choose a tag to compare

This release helps make the code more testable and easier to customize. It's a recommended update for all users.

  • adds the ability to get the chart's Plottable.js components
  • separates and exposes some data parsing functions
  • updates the example to show the new changes

Migrating

This version requires that you render the chart in a separate call after construction, see the README for details.

v1.0.0

19 Aug 14:52
Compare
Choose a tag to compare

Our first release of the web visualizations library. This release includes generic line and bar charts, and customized charts for

  • body weight
  • heart rate
  • blood pressure
  • physical activity