Releases: predixdesignsystem/px-vis
Releases · predixdesignsystem/px-vis
BETA
- cancel tooltip calculation when mouse leaves the chart, avoiding scenarios where the tooltip would appear after the mouse left
- ensure zomming in/out works with 'timeLocal' axis
- tickFormat on axis now causes axis to redraw
- fixed various typos in interaction space
- implemented px-number-formatter for register
- separated labelTypeSize from axisConfig
- changed event config - made line config part of it
- made axis size and number properties public
- added "reset" flag to px-vis-zoomed event
- fix console error when clicking on interaction space with zooming on
- fix chart navigator brush bug and make it redraw properly on size change
- Moved showThresholdBox and displayTitle to thresholdConfig
- improve axis drawing time
- improve scale updating
- improve multi axis drawing time
BETA - not production ready
- Upgrade to d3 4.4.x.
- Scale and axis changes:
- Changed time scale to UTC by default.
- Added timeLocal option for local time
- Moved Scale into a behavior
- scale now a simple wrapper around behavior
- 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
- defaultSeriesConfig now updates _defaultSeriesConfig so defaultSeriesConfig doesnt have to have all defaults
- Threshold changes:
- Added new threshold configuration similar to events
- Changed threshold data property from chartData to thresholdData
- Simplified threshold component removing the need for the x scale
- 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
- 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 actionConfig to px-vis-interaction-space, allowing to define custom interaction on chart hover or click for example
- Added panning capability to px-vis-interaction-space. Please note that when panning a chart with ordinal axes it is not possible to pan past those axes.
- Added panning capability to px-vis-interaction-space
- Enabled top and right axes
- Events
- Fixed event clip path to respect a right axis
- Simplified event component removing the need for the y scale
- Enabled configuration of the line
- Multi Axis:
- added support for multi axes via multiAxes behavior
- Many changes to components for support
- Modifications to px-vis-multi-axis for more flexibility
- Added px-vis-toolbar
- Toolbar items are configurable and each item can have:
- a tooltip label
- a title
- an event name (fired on click)
- a function run on click
- an actionConfig used by px-vis-interaction space, allowing interactions on chart hover and click for example
- an icon
- a set of sub items which will be displayed in the "secondary" toolbar below when the item is clicked
- Default actions of "zoom", "pan" and "tooltip" can be passed directly in the config
- Custom defined functions can also be used in the actionConfig
- Toolbar items are configurable and each item can have:
- Removed px-vis-zoom and provide the PxVisBehaviorChart.zooming behavior for charts instead
- Added 'zoom in' and 'zoom out' buttons in zoom controls
- changing ghp.sh to account for Alpha releases
v1.0.0-alpha.1
Merge branch 'master' of https://github.com/PredixDev/px-vis
New major - Pre-release - not production ready
- 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
v0.7.1
Fixes register scrollbar issues for Firefox and IE.
This does NOT fix register issues with large number of tags for Safari 9. That is due to a flex bug and is filed under wont fix for the time being.
v0.7.0
This release adds / fixes many issues in px-vis:
- ensures timeseries rendering to canvas with multiple lines are not cut off
- added PxVisBehaviorChart.chartCommonMethods
- made includeAllSeries loop over all data
- added clip path to cursor
- added cursor config to chart behavior
- modified how cursor lines are calculated
- Added scrollbars and styling to registers when there are too many series to fit
- Added ability to specify multiple columns to register
- Added ability to use multi column register in tooltip
- Added ability to draw a legend in the image exporter
- added preserveDataOrder for px-vis-pie
- fixed issues with px-vis-pie updates/addition/deletion
v0.6.30
- Fix intermittent bug in IE when drawing an image on a canvas within an image load
- Added timeData to px-vis-interaction-space so that non time based charts can use forceDateTimeDisplay on their register/tooltip
Fix typo in px-vis-pie
v0.1.17 Bump version
Improve donut pie transitioning
v0.1.3 version bump
Fix tooltip positioning
v0.0.7 Fix tooltip positioning