Comparing version 0.13.7 to 0.14.0
# Victory Changelog | ||
## 0.13.7 (2012-11-09) | ||
## 0.14.0 (2016-12-02) | ||
*This may be a breaking change for animating VictoryArea and VictoryLine. Animation behavior is changed.* | ||
- Change how animations behave for continuous data _i.e._ VictoryArea and VictoryLine | ||
- clipPath curtain will never be smaller than the range except during `onLoad` | ||
- Simplify transitions code | ||
- Ensure that animations and transitions use the global timer passed in context or create their own | ||
- Fix `bypassAnimation` bug | ||
- Ensure that clipPath width and height are never negative | ||
## 0.13.7 (2016-11-09) | ||
- Fix timer issues and export VictoryZoom | ||
@@ -76,6 +86,6 @@ | ||
- Adds a `sortKey` prop to `VictoryLine` to allow sorting by fields other than "x" | ||
- Adds a `fixLabelOverlap` boolean prop to `VictoryAxis`. When enables, this feature renders a smaller subset of ticks when the full set of ticks would cause overlapping labels. This feature is currently limited to evenly spaced labels. | ||
- Adds a `fixLabelOverlap` boolean prop to `VictoryAxis`. When enables, this feature renders a smaller subset of ticks when the full set of ticks would cause overlapping labels. This feature is currently limited to evenly spaced labels. | ||
- Fixes a bug related to `bubbleProperty` in `VictoryScatter` | ||
- Allows string data in `VictoryCandlestick` and `VictoryErrorBar` | ||
- Performance optimizations | ||
- Performance optimizations | ||
@@ -118,6 +128,6 @@ ## 0.11.0 (2016-08-18) | ||
**Breaking Changes** | ||
- Default styles and some default props have changed across all components in this release. | ||
- Default styles and some default props have changed across all components in this release. | ||
*VictoryTheme* | ||
- All Victory components support a `theme` prop that can be used to define styles and props across different component types. | ||
- All Victory components support a `theme` prop that can be used to define styles and props across different component types. | ||
- `victory-core` includes the [material theme](https://github.com/FormidableLabs/victory-core/blob/master/src/victory-theme/material.js) | ||
@@ -132,3 +142,3 @@ | ||
*VictoryNative* | ||
- Changes have been made across all components in order to support [victory-native](https://github.com/FormidableLabs/victory-native). `VictoryNative` has an identical API to `Victory`, and reuses most of the code. Changes made to `Victory` to support `VictoryNative` are all non-breaking, and minimal. They include the addition of a `groupComponent` prop in all components (which defaults to `<g>`), removing svg transforms whenever possible in favor of absolute positioning, and code reorganization. | ||
- Changes have been made across all components in order to support [victory-native](https://github.com/FormidableLabs/victory-native). `VictoryNative` has an identical API to `Victory`, and reuses most of the code. Changes made to `Victory` to support `VictoryNative` are all non-breaking, and minimal. They include the addition of a `groupComponent` prop in all components (which defaults to `<g>`), removing svg transforms whenever possible in favor of absolute positioning, and code reorganization. | ||
@@ -147,3 +157,3 @@ *Performance improvements* | ||
- Fixes [bugs related to log scales](https://github.com/FormidableLabs/victory-chart/pull/317) | ||
- Fixes [a bug related to time scales](https://github.com/FormidableLabs/victory-chart/pull/318) | ||
- Fixes [a bug related to time scales](https://github.com/FormidableLabs/victory-chart/pull/318) | ||
- Improves consistency for charts with empty and single value data arrays | ||
@@ -193,5 +203,5 @@ - Removes `reduce-calc-css` as a dependency | ||
{ | ||
childName: "firstBar", // if a child name is not provided, event will be attached to all children. | ||
childName: "firstBar", // if a child name is not provided, event will be attached to all children. | ||
target: "data", // what type of element to attach to. Matches the style namespaces | ||
eventKey: 1, // What event key of element to attach to. Defaults to the index in data. | ||
eventKey: 1, // What event key of element to attach to. Defaults to the index in data. | ||
eventHandlers: { | ||
@@ -202,3 +212,3 @@ onClick: () => { | ||
// props here are the props that define the targeted component i.e. what is passed to an individual bar | ||
mutation: (props) => { | ||
mutation: (props) => { | ||
return {style: merge({}, props.style, {fill: "blue"})}; // Whatever is returned here will override the existing props | ||
@@ -205,0 +215,0 @@ } |
{ | ||
"name": "victory", | ||
"version": "0.13.7", | ||
"version": "0.14.0", | ||
"description": "Data viz for React", | ||
@@ -35,5 +35,5 @@ "keywords": [ | ||
"dependencies": { | ||
"victory-chart": "^13.2.2", | ||
"victory-core": "^9.2.2", | ||
"victory-pie": "^7.1.1" | ||
"victory-chart": "^14.0.0", | ||
"victory-core": "^10.0.0", | ||
"victory-pie": "^7.2.0" | ||
}, | ||
@@ -40,0 +40,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1463640
28244
+ Addedvictory-chart@14.0.4(transitive)
- Removedvictory-chart@13.2.4(transitive)
- Removedvictory-core@9.2.4(transitive)
Updatedvictory-chart@^14.0.0
Updatedvictory-core@^10.0.0
Updatedvictory-pie@^7.2.0