Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Auto release] release 1.11.12 #3086

Merged
merged 47 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
fff9d80
docs: generate changelog of release v1.11.11
xile611 Aug 6, 2024
9fced69
Merge pull request #3051 from VisActor/sync/main-1.11.11
xile611 Aug 6, 2024
e110291
docs: update changelog of 1.11.11
xile611 Aug 6, 2024
a53f1da
Merge pull request #3052 from VisActor/docs/generate-changelog-v1.11.11
xile611 Aug 7, 2024
eacf6e0
fix: supply interface defination, related #3024
xiaoluoHe Aug 7, 2024
0abe5ec
Merge pull request #3058 from VisActor/fix/IVChart-type-defination
xile611 Aug 8, 2024
c3aa1f8
feat: support `layoutRadius` of pie
xile611 Aug 9, 2024
837843b
docs: update changlog of rush
xile611 Aug 9, 2024
fb1f1a1
docs: update docs of `layoutRadius` in pie
xile611 Aug 9, 2024
fa8cce3
fix: fix `padding` of region not work
xile611 Aug 9, 2024
4fab281
docs: update changlog of rush
xile611 Aug 9, 2024
1da75fa
fix: brush error after legend filter. fix#3061
skie1997 Aug 9, 2024
0054f65
chore: add notes
skie1997 Aug 9, 2024
4ac42ef
Merge pull request #3074 from VisActor/fix/brush-error
xile611 Aug 9, 2024
fe22bf6
fix: fix issue with harmony event
neuqzxy Aug 9, 2024
90be3cf
fix: fix type error of react vchart, fix #3065
xile611 Aug 12, 2024
4ddc627
docs: update changlog of rush
xile611 Aug 12, 2024
54cc5b0
chore: add change file
neuqzxy Aug 12, 2024
a6b99fc
Merge pull request #3076 from VisActor/fix/harmony-event
xile611 Aug 12, 2024
7cbb4ce
fix: should not rewrite seriesField when configured in funnel series
xiaoluoHe Aug 12, 2024
3fdabbb
docs: update changelog
xiaoluoHe Aug 12, 2024
fa4a2d6
Merge pull request #3080 from VisActor/fix/funnel-seriesField
xile611 Aug 13, 2024
39813dd
Merge pull request #3071 from VisActor/feat/region-padding
xile611 Aug 13, 2024
8c602dc
fix: tooltip should show when chart has multiple regions
xile611 Aug 8, 2024
dd93645
docs: update changlog of rush
xile611 Aug 8, 2024
3adf988
fix: fix params of tickCount in linear-axis-mixin, fix #3053
xile611 Aug 8, 2024
fae5a87
docs: update changlog of rush
xile611 Aug 8, 2024
2af5f8b
fix: fix the issue background of chart not updated, fix #3054
xile611 Aug 9, 2024
d148603
docs: update changlog of rush
xile611 Aug 9, 2024
d8698c2
fix: fix the update of `startAngle` and `endAngle` in pie chart, fix …
xile611 Aug 9, 2024
772608b
docs: update changlog of rush
xile611 Aug 9, 2024
f705a4c
fix: fix switch `visible` of legend, fix #3060
xile611 Aug 9, 2024
1b40ae1
docs: update changlog of rush
xile611 Aug 9, 2024
fcfb06d
fix: fix update of background
xile611 Aug 9, 2024
d553203
Merge pull request #3078 from VisActor/fix/react-vchart-types
xile611 Aug 13, 2024
bf33058
feat: support polygon domain line of angle-axis
xile611 Aug 12, 2024
474ebf1
fix: upgrade vrender version to 0.19.24
xile611 Aug 12, 2024
b52950e
fix: gange angle compute limit error
skie1997 Aug 13, 2024
0122a8e
chore: rush change log
skie1997 Aug 13, 2024
fa52d91
docs: update richtext docs path
xiaoluoHe Aug 14, 2024
d00da3c
fix: rename to _computeLayoutRadius
xile611 Aug 14, 2024
b8d5930
Merge pull request #3084 from VisActor/docs/richtext-doc-path
xile611 Aug 14, 2024
8d85623
fix: use vutil clamp to replace valueInrange method
skie1997 Aug 14, 2024
945a1fe
Merge pull request #3069 from VisActor/feat/pie-layout-radius
xile611 Aug 14, 2024
0494580
Merge pull request #3079 from VisActor/feat/angle-axis-polygon-domain…
xile611 Aug 14, 2024
ba32f43
Merge pull request #3083 from VisActor/fix/gauge-angle
xile611 Aug 14, 2024
a874103
build: release version 1.11.12
xile611 Aug 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
242 changes: 121 additions & 121 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion common/config/rush/version-policies.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"definitionName":"lockStepVersion","policyName":"vchartMain","version":"1.11.11","mainProject":"@visactor/vchart","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vchartMain","version":"1.11.12","mainProject":"@visactor/vchart","nextBump":"patch"}]
82 changes: 56 additions & 26 deletions docs/assets/changelog/en/release.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,72 @@
# v1.11.10

