@antv/g2 5.0.10 → 5.0.12
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 +178 -0
- package/dist/g2-lite.min.js +3 -3
- package/dist/g2.min.js +3 -3
- package/esm/api/chart.d.ts +1 -0
- package/esm/api/chart.js +5 -1
- package/esm/api/chart.js.map +1 -1
- package/esm/api/composition/geoPath.d.ts +1 -0
- package/esm/api/composition/geoPath.js +1 -0
- package/esm/api/composition/geoPath.js.map +1 -1
- package/esm/api/mark/index.d.ts +5 -1
- package/esm/api/mark/index.js +3 -1
- package/esm/api/mark/index.js.map +1 -1
- package/esm/api/mark/mark.d.ts +13 -1
- package/esm/api/mark/mark.js +18 -0
- package/esm/api/mark/mark.js.map +1 -1
- package/esm/api/node.d.ts +1 -0
- package/esm/api/node.js +5 -1
- package/esm/api/node.js.map +1 -1
- package/esm/api/utils.d.ts +1 -1
- package/esm/api/utils.js +11 -6
- package/esm/api/utils.js.map +1 -1
- package/esm/component/axis.js +2 -1
- package/esm/component/axis.js.map +1 -1
- package/esm/component/scrollbar.js +8 -5
- package/esm/component/scrollbar.js.map +1 -1
- package/esm/composition/facetRect.js +13 -17
- package/esm/composition/facetRect.js.map +1 -1
- package/esm/data/index.d.ts +2 -0
- package/esm/data/index.js +1 -0
- package/esm/data/index.js.map +1 -1
- package/esm/data/utils/venn/circleintersection.d.ts +33 -0
- package/esm/data/utils/venn/circleintersection.js +192 -0
- package/esm/data/utils/venn/circleintersection.js.map +1 -0
- package/esm/data/utils/venn/diagram.d.ts +2 -0
- package/esm/data/utils/venn/diagram.js +44 -0
- package/esm/data/utils/venn/diagram.js.map +1 -0
- package/esm/data/utils/venn/index.d.ts +5 -0
- package/esm/data/utils/venn/index.js +6 -0
- package/esm/data/utils/venn/index.js.map +1 -0
- package/esm/data/utils/venn/layout.d.ts +27 -0
- package/esm/data/utils/venn/layout.js +607 -0
- package/esm/data/utils/venn/layout.js.map +1 -0
- package/esm/data/venn.d.ts +7 -0
- package/esm/data/venn.js +34 -0
- package/esm/data/venn.js.map +1 -0
- package/esm/geo/geoPath.js +2 -1
- package/esm/geo/geoPath.js.map +1 -1
- package/esm/interaction/brushAxisHighlight.d.ts +5 -3
- package/esm/interaction/brushAxisHighlight.js +126 -12
- package/esm/interaction/brushAxisHighlight.js.map +1 -1
- package/esm/interaction/brushHighlight.js +6 -5
- package/esm/interaction/brushHighlight.js.map +1 -1
- package/esm/interaction/elementHighlight.d.ts +2 -2
- package/esm/interaction/elementHighlight.js +40 -6
- package/esm/interaction/elementHighlight.js.map +1 -1
- package/esm/interaction/elementHighlightByColor.d.ts +1 -1
- package/esm/interaction/elementHighlightByX.d.ts +1 -1
- package/esm/interaction/elementSelect.d.ts +2 -2
- package/esm/interaction/elementSelect.js +42 -13
- package/esm/interaction/elementSelect.js.map +1 -1
- package/esm/interaction/elementSelectByColor.d.ts +1 -1
- package/esm/interaction/elementSelectByX.d.ts +1 -1
- package/esm/interaction/event.js +5 -2
- package/esm/interaction/event.js.map +1 -1
- package/esm/interaction/index.d.ts +1 -0
- package/esm/interaction/index.js +1 -0
- package/esm/interaction/index.js.map +1 -1
- package/esm/interaction/legendFilter.js +42 -13
- package/esm/interaction/legendFilter.js.map +1 -1
- package/esm/interaction/legendHighlight.d.ts +1 -1
- package/esm/interaction/legendHighlight.js +53 -15
- package/esm/interaction/legendHighlight.js.map +1 -1
- package/esm/interaction/scrollbarFilter.d.ts +2 -0
- package/esm/interaction/scrollbarFilter.js +25 -0
- package/esm/interaction/scrollbarFilter.js.map +1 -0
- package/esm/interaction/sliderFilter.d.ts +1 -1
- package/esm/interaction/sliderFilter.js +75 -19
- package/esm/interaction/sliderFilter.js.map +1 -1
- package/esm/interaction/tooltip.js +2 -2
- package/esm/interaction/tooltip.js.map +1 -1
- package/esm/interaction/utils.d.ts +1 -0
- package/esm/interaction/utils.js +3 -0
- package/esm/interaction/utils.js.map +1 -1
- package/esm/mark/area.js +7 -3
- package/esm/mark/area.js.map +1 -1
- package/esm/mark/heatmap.d.ts +7 -0
- package/esm/mark/heatmap.js +36 -0
- package/esm/mark/heatmap.js.map +1 -0
- package/esm/mark/index.d.ts +2 -0
- package/esm/mark/index.js +1 -0
- package/esm/mark/index.js.map +1 -1
- package/esm/mark/line.js +1 -1
- package/esm/mark/line.js.map +1 -1
- package/esm/mark/text.js +0 -2
- package/esm/mark/text.js.map +1 -1
- package/esm/mark/utils.d.ts +1 -0
- package/esm/mark/utils.js +1 -1
- package/esm/mark/utils.js.map +1 -1
- package/esm/runtime/plot.js +13 -10
- package/esm/runtime/plot.js.map +1 -1
- package/esm/runtime/render.d.ts +2 -2
- package/esm/runtime/render.js +7 -3
- package/esm/runtime/render.js.map +1 -1
- package/esm/runtime/scale.js +41 -12
- package/esm/runtime/scale.js.map +1 -1
- package/esm/runtime/transform.js +12 -9
- package/esm/runtime/transform.js.map +1 -1
- package/esm/runtime/types/component.d.ts +2 -2
- package/esm/runtime/types/options.d.ts +6 -0
- package/esm/shape/heatmap/heatmap.d.ts +4 -0
- package/esm/shape/heatmap/heatmap.js +70 -0
- package/esm/shape/heatmap/heatmap.js.map +1 -0
- package/esm/shape/heatmap/renderer/gradient.d.ts +5 -0
- package/esm/shape/heatmap/renderer/gradient.js +13 -0
- package/esm/shape/heatmap/renderer/gradient.js.map +1 -0
- package/esm/shape/heatmap/renderer/index.d.ts +6 -0
- package/esm/shape/heatmap/renderer/index.js +122 -0
- package/esm/shape/heatmap/renderer/index.js.map +1 -0
- package/esm/shape/heatmap/renderer/types.d.ts +36 -0
- package/esm/shape/heatmap/renderer/types.js +2 -0
- package/esm/shape/heatmap/renderer/types.js.map +1 -0
- package/esm/shape/image/image.js +8 -3
- package/esm/shape/image/image.js.map +1 -1
- package/esm/shape/index.d.ts +4 -0
- package/esm/shape/index.js +2 -0
- package/esm/shape/index.js.map +1 -1
- package/esm/shape/interval/color.d.ts +8 -0
- package/esm/shape/interval/color.js +19 -8
- package/esm/shape/interval/color.js.map +1 -1
- package/esm/shape/interval/rect.d.ts +10 -1
- package/esm/shape/interval/rect.js.map +1 -1
- package/esm/shape/line/trail.d.ts +3 -0
- package/esm/shape/line/trail.js +74 -0
- package/esm/shape/line/trail.js.map +1 -0
- package/esm/shape/path/color.js +5 -3
- package/esm/shape/path/color.js.map +1 -1
- package/esm/spec/component.d.ts +1 -1
- package/esm/spec/composition.d.ts +9 -6
- package/esm/spec/dataTransform.d.ts +24 -2
- package/esm/spec/mark.d.ts +2 -1
- package/esm/stdlib/index.js +6 -6
- package/esm/stdlib/index.js.map +1 -1
- package/esm/utils/lru.d.ts +4 -0
- package/esm/utils/lru.js +18 -0
- package/esm/utils/lru.js.map +1 -0
- package/esm/utils/number.d.ts +4 -0
- package/esm/utils/number.js +7 -0
- package/esm/utils/number.js.map +1 -0
- package/esm/utils/scale.d.ts +2 -1
- package/esm/utils/scale.js +30 -11
- package/esm/utils/scale.js.map +1 -1
- package/esm/utils/vector.d.ts +1 -0
- package/esm/utils/vector.js +3 -0
- package/esm/utils/vector.js.map +1 -1
- package/lib/api/chart.d.ts +1 -0
- package/lib/api/chart.js +5 -1
- package/lib/api/chart.js.map +1 -1
- package/lib/api/composition/geoPath.d.ts +1 -0
- package/lib/api/composition/geoPath.js +1 -0
- package/lib/api/composition/geoPath.js.map +1 -1
- package/lib/api/mark/index.d.ts +5 -1
- package/lib/api/mark/index.js +2 -0
- package/lib/api/mark/index.js.map +1 -1
- package/lib/api/mark/mark.d.ts +13 -1
- package/lib/api/mark/mark.js +19 -1
- package/lib/api/mark/mark.js.map +1 -1
- package/lib/api/node.d.ts +1 -0
- package/lib/api/node.js +5 -1
- package/lib/api/node.js.map +1 -1
- package/lib/api/utils.d.ts +1 -1
- package/lib/api/utils.js +11 -6
- package/lib/api/utils.js.map +1 -1
- package/lib/component/axis.js +2 -1
- package/lib/component/axis.js.map +1 -1
- package/lib/component/scrollbar.js +8 -5
- package/lib/component/scrollbar.js.map +1 -1
- package/lib/composition/facetRect.js +12 -16
- package/lib/composition/facetRect.js.map +1 -1
- package/lib/data/index.d.ts +2 -0
- package/lib/data/index.js +3 -1
- package/lib/data/index.js.map +1 -1
- package/lib/data/utils/venn/circleintersection.d.ts +33 -0
- package/lib/data/utils/venn/circleintersection.js +202 -0
- package/lib/data/utils/venn/circleintersection.js.map +1 -0
- package/lib/data/utils/venn/diagram.d.ts +2 -0
- package/lib/data/utils/venn/diagram.js +48 -0
- package/lib/data/utils/venn/diagram.js.map +1 -0
- package/lib/data/utils/venn/index.d.ts +5 -0
- package/lib/data/utils/venn/index.js +12 -0
- package/lib/data/utils/venn/index.js.map +1 -0
- package/lib/data/utils/venn/layout.d.ts +27 -0
- package/lib/data/utils/venn/layout.js +620 -0
- package/lib/data/utils/venn/layout.js.map +1 -0
- package/lib/data/venn.d.ts +7 -0
- package/lib/data/venn.js +38 -0
- package/lib/data/venn.js.map +1 -0
- package/lib/geo/geoPath.js +2 -1
- package/lib/geo/geoPath.js.map +1 -1
- package/lib/interaction/brushAxisHighlight.d.ts +5 -3
- package/lib/interaction/brushAxisHighlight.js +126 -12
- package/lib/interaction/brushAxisHighlight.js.map +1 -1
- package/lib/interaction/brushHighlight.js +6 -5
- package/lib/interaction/brushHighlight.js.map +1 -1
- package/lib/interaction/elementHighlight.d.ts +2 -2
- package/lib/interaction/elementHighlight.js +39 -5
- package/lib/interaction/elementHighlight.js.map +1 -1
- package/lib/interaction/elementHighlightByColor.d.ts +1 -1
- package/lib/interaction/elementHighlightByX.d.ts +1 -1
- package/lib/interaction/elementSelect.d.ts +2 -2
- package/lib/interaction/elementSelect.js +41 -12
- package/lib/interaction/elementSelect.js.map +1 -1
- package/lib/interaction/elementSelectByColor.d.ts +1 -1
- package/lib/interaction/elementSelectByX.d.ts +1 -1
- package/lib/interaction/event.js +5 -2
- package/lib/interaction/event.js.map +1 -1
- package/lib/interaction/index.d.ts +1 -0
- package/lib/interaction/index.js +3 -1
- package/lib/interaction/index.js.map +1 -1
- package/lib/interaction/legendFilter.js +42 -13
- package/lib/interaction/legendFilter.js.map +1 -1
- package/lib/interaction/legendHighlight.d.ts +1 -1
- package/lib/interaction/legendHighlight.js +53 -15
- package/lib/interaction/legendHighlight.js.map +1 -1
- package/lib/interaction/scrollbarFilter.d.ts +2 -0
- package/lib/interaction/scrollbarFilter.js +29 -0
- package/lib/interaction/scrollbarFilter.js.map +1 -0
- package/lib/interaction/sliderFilter.d.ts +1 -1
- package/lib/interaction/sliderFilter.js +73 -17
- package/lib/interaction/sliderFilter.js.map +1 -1
- package/lib/interaction/tooltip.js +1 -1
- package/lib/interaction/tooltip.js.map +1 -1
- package/lib/interaction/utils.d.ts +1 -0
- package/lib/interaction/utils.js +5 -1
- package/lib/interaction/utils.js.map +1 -1
- package/lib/mark/area.js +7 -3
- package/lib/mark/area.js.map +1 -1
- package/lib/mark/heatmap.d.ts +7 -0
- package/lib/mark/heatmap.js +40 -0
- package/lib/mark/heatmap.js.map +1 -0
- package/lib/mark/index.d.ts +2 -0
- package/lib/mark/index.js +3 -1
- package/lib/mark/index.js.map +1 -1
- package/lib/mark/line.js +1 -1
- package/lib/mark/line.js.map +1 -1
- package/lib/mark/text.js +0 -2
- package/lib/mark/text.js.map +1 -1
- package/lib/mark/utils.d.ts +1 -0
- package/lib/mark/utils.js +2 -1
- package/lib/mark/utils.js.map +1 -1
- package/lib/runtime/plot.js +13 -10
- package/lib/runtime/plot.js.map +1 -1
- package/lib/runtime/render.d.ts +2 -2
- package/lib/runtime/render.js +7 -3
- package/lib/runtime/render.js.map +1 -1
- package/lib/runtime/scale.js +40 -11
- package/lib/runtime/scale.js.map +1 -1
- package/lib/runtime/transform.js +12 -9
- package/lib/runtime/transform.js.map +1 -1
- package/lib/runtime/types/component.d.ts +2 -2
- package/lib/runtime/types/options.d.ts +6 -0
- package/lib/shape/heatmap/heatmap.d.ts +4 -0
- package/lib/shape/heatmap/heatmap.js +74 -0
- package/lib/shape/heatmap/heatmap.js.map +1 -0
- package/lib/shape/heatmap/renderer/gradient.d.ts +5 -0
- package/lib/shape/heatmap/renderer/gradient.js +17 -0
- package/lib/shape/heatmap/renderer/gradient.js.map +1 -0
- package/lib/shape/heatmap/renderer/index.d.ts +6 -0
- package/lib/shape/heatmap/renderer/index.js +126 -0
- package/lib/shape/heatmap/renderer/index.js.map +1 -0
- package/lib/shape/heatmap/renderer/types.d.ts +36 -0
- package/lib/shape/heatmap/renderer/types.js +3 -0
- package/lib/shape/heatmap/renderer/types.js.map +1 -0
- package/lib/shape/image/image.js +8 -3
- package/lib/shape/image/image.js.map +1 -1
- package/lib/shape/index.d.ts +4 -0
- package/lib/shape/index.js +6 -2
- package/lib/shape/index.js.map +1 -1
- package/lib/shape/interval/color.d.ts +8 -0
- package/lib/shape/interval/color.js +19 -8
- package/lib/shape/interval/color.js.map +1 -1
- package/lib/shape/interval/rect.d.ts +10 -1
- package/lib/shape/interval/rect.js.map +1 -1
- package/lib/shape/line/trail.d.ts +3 -0
- package/lib/shape/line/trail.js +78 -0
- package/lib/shape/line/trail.js.map +1 -0
- package/lib/shape/path/color.js +5 -3
- package/lib/shape/path/color.js.map +1 -1
- package/lib/spec/component.d.ts +1 -1
- package/lib/spec/composition.d.ts +9 -6
- package/lib/spec/dataTransform.d.ts +24 -2
- package/lib/spec/mark.d.ts +2 -1
- package/lib/stdlib/index.js +2 -2
- package/lib/stdlib/index.js.map +1 -1
- package/lib/utils/lru.d.ts +4 -0
- package/lib/utils/lru.js +25 -0
- package/lib/utils/lru.js.map +1 -0
- package/lib/utils/number.d.ts +4 -0
- package/lib/utils/number.js +11 -0
- package/lib/utils/number.js.map +1 -0
- package/lib/utils/scale.d.ts +2 -1
- package/lib/utils/scale.js +32 -12
- package/lib/utils/scale.js.map +1 -1
- package/lib/utils/vector.d.ts +1 -0
- package/lib/utils/vector.js +5 -1
- package/lib/utils/vector.js.map +1 -1
- package/package.json +5 -1
- package/src/api/chart.ts +4 -1
- package/src/api/composition/geoPath.ts +2 -0
- package/src/api/mark/index.ts +6 -0
- package/src/api/mark/mark.ts +24 -0
- package/src/api/node.ts +6 -1
- package/src/api/utils.ts +18 -6
- package/src/component/axis.ts +1 -0
- package/src/component/scrollbar.ts +11 -8
- package/src/composition/facetRect.ts +14 -17
- package/src/data/index.ts +2 -0
- package/src/data/utils/venn/circleintersection.ts +235 -0
- package/src/data/utils/venn/diagram.ts +47 -0
- package/src/data/utils/venn/index.ts +5 -0
- package/src/data/utils/venn/layout.ts +769 -0
- package/src/data/venn.ts +58 -0
- package/src/geo/geoPath.ts +3 -1
- package/src/interaction/brushAxisHighlight.ts +130 -11
- package/src/interaction/brushHighlight.ts +6 -4
- package/src/interaction/elementHighlight.ts +39 -3
- package/src/interaction/elementSelect.ts +48 -10
- package/src/interaction/event.ts +7 -2
- package/src/interaction/index.ts +1 -0
- package/src/interaction/legendFilter.ts +46 -13
- package/src/interaction/legendHighlight.ts +55 -14
- package/src/interaction/scrollbarFilter.ts +32 -0
- package/src/interaction/sliderFilter.ts +108 -28
- package/src/interaction/tooltip.ts +2 -5
- package/src/interaction/utils.ts +6 -0
- package/src/mark/area.ts +6 -3
- package/src/mark/heatmap.ts +48 -0
- package/src/mark/index.ts +2 -0
- package/src/mark/line.ts +1 -1
- package/src/mark/text.ts +0 -1
- package/src/mark/utils.ts +1 -1
- package/src/runtime/plot.ts +31 -13
- package/src/runtime/render.ts +9 -7
- package/src/runtime/scale.ts +58 -14
- package/src/runtime/transform.ts +18 -9
- package/src/runtime/types/component.ts +2 -1
- package/src/runtime/types/options.ts +6 -0
- package/src/shape/heatmap/heatmap.ts +85 -0
- package/src/shape/heatmap/renderer/gradient.ts +16 -0
- package/src/shape/heatmap/renderer/index.ts +193 -0
- package/src/shape/heatmap/renderer/types.ts +38 -0
- package/src/shape/image/image.ts +9 -3
- package/src/shape/index.ts +6 -0
- package/src/shape/interval/color.ts +29 -5
- package/src/shape/interval/rect.ts +10 -1
- package/src/shape/line/trail.ts +80 -0
- package/src/shape/path/color.ts +10 -6
- package/src/spec/component.ts +2 -1
- package/src/spec/composition.ts +24 -8
- package/src/spec/dataTransform.ts +25 -0
- package/src/spec/mark.ts +2 -0
- package/src/stdlib/index.ts +10 -0
- package/src/utils/lru.ts +25 -0
- package/src/utils/number.ts +6 -0
- package/src/utils/scale.ts +29 -10
- package/src/utils/vector.ts +4 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# G2 - Changelog
|
|
2
|
+
|
|
3
|
+
## [5.0.12](https://github.com/antvis/g2/compare/5.0.11...5.0.12) (2023-06-08)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
- calculate band offset in area mark ([#5148](https://github.com/antvis/g2/issues/5148)) ([19d7f68](https://github.com/antvis/g2/commit/19d7f688fe22889fbe9773ca867067bf16e546ef))
|
|
8
|
+
- chart.options do not show title ([#5147](https://github.com/antvis/g2/issues/5147)) ([17eb842](https://github.com/antvis/g2/commit/17eb8428728003a6a2b11547b3022becf996f8bb))
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
- add venn chart demo, tests ([#5129](https://github.com/antvis/g2/issues/5129)) ([36b9b02](https://github.com/antvis/g2/commit/36b9b025c414ba827959ef1bc9aa2d061c3b9820))
|
|
13
|
+
- **interaction:** add scrollbarFilter ([#5152](https://github.com/antvis/g2/issues/5152)) ([72e0cc4](https://github.com/antvis/g2/commit/72e0cc414548fd1e21c8e8dae7c874e530f9e29d))
|
|
14
|
+
- **interaction:** emit brush axis highlight ([#5132](https://github.com/antvis/g2/issues/5132)) ([534c1ef](https://github.com/antvis/g2/commit/534c1efcf6a2ad436d5629645cf2ca71f1078ea2))
|
|
15
|
+
- **interaction:** emit element highlight ([#5117](https://github.com/antvis/g2/issues/5117)) ([44b8ee5](https://github.com/antvis/g2/commit/44b8ee5abf2cf33dcef61ee753023c9464154bed))
|
|
16
|
+
- **interaction:** emit element select ([#5119](https://github.com/antvis/g2/issues/5119)) ([ea20755](https://github.com/antvis/g2/commit/ea20755b5926073b073e0a3549e455c4c9d40c61))
|
|
17
|
+
- **interaction:** emit legend filter ([#5127](https://github.com/antvis/g2/issues/5127)) ([b7071ef](https://github.com/antvis/g2/commit/b7071effd62579db9b80b4d9de6dca0a080879c3))
|
|
18
|
+
- **interaction:** emit legend highlight ([#5126](https://github.com/antvis/g2/issues/5126)) ([e796355](https://github.com/antvis/g2/commit/e796355354469d53b8c3f5165beebb865ed59fb0))
|
|
19
|
+
- **interaction:** emit slider filter ([#5114](https://github.com/antvis/g2/issues/5114)) ([32ac0f6](https://github.com/antvis/g2/commit/32ac0f6ba02badbb2a12a41dd581e73083b45b38))
|
|
20
|
+
- interval shape has max/min width ([#5123](https://github.com/antvis/g2/issues/5123)) ([7b50766](https://github.com/antvis/g2/commit/7b5076663c0432dc4f4808386b4ed80ee59efa85))
|
|
21
|
+
- **line:** add trail shape ([#5137](https://github.com/antvis/g2/issues/5137)) ([34937ea](https://github.com/antvis/g2/commit/34937ea26448cb8bcc80a0b9c362e9387b99b843))
|
|
22
|
+
|
|
23
|
+
## [5.0.11](https://github.com/antvis/g2/compare/5.0.10...5.0.11) (2023-05-26)
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
- **api:** update mark-level plot and apply viewStyle ([#5102](https://github.com/antvis/g2/issues/5102)) ([f239cba](https://github.com/antvis/g2/commit/f239cba0823022cf3703891c8b47c323f8c4cd46))
|
|
28
|
+
- **chart:** chart.options should remove node ([#5103](https://github.com/antvis/g2/issues/5103)) ([6949459](https://github.com/antvis/g2/commit/6949459bdd159bc540b07a33791337b681f29fa0))
|
|
29
|
+
- **data:** render empty data ([#5098](https://github.com/antvis/g2/issues/5098)) ([6de9e33](https://github.com/antvis/g2/commit/6de9e3399cd4cc1205e2ee2ea2efcacc0f512ffb))
|
|
30
|
+
- **event:** there is no target for pointerupoutside event ([#5100](https://github.com/antvis/g2/issues/5100)) ([641f966](https://github.com/antvis/g2/commit/641f9666b52990b28467b50475fa5280913efd3c))
|
|
31
|
+
- **geo:** highlight choropleth ([#5095](https://github.com/antvis/g2/issues/5095)) ([7a4d06d](https://github.com/antvis/g2/commit/7a4d06d9d7927fb17d8170f210be54ad93aa8f3c))
|
|
32
|
+
- **label:** null value for series mark ([#5099](https://github.com/antvis/g2/issues/5099)) ([a1db7aa](https://github.com/antvis/g2/commit/a1db7aa07fba40a85bd5239b2ef1479ba487820d))
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
- add heatmap mark and shape ([#5047](https://github.com/antvis/g2/issues/5047)) ([67d88f4](https://github.com/antvis/g2/commit/67d88f4e92986ac5d21bee6975d15f6821974aff))
|
|
37
|
+
|
|
38
|
+
## [5.0.10](https://github.com/antvis/g2/compare/5.0.9...5.0.10) (2023-05-25)
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
- **site:** disable css parsing ([#5091](https://github.com/antvis/g2/issues/5091)) ([c21787f](https://github.com/antvis/g2/commit/c21787ffcef4600b7a24f7fb88189511c495b71b))
|
|
43
|
+
|
|
44
|
+
## [5.0.9](https://github.com/antvis/g2/compare/5.0.8...5.0.9) (2023-05-25)
|
|
45
|
+
|
|
46
|
+
### Bug Fixes
|
|
47
|
+
|
|
48
|
+
- **brush:** handle brush:highlight once when emit ([#5063](https://github.com/antvis/g2/issues/5063)) ([321fb1b](https://github.com/antvis/g2/commit/321fb1bce8e177cfc2d9ea83cdb1291c3fd6c728))
|
|
49
|
+
- example typo ([#5064](https://github.com/antvis/g2/issues/5064)) ([e2e8a5f](https://github.com/antvis/g2/commit/e2e8a5fafe12a71c85a3275faa1f220d4a7fc62a))
|
|
50
|
+
- **interaction:** interaction can be clear ([#5087](https://github.com/antvis/g2/issues/5087)) ([f489fba](https://github.com/antvis/g2/commit/f489fba7c6802cc75ec4c81017ec8924c2f9b0e7))
|
|
51
|
+
- label formatter callback params ([#5062](https://github.com/antvis/g2/issues/5062)) ([1ee4b1f](https://github.com/antvis/g2/commit/1ee4b1fa252bb2a4dc0fa303242c46239024239c))
|
|
52
|
+
- **label:** support date label ([#5077](https://github.com/antvis/g2/issues/5077)) ([826e000](https://github.com/antvis/g2/commit/826e000bb6009aea8b29ca452aea4f6caa9355df))
|
|
53
|
+
- **legend:** pass legend.style ([#5084](https://github.com/antvis/g2/issues/5084)) ([f915d02](https://github.com/antvis/g2/commit/f915d021ca1c189271bc7bffdbe94632fd014595))
|
|
54
|
+
|
|
55
|
+
### Features
|
|
56
|
+
|
|
57
|
+
- **api:** use api and spec together ([#5074](https://github.com/antvis/g2/issues/5074)) ([e18cc84](https://github.com/antvis/g2/commit/e18cc8411f5439c57268e0c180f61ad62a96daa1))
|
|
58
|
+
- **axis:** set default tickCount to 5 ([#5086](https://github.com/antvis/g2/issues/5086)) ([bbfe665](https://github.com/antvis/g2/commit/bbfe665b80e6f417537f5760033e3ed4c729504c))
|
|
59
|
+
- **chart:** debounce chart.render ([#5083](https://github.com/antvis/g2/issues/5083)) ([106b807](https://github.com/antvis/g2/commit/106b807ab2db91253287e41f857a9706f44c0039))
|
|
60
|
+
- set tooltip dom classname has `g2-` prefix ([#5066](https://github.com/antvis/g2/issues/5066)) ([c8b62f6](https://github.com/antvis/g2/commit/c8b62f6f88432c69ba1d6aa00e91c73bc4ce6a4f))
|
|
61
|
+
|
|
62
|
+
## [5.0.8](https://github.com/antvis/g2/compare/5.0.7...5.0.8) (2023-05-19)
|
|
63
|
+
|
|
64
|
+
### Bug Fixes
|
|
65
|
+
|
|
66
|
+
- **brush:** rerender don't emit brush:end ([#5053](https://github.com/antvis/g2/issues/5053)) ([f07b512](https://github.com/antvis/g2/commit/f07b512bb0f116f056a4373f6323195683405786))
|
|
67
|
+
- **brush:** upper bound for selection ([#5044](https://github.com/antvis/g2/issues/5044)) ([b6ea831](https://github.com/antvis/g2/commit/b6ea8318653432c1cf54aca087ff3fb64334cfbe))
|
|
68
|
+
- **chart:** chart.forceFit rerender only when size changing ([#5052](https://github.com/antvis/g2/issues/5052)) ([ab0ccf7](https://github.com/antvis/g2/commit/ab0ccf725713b628e0bb0188e9269bc19e4f1722))
|
|
69
|
+
|
|
70
|
+
### Features
|
|
71
|
+
|
|
72
|
+
- add density mark, violin shape and kde transform ([#5043](https://github.com/antvis/g2/issues/5043)) ([f961d24](https://github.com/antvis/g2/commit/f961d2487c0cb387aef9075acd48a8c82ad2ff40))
|
|
73
|
+
- **dimension:** auto padding ([#5046](https://github.com/antvis/g2/issues/5046)) ([914d445](https://github.com/antvis/g2/commit/914d445f75c54c293af2fffbd6906cda0fd1ab00))
|
|
74
|
+
|
|
75
|
+
## [5.0.7](https://github.com/antvis/g2/compare/5.0.6...5.0.7) (2023-05-16)
|
|
76
|
+
|
|
77
|
+
### Bug Fixes
|
|
78
|
+
|
|
79
|
+
- **animation:** update non-transform attribute and replace node without animation ([#5019](https://github.com/antvis/g2/issues/5019)) ([4adbd58](https://github.com/antvis/g2/commit/4adbd587c73bdeca7cb301afd52d7cfa874b2ed7)), closes [#4953](https://github.com/antvis/g2/issues/4953) [#5006](https://github.com/antvis/g2/issues/5006)
|
|
80
|
+
- **axis:** autoHide should not set crossSize ([#5032](https://github.com/antvis/g2/issues/5032)) ([86052fc](https://github.com/antvis/g2/commit/86052fced2b165b13a5dc2e0c37617a3dcd9c1f3))
|
|
81
|
+
- change data wont update ([#5002](https://github.com/antvis/g2/issues/5002)) ([349a9f4](https://github.com/antvis/g2/commit/349a9f4b015de11804ccc1f2847e10dc4ace24e8))
|
|
82
|
+
- fix issue that legend category cannot update shape ([#4968](https://github.com/antvis/g2/issues/4968)) ([152bc18](https://github.com/antvis/g2/commit/152bc18c6820e25e903ec33e12f7382fe960a0c8))
|
|
83
|
+
- **legend-filter:** funnel ([#4960](https://github.com/antvis/g2/issues/4960)) ([be67dfa](https://github.com/antvis/g2/commit/be67dfa176742f8cf7b9fca165f55ddfca63f3f1))
|
|
84
|
+
- **link:** right env var ([#5027](https://github.com/antvis/g2/issues/5027)) ([6481b00](https://github.com/antvis/g2/commit/6481b0094880a9d3cbe4f6853763013d1c1acd67))
|
|
85
|
+
- **point:** opacityAttribute default to colorAttribute ([#4981](https://github.com/antvis/g2/issues/4981)) ([79399d0](https://github.com/antvis/g2/commit/79399d037809e86b447ff3cb7264a262811621e5))
|
|
86
|
+
- **scale:** zero domain min and max ([#5014](https://github.com/antvis/g2/issues/5014)) ([2e92914](https://github.com/antvis/g2/commit/2e9291492d1542533318b70f7d937163b8a3b9f3))
|
|
87
|
+
- svg renderer not works in website demo ([#5000](https://github.com/antvis/g2/issues/5000)) ([b94ef47](https://github.com/antvis/g2/commit/b94ef47abb42d1b95c16ba9417256b64c1748eac))
|
|
88
|
+
- **tooltip:** rerender correctly ([#4962](https://github.com/antvis/g2/issues/4962)) ([f85e72f](https://github.com/antvis/g2/commit/f85e72f8e8e94d048835cafe44d7612d3ad69087))
|
|
89
|
+
|
|
90
|
+
### Features
|
|
91
|
+
|
|
92
|
+
- add thresholds params in gauge mark ([#5021](https://github.com/antvis/g2/issues/5021)) ([66a4a8e](https://github.com/antvis/g2/commit/66a4a8ecc16586c2d74155bbde479e2797f53520))
|
|
93
|
+
- **brush:** support resize and custom ([#5012](https://github.com/antvis/g2/issues/5012)) ([857fa7b](https://github.com/antvis/g2/commit/857fa7b2ff6d99f8509d2f99cfa949eb640109c3))
|
|
94
|
+
- **event:** emit plot events ([#5034](https://github.com/antvis/g2/issues/5034)) ([67576ac](https://github.com/antvis/g2/commit/67576ac91dcb94dc7fc834ff8c7f015cbe23a814))
|
|
95
|
+
- tooltip render to mount dom ([#5025](https://github.com/antvis/g2/issues/5025)) ([d6e098f](https://github.com/antvis/g2/commit/d6e098f022e8c3c217f5907584dda01eaadb0b34))
|
|
96
|
+
- **tooltip:** on and emit ([#4980](https://github.com/antvis/g2/issues/4980)) ([5f64f71](https://github.com/antvis/g2/commit/5f64f7165a14de0d66350fb7316654027b6bce7c))
|
|
97
|
+
- update gui and adapt to crossSize config ([#4949](https://github.com/antvis/g2/issues/4949)) ([d1d9b8d](https://github.com/antvis/g2/commit/d1d9b8d1268e7fc95bdf63c3975fce88033e2257))
|
|
98
|
+
|
|
99
|
+
## [5.0.6](https://github.com/antvis/g2/compare/5.0.5...5.0.6) (2023-05-08)
|
|
100
|
+
|
|
101
|
+
### Bug Fixes
|
|
102
|
+
|
|
103
|
+
- **chart:** chart.options changeData problem ([#4936](https://github.com/antvis/g2/issues/4936)) ([99bdec2](https://github.com/antvis/g2/commit/99bdec2062af347b8d46dfde30ab2508248b0466))
|
|
104
|
+
- **chart:** chart.theme as unrequired params ([#4940](https://github.com/antvis/g2/issues/4940)) ([0878230](https://github.com/antvis/g2/commit/0878230c72dd801e6e5d1d818b7bb4c7d6e547b4))
|
|
105
|
+
- **test:** unhandled promise rejection ([#4943](https://github.com/antvis/g2/issues/4943)) ([1ba1fcd](https://github.com/antvis/g2/commit/1ba1fcd3011b1d4618d86c4e51f6874cb6c8ff86))
|
|
106
|
+
|
|
107
|
+
### Features
|
|
108
|
+
|
|
109
|
+
- **chart:** chart bind autoFit in render ([#4941](https://github.com/antvis/g2/issues/4941)) ([c16191a](https://github.com/antvis/g2/commit/c16191a1afa7c00620c61e3315a8ba2ea1cf73fb))
|
|
110
|
+
- **interaction:** support focus context ([#4946](https://github.com/antvis/g2/issues/4946)) ([8dc7f1d](https://github.com/antvis/g2/commit/8dc7f1dbb48b21b10e1c2883cd72ea2f7f183971))
|
|
111
|
+
|
|
112
|
+
## [5.0.5](https://github.com/antvis/g2/compare/5.0.4...5.0.5) (2023-05-04)
|
|
113
|
+
|
|
114
|
+
### Bug Fixes
|
|
115
|
+
|
|
116
|
+
- **axis:** order of ticks for transposed x axis ([#4918](https://github.com/antvis/g2/issues/4918)) ([cf1cb88](https://github.com/antvis/g2/commit/cf1cb88483518fb30d9ad088c712dda0c3fe5b94))
|
|
117
|
+
- **chart:** autoFit do not set width and height of chart options ([#4922](https://github.com/antvis/g2/issues/4922)) ([f3632f5](https://github.com/antvis/g2/commit/f3632f510a4abde61b4da8e4eb77d7054cdaf7f3))
|
|
118
|
+
- **chart:** new Chart() do not set default view key ([#4925](https://github.com/antvis/g2/issues/4925)) ([99538a6](https://github.com/antvis/g2/commit/99538a6ff7e64f28e78b349283f5437e6c8bbb8e))
|
|
119
|
+
- **interaction:** transpose sliderFilter ([#4919](https://github.com/antvis/g2/issues/4919)) ([6dc8e51](https://github.com/antvis/g2/commit/6dc8e5148c8182af07896040367917efb690219f))
|
|
120
|
+
- **transform:** sort x only sort data in specified domain ([#4932](https://github.com/antvis/g2/issues/4932)) ([835933b](https://github.com/antvis/g2/commit/835933bb26c6db75fb2ee20186ea17ecf6214cf3))
|
|
121
|
+
|
|
122
|
+
### Features
|
|
123
|
+
|
|
124
|
+
- **interaction:** brushFilter emit filter event ([#4933](https://github.com/antvis/g2/issues/4933)) ([0e8f2d9](https://github.com/antvis/g2/commit/0e8f2d996367a2dfa2c940524547c52d84da37b7))
|
|
125
|
+
|
|
126
|
+
## [5.0.4](https://github.com/antvis/g2/compare/5.0.3...5.0.4) (2023-04-25)
|
|
127
|
+
|
|
128
|
+
### Bug Fixes
|
|
129
|
+
|
|
130
|
+
- **demo:** disable series tooltip for regression ([#4912](https://github.com/antvis/g2/issues/4912)) ([d7b74f5](https://github.com/antvis/g2/commit/d7b74f58d5445b3269f3b2434b7185f9403960e0))
|
|
131
|
+
- Unify params for labelFilter labelFormatter ([#4911](https://github.com/antvis/g2/issues/4911)) ([f96b2f4](https://github.com/antvis/g2/commit/f96b2f460f35e3fe2486bb366d9dddd6af1b85c7))
|
|
132
|
+
- **label:** support specified transform (close: [#4881](https://github.com/antvis/g2/issues/4881)) ([#4914](https://github.com/antvis/g2/issues/4914)) ([992dbce](https://github.com/antvis/g2/commit/992dbce9cb8c420f75bbbfba056617b902d0a7ea))
|
|
133
|
+
- **OOM:** clear interaction and cancel animation when rerendering ([#4899](https://github.com/antvis/g2/issues/4899)) ([7080def](https://github.com/antvis/g2/commit/7080defb772e001000156704dbd10fb44a168016))
|
|
134
|
+
- **scale:** tickCount of log scale support -1 ([#4901](https://github.com/antvis/g2/issues/4901)) ([c84aea7](https://github.com/antvis/g2/commit/c84aea7849222fff9deba57d9de97d16da9db7c1))
|
|
135
|
+
- **tooltip:** missing data ([#4910](https://github.com/antvis/g2/issues/4910)) ([131b032](https://github.com/antvis/g2/commit/131b0326c92b87dd1e99b04d5fba3861f90baac3))
|
|
136
|
+
- **tooltip:** show falsy item by default ([#4907](https://github.com/antvis/g2/issues/4907)) ([29ed50c](https://github.com/antvis/g2/commit/29ed50ce3f5c1cf599ac9f3eeb6c32acbaef7c24))
|
|
137
|
+
- **component** update legend component inferring strategies ([#4906](https://github.com/antvis/g2/issues/4906)) ([1816339](https://github.com/antvis/g2/commit/18163398f91c90e9eaf55cf465c7ade5f6f5f88f))
|
|
138
|
+
|
|
139
|
+
### Features
|
|
140
|
+
|
|
141
|
+
- add arrow for lineX, lineY ([#4905](https://github.com/antvis/g2/issues/4905)) ([b5d6595](https://github.com/antvis/g2/commit/b5d659525966b227bba2f1c70266985bdc336bfa))
|
|
142
|
+
|
|
143
|
+
## [5.0.3](https://github.com/antvis/g2/compare/5.0.2...5.0.3) (2023-04-12)
|
|
144
|
+
|
|
145
|
+
### Bug Fixes
|
|
146
|
+
|
|
147
|
+
- **interval:** fix interval render funnel ([#4868](https://github.com/antvis/g2/issues/4868)) ([#4875](https://github.com/antvis/g2/issues/4875)) ([0856113](https://github.com/antvis/g2/commit/08561138aa65c02e935833765321b3beb23f7a8d))
|
|
148
|
+
- 文档中的 sort->sortBy ([#4876](https://github.com/antvis/g2/issues/4876)) ([f2a53a9](https://github.com/antvis/g2/commit/f2a53a97e9d7cd739562ccc40a91997a17b480fd))
|
|
149
|
+
|
|
150
|
+
## [5.0.2](https://github.com/antvis/g2/compare/5.0.1...5.0.2) (2023-04-06)
|
|
151
|
+
|
|
152
|
+
### Bug Fixes
|
|
153
|
+
|
|
154
|
+
- **animation:** shape to shape animation take style.transform into account ([#4849](https://github.com/antvis/g2/issues/4849)) ([dc1eb1c](https://github.com/antvis/g2/commit/dc1eb1c68e73c891751a0d3364512dee60b0ee9a))
|
|
155
|
+
- **axis:** unexpected radius in polar ([#4850](https://github.com/antvis/g2/issues/4850)) ([8764d55](https://github.com/antvis/g2/commit/8764d55594b71e207e0a80844d78f83e94d765a0))
|
|
156
|
+
- chart render type ([#4853](https://github.com/antvis/g2/issues/4853)) ([#4861](https://github.com/antvis/g2/issues/4861)) ([12f486c](https://github.com/antvis/g2/commit/12f486c7c9edcb355ef3bd5fb8a1ba7a2e21f2e7))
|
|
157
|
+
- **ci:** lock version of canvas to 2.11.0 ([#4857](https://github.com/antvis/g2/issues/4857)) ([c47cbc2](https://github.com/antvis/g2/commit/c47cbc218748a1aba0828b9ff65cde97a217d563))
|
|
158
|
+
- **fisheye:** reset when pointerleave ([#4858](https://github.com/antvis/g2/issues/4858)) ([09ccbdb](https://github.com/antvis/g2/commit/09ccbdb467ef8787bcc6c3b8419779f3a694aaf8))
|
|
159
|
+
- **runtime:** wait for the next tick to finish rendering (close: [#4771](https://github.com/antvis/g2/issues/4771)) ([#4855](https://github.com/antvis/g2/issues/4855)) ([1ec5d0e](https://github.com/antvis/g2/commit/1ec5d0efebf85a05f506fedb189461244572155e))
|
|
160
|
+
- **tooltip:** hide tooltip when move mask ([#4860](https://github.com/antvis/g2/issues/4860)) ([bab6c3b](https://github.com/antvis/g2/commit/bab6c3bc6e6502be9ef4b8c3c3ee5b34890f6485))
|
|
161
|
+
- **types:** axis for composition ([#4851](https://github.com/antvis/g2/issues/4851)) ([0615ca8](https://github.com/antvis/g2/commit/0615ca8af1d30659a3919d4f5dc3b360994012b0))
|
|
162
|
+
- update legend marker ([#4869](https://github.com/antvis/g2/issues/4869)) ([86a7d9c](https://github.com/antvis/g2/commit/86a7d9ca24e6ca59f5ee50262d5403566db79a06))
|
|
163
|
+
|
|
164
|
+
## [5.0.1](https://github.com/antvis/g2/compare/5.0.0...5.0.1) (2023-03-29)
|
|
165
|
+
|
|
166
|
+
### Bug Fixes
|
|
167
|
+
|
|
168
|
+
- **tests:** remove .only ([#4835](https://github.com/antvis/g2/issues/4835)) ([43a4ce8](https://github.com/antvis/g2/commit/43a4ce82303eb9af9392c07ed664027b24953708))
|
|
169
|
+
- **tooltip:** sample ([#4832](https://github.com/antvis/g2/issues/4832)) ([46aa416](https://github.com/antvis/g2/commit/46aa41669fd95949a151b7c3d1a5a1de621f6623))
|
|
170
|
+
- **tooltip:** support NaN data in transpose ([#4833](https://github.com/antvis/g2/issues/4833)) ([f837057](https://github.com/antvis/g2/commit/f837057dc5d8f6dd0b60158ded7b238034459320))
|
|
171
|
+
|
|
172
|
+
### Features
|
|
173
|
+
|
|
174
|
+
- **ci:** throw error in ci env for .only and missing snapshot ([#4836](https://github.com/antvis/g2/issues/4836)) ([a49f216](https://github.com/antvis/g2/commit/a49f21684209362882c303db87eb7ab61a5fc557))
|
|
175
|
+
|
|
176
|
+
## [5.0.0](https://github.com/antvis/G2/releases/tag/5.0.0) (2023-03-21)
|
|
177
|
+
|
|
178
|
+
[Release note](https://github.com/antvis/G2/releases/tag/5.0.0).
|