victory-chart 18.2.0 → 19.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +9 -5
- package/dist/victory-chart.js +17058 -24378
- package/dist/victory-chart.min.js +13 -14
- package/lib/components/containers/brush-helpers.js +7 -4
- package/lib/components/containers/create-container.js +40 -32
- package/lib/components/containers/cursor-helpers.js +48 -0
- package/lib/components/containers/victory-brush-container.js +7 -3
- package/lib/components/containers/victory-cursor-container.js +145 -0
- package/lib/components/containers/victory-selection-container.js +5 -2
- package/lib/components/containers/victory-voronoi-container.js +40 -15
- package/lib/components/containers/victory-zoom-container.js +9 -2
- package/lib/components/containers/zoom-helpers.js +7 -2
- package/lib/components/victory-area/helper-methods.js +2 -1
- package/lib/components/victory-area/victory-area.js +9 -105
- package/lib/components/victory-axis/helper-methods.js +5 -2
- package/lib/components/victory-axis/victory-axis.js +11 -53
- package/lib/components/victory-bar/helper-methods.js +3 -1
- package/lib/components/victory-bar/victory-bar.js +8 -114
- package/lib/components/victory-candlestick/helper-methods.js +2 -1
- package/lib/components/victory-candlestick/victory-candlestick.js +10 -111
- package/lib/components/victory-chart/helper-methods.js +4 -3
- package/lib/components/victory-chart/victory-chart.js +12 -67
- package/lib/components/victory-errorbar/helper-methods.js +1 -1
- package/lib/components/victory-errorbar/victory-errorbar.js +8 -113
- package/lib/components/victory-group/victory-group.js +12 -86
- package/lib/components/victory-line/helper-methods.js +2 -1
- package/lib/components/victory-line/victory-line.js +9 -105
- package/lib/components/victory-scatter/helper-methods.js +1 -1
- package/lib/components/victory-scatter/victory-scatter.js +8 -111
- package/lib/components/victory-stack/victory-stack.js +11 -59
- package/lib/components/victory-voronoi/helper-methods.js +1 -1
- package/lib/components/victory-voronoi/victory-voronoi.js +7 -112
- package/lib/helpers/common-props.js +87 -0
- package/lib/helpers/wrapper.js +2 -1
- package/lib/index.js +9 -7
- package/package.json +14 -14
- package/src/components/containers/brush-helpers.js +37 -34
- package/src/components/containers/create-container.js +52 -43
- package/src/components/containers/cursor-helpers.js +49 -0
- package/src/components/containers/selection-helpers.js +13 -13
- package/src/components/containers/victory-brush-container.js +33 -29
- package/src/components/containers/victory-cursor-container.js +145 -0
- package/src/components/containers/victory-selection-container.js +14 -11
- package/src/components/containers/victory-voronoi-container.js +50 -25
- package/src/components/containers/victory-zoom-container.js +17 -10
- package/src/components/containers/voronoi-helpers.js +9 -9
- package/src/components/containers/zoom-helpers.js +18 -13
- package/src/components/victory-area/helper-methods.js +7 -6
- package/src/components/victory-area/victory-area.js +14 -110
- package/src/components/victory-axis/helper-methods.js +22 -19
- package/src/components/victory-axis/victory-axis.js +15 -57
- package/src/components/victory-bar/helper-methods.js +7 -5
- package/src/components/victory-bar/victory-bar.js +14 -120
- package/src/components/victory-candlestick/helper-methods.js +10 -9
- package/src/components/victory-candlestick/victory-candlestick.js +20 -121
- package/src/components/victory-chart/helper-methods.js +7 -6
- package/src/components/victory-chart/victory-chart.js +24 -79
- package/src/components/victory-errorbar/helper-methods.js +7 -7
- package/src/components/victory-errorbar/victory-errorbar.js +15 -120
- package/src/components/victory-group/victory-group.js +26 -100
- package/src/components/victory-line/helper-methods.js +5 -4
- package/src/components/victory-line/victory-line.js +16 -112
- package/src/components/victory-scatter/helper-methods.js +8 -8
- package/src/components/victory-scatter/victory-scatter.js +11 -114
- package/src/components/victory-stack/victory-stack.js +21 -69
- package/src/components/victory-voronoi/helper-methods.js +3 -3
- package/src/components/victory-voronoi/victory-voronoi.js +10 -115
- package/src/helpers/axis.js +6 -6
- package/src/helpers/common-props.js +89 -0
- package/src/helpers/wrapper.js +10 -9
- package/src/index.js +7 -5
- package/lib/components/victory-voronoi-tooltip/helper-methods.js +0 -100
- package/lib/components/victory-voronoi-tooltip/victory-voronoi-tooltip.js +0 -180
- package/lib/components/victory-zoom/helper-methods.js +0 -48
- package/lib/components/victory-zoom/victory-zoom.js +0 -221
- package/src/components/victory-voronoi-tooltip/helper-methods.js +0 -101
- package/src/components/victory-voronoi-tooltip/victory-voronoi-tooltip.js +0 -180
- package/src/components/victory-zoom/helper-methods.js +0 -49
- package/src/components/victory-zoom/victory-zoom.js +0 -221
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# VictoryChart Changelog
|
|
2
2
|
|
|
3
|
+
## 19.1.1 (2017-05-12)
|
|
4
|
+
|
|
5
|
+
- Export `CursorHelpers`
|
|
6
|
+
|
|
7
|
+
## 19.1.0 (2017-05-12)
|
|
8
|
+
|
|
9
|
+
- [469](https://github.com/FormidableLabs/victory-chart/pull/469) Adds `VictoryCursorContainer`
|
|
10
|
+
- [victory-core/243](https://github.com/FormidableLabs/victory-core/pull/243) Impovements to `VictoryContainer`
|
|
11
|
+
- Automatic `overflow: "visible"` for elements rendered in `VictoryPortal` (tooltips)
|
|
12
|
+
- `VictoryContainer` no longer renders `g` tags (this was causing confusion with evented containers)
|
|
13
|
+
- Default responsive styles are now `width: "100%"` `height: "100%"` (fixes a bug in safari)
|
|
14
|
+
- Changes the merge order for responsive styles so that `width` and `height` attrs may be overridden
|
|
15
|
+
- [468](https://github.com/FormidableLabs/victory-chart/pull/468) Uses new `VictoryContainer` and adds
|
|
16
|
+
`renderInPortal` prop to the default label component rendered by continuous data types (`VictoryLine` and `VictoryArea`) so that labels are not clipped.
|
|
17
|
+
|
|
18
|
+
## 19.0.0 (2017-05-02)
|
|
19
|
+
|
|
20
|
+
**BREAKING CHANGE**
|
|
21
|
+
- Updates to `react@^15.5.0`
|
|
22
|
+
- Uses separate `prop-types` package
|
|
23
|
+
- Projects using Victory must also depend on `prop-types`
|
|
24
|
+
|
|
25
|
+
## 18.2.1 (2017-04-20)
|
|
26
|
+
|
|
27
|
+
- add `RawZoomHelpers` and `makeCreateContainerFunction`
|
|
28
|
+
- `combineContainerMixins` handles arbitrary number of mixins
|
|
29
|
+
- upgrade `victory-core` to get `getSVGEventCoordinates` native support
|
|
30
|
+
|
|
3
31
|
## 18.2.0 (2017-04-04)
|
|
4
32
|
|
|
5
33
|
- Adds `createContainer` for creating containers with multiple behaviors (e.g. Zoom and Voronoi)
|
package/README.md
CHANGED
|
@@ -19,8 +19,11 @@ VictoryChart includes:
|
|
|
19
19
|
## API Documentation
|
|
20
20
|
Detailed documentation and interactive examples can be found at http://formidable.com/open-source/victory/docs/victory-chart
|
|
21
21
|
|
|
22
|
-
##
|
|
23
|
-
|
|
22
|
+
## Requirements
|
|
23
|
+
Projects using Victory should also depend on [React][] and [prop-types][].
|
|
24
|
+
|
|
25
|
+
## Issues
|
|
26
|
+
To make it easier to manage issues across all of Victory, we have disabled issues on this repo. [Please open issues in the main victory repo instead](https://github.com/FormidableLabs/victory/issues). You can track our progress on issues [here](https://github.com/FormidableLabs/victory/projects/1)
|
|
24
27
|
|
|
25
28
|
|
|
26
29
|
## Development
|
|
@@ -36,19 +39,20 @@ $ open http://localhost:3000
|
|
|
36
39
|
$ npm test
|
|
37
40
|
```
|
|
38
41
|
|
|
39
|
-
For more on the development environment, see [DEVELOPMENT](https://github.com/FormidableLabs/builder-victory-component/blob/master/
|
|
42
|
+
For more on the development environment, see [DEVELOPMENT](https://github.com/FormidableLabs/builder-victory-component-dev/blob/master/DEVELOPMENT.md) in the project builder archetype.
|
|
40
43
|
|
|
41
44
|
## Contributing
|
|
42
45
|
|
|
43
46
|
Please review our [Code of Conduct](https://github.com/FormidableLabs/builder-victory-component/blob/master/CONTRIBUTING.md#contributor-covenant-code-of-conduct) before contributing.
|
|
44
47
|
|
|
45
|
-
For a detailed contribution guide, please see [CONTRIBUTING](https://github.com/FormidableLabs/builder-victory-component/blob/master/
|
|
48
|
+
For a detailed contribution guide, please see [CONTRIBUTING](https://github.com/FormidableLabs/builder-victory-component-dev/blob/master/CONTRIBUTING.md) in the project builder archetype.
|
|
46
49
|
|
|
47
50
|
**Caveats** git installs using npm 2 may fail in postinstall. If you are consuming Victory via git installs please use npm >=3.0.0
|
|
48
51
|
|
|
49
52
|
## _IMPORTANT_
|
|
50
53
|
|
|
51
54
|
This project is in a pre-release state. We're hard at work fixing bugs and improving the API. Be prepared for breaking changes!
|
|
52
|
-
|
|
55
|
+
[React]: https://facebook.github.io/react/
|
|
56
|
+
[prop-types]: https://github.com/reactjs/prop-types
|
|
53
57
|
[trav_img]: https://api.travis-ci.org/FormidableLabs/victory-chart.svg
|
|
54
58
|
[trav_site]: https://travis-ci.org/FormidableLabs/victory-chart
|