2024-07-24


**🆕 New feature**
# v1.11.11

2024-08-06


**🆕 New feature**

- **@visactor/vchart**: label line support custom path. close[#3000](https://github.com/VisActor/VChart/issues/3000)
- **@visactor/vchart**: upgrade vrender to 0.19.20, to support `catmullRom` and `catmullRomClosed` curveType, related [#2610](https://github.com/VisActor/VChart/issues/2610)

**🐛 Bug fix**

- **@visactor/vchart**: fix crosshair of histogram, fix [#2826](https://github.com/VisActor/VChart/issues/2826)
- **@visactor/vchart**: use `vglobal.getElementById` to replace `document.getElementById`
- **@visactor/vchart**: liquid gradient not work after reverse
- **@visactor/vchart**: add group mark to fix gradient color bug of liquid and add rect shape to fix rect symbol padding bug
- **@visactor/vchart**: fix `lockAfterClick` of tooltip, related [#1574](https://github.com/VisActor/VChart/issues/1574)
- **@visactor/vchart**: prevent trigger original event in panEnd composite event [#2931](https://github.com/VisActor/VChart/issues/2931)
- **@visactor/vchart**: charts should not stack when only specify `stackValue` but `stack` is false, fix [#3005](https://github.com/VisActor/VChart/issues/3005)
- **@visactor/vchart**: `updateData` incorrect with datazoom, related [#3041](https://github.com/VisActor/VChart/issues/3041)
- **@visactor/vchart**: fix issue of `updateSpec` when visible of grid in axis change, fix [#3004](https://github.com/VisActor/VChart/issues/3004)
- **@visactor/vchart**: fix fontFamily when update theme, fix [#3028](https://github.com/VisActor/VChart/issues/3028)
- **@visactor/vchart**: fix:curveType `monotone` in seriesStyle not work





[more detail about v1.11.11](https://github.com/VisActor/VChart/releases/tag/v1.11.11)

# v1.11.10

2024-07-24


**🆕 New feature**

- **@visactor/vchart**: liquid support reverse and target mark. close [#2977](https://github.com/VisActor/VChart/issues/2977) & close [#2978](https://github.com/VisActor/VChart/issues/2978)
- **@visactor/vchart**: add `totalScale` params in geo zoom event
- **@visactor/vchart**: support `geoZoomByIndex`/`geoZoomById` API, close [#2925](https://github.com/VisActor/VChart/issues/2925)
- **@visactor/vchart**: marker label background support custom path. close [#2959](https://github.com/VisActor/VChart/issues/2959)

**🐛 Bug fix**
**🐛 Bug fix**

- **@visactor/vchart**: prevent issue with ios bug while pointEvent is configed
- **@visactor/vchart**: liquid gradient not work after reverse
- **@visactor/vchart**: prevent trigger original event in zoomEnd composite event [#2931](https://github.com/VisActor/VChart/issues/2931)
- **@visactor/vchart**: fix error of setDimentionIndex when dimension axis is linear

**🔧 Configuration releated**
**🔧 Configuration releated**

- **@visactor/vchart**: update rollup.config.js to fix es5/index.js, fix [#2971](https://github.com/VisActor/VChart/issues/2971)



[more detail about v1.11.10](https://github.com/VisActor/VChart/releases/tag/v1.11.10)

# v1.11.9

2024-07-17


**🆕 New feature**
[more detail about v1.11.10](https://github.com/VisActor/VChart/releases/tag/v1.11.10)
# v1.11.9
2024-07-17
**🆕 New feature**


* @visactor/vchart: tooltip theme support transition duration


**🐛 Bug fix**
**🐛 Bug fix**


* @visactor/vchart: fix statistics confict of linear and discrete field, close [#2926](https://github.com/VisActor/VChart/issues/2926)
Expand All @@ -46,10 +76,10 @@
* @visactor/vchart: react attributes should support react 17
* @visactor/vchart: fix height of link when set `minNodeHeight` of sankey



[more detail about v1.11.9](https://github.com/VisActor/VChart/releases/tag/v1.11.9)

[more detail about v1.11.9](https://github.com/VisActor/VChart/releases/tag/v1.11.9)
# v1.11.7

2024-07-06
Expand Down
30 changes: 30 additions & 0 deletions docs/assets/changelog/zh/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
# v1.11.11

2024-08-06


**🆕 新增功能**

- **@visactor/vchart**: 标签引导线支持自定义形状,关闭[#3000](https://github.com/VisActor/VChart/issues/3000)
- **@visactor/vchart**: 新增曲线插值算法`catmullRom` 和 `catmullRomClosed`,相关issue[#2610](https://github.com/VisActor/VChart/issues/2610)


**🐛 功能修复**

- **@visactor/vchart**: 修复直方图crosshair不展示的问题, 关闭 [#2826](https://github.com/VisActor/VChart/issues/2826)
- **@visactor/vchart**: 使用 `vglobal.getElementById` 替代 `document.getElementById`,修复小程序报错问题
- **@visactor/vchart**: 修复水波图反转后不支持渐变色的问题
- **@visactor/vchart**: 优化水波图渐变色效果
- **@visactor/vchart**: 修复tooltip `lockAfterClick` 配置不生效的问题,相关issue [#1574](https://github.com/VisActor/VChart/issues/1574)
- **@visactor/vchart**: 在`panEnd` 事件完成前,阻止默认事件,相关issue [#2931](https://github.com/VisActor/VChart/issues/2931)
- **@visactor/vchart**: 当申明了 `stackValue` ,但是配置`stack` 为`false`的时候,图表不应该堆积, 修复[#3005](https://github.com/VisActor/VChart/issues/3005)
- **@visactor/vchart**: 修复`updateData` 在存在 datazoom组件时,更新错误的问题, 相关issue [#3041](https://github.com/VisActor/VChart/issues/3041)
- **@visactor/vchart**: 修复坐标轴网格线显示/隐藏切换时,图表不更新的问题,修复[#3004](https://github.com/VisActor/VChart/issues/3004)
- **@visactor/vchart**: 修复更新主题中`fontFamily` 时,更新不生效的问题,修复 [#3028](https://github.com/VisActor/VChart/issues/3028)

- **@visactor/vchart**: 修复`seriesStyle`配置`monotone` 不生效的问题



[更多详情请查看 v1.11.11](https://github.com/VisActor/VChart/releases/tag/v1.11.11)

# v1.11.10

2024-07-24
Expand Down
14 changes: 7 additions & 7 deletions docs/assets/guide/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,13 @@
"zh": "自定义 mark",
"en": "Custom Mark"
}
},
{
"path": "Richtext_and_Dom",
"title": {
"zh": "富文本和 Dom 扩展",
"en": "Richtext and dom extension"
}
}
]
},
Expand Down Expand Up @@ -827,13 +834,6 @@
"en": "Function"
}
},
{
"path": "Richtext_and_Dom",
"title": {
"zh": "富文本和 Dom 扩展",
"en": "Richtext and dom extension"
}
},
{
"path": "Chart_Plugins",
"title": {
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/option/en/component/axis-common/axis-label.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ formatMethod: text => {
};
```

For specific usage of rich text, please refer to the[Rich Text Tutorial Document](/vchart/guide/tutorial_docs/Richtext_and_Dom)
For specific usage of rich text, please refer to the[Rich Text Tutorial Document](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

#${prefix} formatter(string | string[])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Strategies employed in adaptive text computing. Options:
IFormatMethod<[activeDatum: Datum]> | ITextMarkSpec['text'] | ReturnType<IFormatMethod<[activeDatum: Datum]>>;
```

支持返回富文本配置,html 配置、react 配置,更详细的使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/Richtext_and_Dom)
支持返回富文本配置,html 配置、react 配置,更详细的使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

#${prefix} style(Object)

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/option/en/component/label.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ formatMethod: text => {
};
```

For specific usage of rich text, please refer to the[Rich Text Tutorial Document](/vchart/guide/tutorial_docs/Richtext_and_Dom)
For specific usage of rich text, please refer to the[Rich Text Tutorial Document](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

#${prefix} formatter(string)

Expand Down
11 changes: 6 additions & 5 deletions docs/assets/option/en/component/legend-discrete.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ Whether or not to enable the checking of the legend, the default is on.

### selectMode(string) = 'multiple'

The check mode of the legend, with optional values:
* `'multiple'` multiple selection mode
* `'single'` single selection mode
* `'focus'` focus selection mode
The check mode of the legend, with optional values:

- `'multiple'` multiple selection mode
- `'single'` single selection mode
- `'focus'` focus selection mode

### scale(string)

Expand Down Expand Up @@ -465,7 +466,7 @@ formatMethod: text => {
};
```

For specific usage of rich text, please refer to the[Rich Text Tutorial Document](/vchart/guide/tutorial_docs/Richtext_and_Dom)
For specific usage of rich text, please refer to the[Rich Text Tutorial Document](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

#### formatter(string | string[])

Expand Down
22 changes: 16 additions & 6 deletions docs/assets/option/en/series/pie.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,25 @@ pie: {
}
```

#${prefix} layoutRadius(string|number|function)

Introduced in version **1.11.12**

The layout radius of the polar coordinate, which is the base value for calculating the inner and outer radii. The optional values are as follows:

- Not set: The default value is `Math.min(width, height) / 2`, which is equivalent to this effect before version **1.11.2**
- `'auto'`: Automatically calculate the maximum available layout radius based on `center`, `startAngle`, and `endAngle`
- Custom function, the type definition of the function is as follows:

```ts
(layoutRect: { width: number; height: number }, center: { x: number; y: number }) => number;
```

#${prefix} outerRadius(number)

Pie chart outer sector radius. The default value is 0.6.

#${prefix} outerRadius(number)
#${prefix} innerRadius(number)

Pie chart inner sector radius. The default value is 0.

Expand Down Expand Up @@ -191,11 +205,7 @@ The callback function is defined as follows:
* @params path object, user-defined drawing
* @return Returns the path after drawing is completed
*/
(
text: ITextGraphicAttribute,
attrs: Partial<ILineGraphicAttribute>,
path: ICustomPath2D
) => ICustomPath2D;
(text: ITextGraphicAttribute, attrs: Partial<ILineGraphicAttribute>, path: ICustomPath2D) => ICustomPath2D;
```

###${prefix} style(Object)
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/option/zh/component/axis-common/axis-label.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ formatMethod: text => {
};
```

更详细的富文本使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/Richtext_and_Dom)
更详细的富文本使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

#${prefix} formatter(string|string[])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
IFormatMethod<[activeDatum: Datum]> | ITextMarkSpec['text'] | ReturnType<IFormatMethod<[activeDatum: Datum]>>;
```

支持返回富文本配置,html 配置、react 配置,更详细的使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/Richtext_and_Dom)
支持返回富文本配置,html 配置、react 配置,更详细的使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

#${prefix} style(Object)

Expand Down
4 changes: 2 additions & 2 deletions docs/assets/option/zh/component/label.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

自 1.7.0 版本支持,文本类型。`1.10.0`版本后,建议使用 `formatMethod` 配置富文本。

富文本的具体使用方式,请参考[富文本教程文档](/vchart/guide/tutorial_docs/Richtext_and_Dom)
富文本的具体使用方式,请参考[富文本教程文档](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

可选:

Expand Down Expand Up @@ -58,7 +58,7 @@ formatMethod: text => {
};
```

更详细的富文本使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/Richtext_and_Dom)
更详细的富文本使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

#${prefix} formatter(string)

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/option/zh/component/legend-discrete.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ formatMethod: text => {
};
```

更详细的富文本使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/Richtext_and_Dom)
更详细的富文本使用方式请参考[富文本教程](/vchart/guide/tutorial_docs/extend/Richtext_and_Dom)

##### style(Object|Function)

Expand Down
24 changes: 17 additions & 7 deletions docs/assets/option/zh/series/pie.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,25 @@ pie: {
}
```

#${prefix} layoutRadius(string|number|function)

自 **1.11.12**版本开始支持

极坐标的布局半径,即计算内径、外径的基准值,可选值如下:

- 不设置: 默认值为`Math.min(width, height) / 2`,**1.11.2**之前的版本相当于这个效果
- `'auto'`: 根据`center`、`startAngle`、`endAngle`自动计算最大可用的布局半径
- 自定义函数,函数的类型定义如下:

```ts
(layoutRect: { width: number; height: number }, center: { x: number; y: number }) => number;
```

#${prefix} outerRadius(number)

饼图扇区外半径。默认值为 0.6。

#${prefix} outerRadius(number)
#${prefix} innerRadius(number)

饼图扇区内半径。默认值为 0。

Expand Down Expand Up @@ -181,7 +195,7 @@ pie: {
) }}

##${prefix} customShape(function)
自1.11.11版本, 标签引导线支持自定义path.
自 1.11.11 版本, 标签引导线支持自定义 path.

回调函数的定义如下:

Expand All @@ -192,11 +206,7 @@ pie: {
* @params path对象, 用户自定义绘制
* @return 返回绘制完成后的path
*/
(
text: ITextGraphicAttribute,
attrs: Partial<ILineGraphicAttribute>,
path: ICustomPath2D
) => ICustomPath2D;
(text: ITextGraphicAttribute, attrs: Partial<ILineGraphicAttribute>, path: ICustomPath2D) => ICustomPath2D;
```

###${prefix} style(Object)
Expand Down
12 changes: 6 additions & 6 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
},
"dependencies": {
"@arco-design/web-react": "2.46.1",
"@visactor/openinula-vchart": "workspace:1.11.11",
"@visactor/react-vchart": "workspace:1.11.11",
"@visactor/vchart": "workspace:1.11.11",
"@visactor/openinula-vchart": "workspace:1.11.12",
"@visactor/react-vchart": "workspace:1.11.12",
"@visactor/vchart": "workspace:1.11.12",
"@visactor/vchart-theme": "~1.6.6",
"@visactor/vmind": "1.2.4-alpha.5",
"@visactor/vutils": "~0.18.10",
"@visactor/vrender": "0.19.23",
"@visactor/vrender-kits": "0.19.23",
"@visactor/vgrammar": "0.13.19",
"@visactor/vrender": "0.19.24",
"@visactor/vrender-kits": "0.19.24",
"@visactor/vgrammar": "0.13.20",
"markdown-it": "^13.0.0",
"highlight.js": "^11.8.0",
"axios": "^1.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/block-vchart/block/vchart/index.js

Large diffs are not rendered by default.

Loading
Loading