New major - Pre-release - not production ready
Pre-release
Pre-release
benoitjchevalier
released this
03 Jan 23:42
·
1555 commits
to master
since this release
- Upgrade to d3 4.4.x.
- Scale and axis changes:
- Changed time scale to UTC by default.
- Added timeLocal option for local time
- Greatly improved and simplified how chart extents are calculated:
- chartExtents are now only dev set
- max and mins from the seriesConfig and range pickers go to dataExtents
- scale will use chartExtents directly and fallback on dataExtents if not present. If neither, then looks through data.
- defaultSeriesConfig no longer has default min and maxes
- Threshold changes:
- Added new threshold configuration similar to events
- Changed threshold data property from chartData to thresholdData
- Added improved resize methods to chart behavior
- Added mechanism for redrawing an SVG series on top of others
- Layers
- Added layer generation to chart behavior
- Added ability to generate layers for any svg element dynamically
- modified interaction space so it doesnt clone svg
- modified thresholds so it doesnt clone svg
- Added an additional svg element below the canvas element on svg-canvas
- Fix placement of zoom button
- Changed px-vis-line to px-vis-line-svg for consistency
- Line now spans data undefined gaps by default
- Line will always gap "null" data
- Added showGaps to force it to show gaps for undefined data
- Demo Updates:
- updated demos with v1 changes
- all subcomponents have an API Documentation page
- Added navigatorConfig and ability to configure chart navigator with it
- most px-vis components now only loads basic colors as opposed to basic colors + dataVis colors
- Register Changes:
- Added margin to register height calculation
- Tooltip Changes:
- Added auto-calculated groupings to tooltip based on number of series. Can be overwritten by devs
- Added checks to gridline to ensure it gets the svg height and number-izes margins
- completeSeriesConfig function will now complete and create an empty completeSeriesConfig if an empty seriesConfig is passed in. Allows the deletion of all series from the chart.
- Ensure tooltip calculation are done based on pixel coordinates rather than values for non-time based charts
- Added px-vis-dynamic-menu in register, allowing developers to pass in custom features/function available in a menu in the register through dynamicMenuConfig
- Added panning capability to px-vis-interaction-space