Releases: openmhealth/web-visualizations
Releases · openmhealth/web-visualizations
v1.2.1
v1.2.0
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 theoptions
argument. This is useful, for example, for removing thresholds when they are not wanted. - Clones the
data
argument inOMHWebVisualizations.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
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
A minor update recommended for all users of the library.
- updates Plottable.js to version
^1.10.0
in Bower
v1.1.0
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.