Skip to content

Commit

Permalink
Merge pull request #2527 from VisActor/release/1.10.4
Browse files Browse the repository at this point in the history
[Auto release] release 1.10.4
  • Loading branch information
zamhown authored Apr 3, 2024
2 parents a5c4e55 + 899bed2 commit c64f21d
Show file tree
Hide file tree
Showing 164 changed files with 1,329 additions and 518 deletions.
226 changes: 114 additions & 112 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.10.3","mainProject":"@visactor/vchart","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vchartMain","version":"1.10.4","mainProject":"@visactor/vchart","nextBump":"patch"}]
15 changes: 15 additions & 0 deletions docs/assets/api/en/API/event.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,3 +486,18 @@ The event parameters are as follows:
- `'layoutStart'` Layout start event

- `'layoutEnd'` Layout end event

The event parameters are as follows:

```ts
{
/**
* The chart of the event source
*/
chart: IChart;
/**
* the instance of VChart
*/
vchart: IVChart;
}
```
10 changes: 10 additions & 0 deletions docs/assets/api/en/API/vchart.md
Original file line number Diff line number Diff line change
Expand Up @@ -1046,12 +1046,22 @@ getComponents: () => IComponent[];

### getDataSet

Support since version `1.10.4`;

Gets a DataSet instance of the chart.

```ts
getDataSet: () => DataSet;
```

### getScale

Gets a Scale instance of the chart

```ts
getScale: (scaleId: string) => IBaseScale;
```

### setDimensionIndex

Manually invoked to trigger the dimension interaction.
Expand Down
15 changes: 15 additions & 0 deletions docs/assets/api/zh/API/event.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,3 +486,18 @@ Drill 钻取后触发的事件。
- `'layoutStart'` 布局开始事件

- `'layoutEnd'` 布局结束事件

事件参数如下:

```ts
{
/**
* 事件来源的 chart
*/
chart: IChart;
/**
* 全局的VChart实例
*/
vchart: IVChart;
}
```
10 changes: 10 additions & 0 deletions docs/assets/api/zh/API/vchart.md
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,16 @@ getComponents: () => IComponent[];
getDataSet: () => DataSet;
```

### getScale

自版本 `1.10.4`开始支持;

获取图表的 Scale 实例。

```ts
getScale: (scaleId: string) => IBaseScale;
```

### setDimensionIndex

手动调用触发 dimension 交互效果。
Expand Down
121 changes: 81 additions & 40 deletions docs/assets/changelog/en/release.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,50 @@
# v1.10.0

2024-03-13


**🆕 New feature**
# v1.10.3

2024-03-28


**🆕 New feature**

- **@visactor/vchart**: support interaction events of `element-select` and `element-highlight`
- **@visactor/vchart**: support `showDefaultName` in map chart to display unmatched name in map data

**🐛 Bug fix**

- **@visactor/vchart**: tooltip cliped if set border width. fix[#2471](https://github.com/VisActor/VChart/issues/2471)
- **@visactor/vchart**: `lineWidth` is invalid in rect-type-crosshair, related [#2432](https://github.com/VisActor/VChart/issues/2432)
- **@visactor/vchart**: should use `series.getMarkInName` to get the mark for total label's caculation, fixed [#2448](https://github.com/VisActor/VChart/issues/2448)
- **@visactor/vchart**: fix the issue of event trigger count after `updateSpecSync()`
- **@visactor/vchart**: map data will not show if not configured in nameMap
- **@visactor/vchart**: axis label missing in the sampled angle axis, related [#2439](https://github.com/VisActor/VChart/issues/2439)
- **@visactor/vchart**: fix radar chart clipAngle animation error when loading on demand.
- **@visactor/vchart**: fix the release order of _eventDispatcher
- **@visactor/vchart**: should use series's _seriesMark to calculate total mark, not all series mark names are the same as series.type



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

# v1.10.2

2024-03-26

## 🆕 New feat
- **@visactor/vchart**: support interaction events of `element-select` and `element-highlight`

## 🐛 Bug fix
- **@visactor/vchart**: `lineWidth` is invalid in rect-type-crosshair, related [#2432](https://github.com/VisActor/VChart/issues/2432)
- **@visactor/vchart**: should use `series.getMarkInName` to get the mark for total label's caculation, fixed [#2448](https://github.com/VisActor/VChart/issues/2448)
- **@visactor/vchart**: fix the issue of event trigger count after `updateSpecSync()`
- **@visactor/vchart**: fix radar chart clipAngle animation error when loading on demand.

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

# v1.10.0

2024-03-13


**🆕 New feature**

- **@visactor/vchart**: bar chart supports `autoBandSize` to automatically calculate bandSize based on the incoming configuration such as `barWidth`, thereby affecting the actual length of the axis, related [#2268](https://github.com/VisActor/VChart/issues/2268)
- **@visactor/vchart**: stacked bar chart supports the config `stackCornerRadius` to configure the corner radius of stacked bar groups, releated [#2185](https://github.com/VisActor/VChart/issues/2185)
Expand All @@ -20,8 +61,8 @@
- **@visactor/vchart**: state style of arc marks support `innerPadding` and `outerPadding`, related [#2038](https://github.com/VisActor/VChart/issues/2038)
- **@visactor/vchart**: register hover/select interaction by default
- **@visactor/vchart**: remove advanced interaction in simple bundle

**🐛 Bug fix**

**🐛 Bug fix**

- **@visactor/vchart**: enterable tooltip will not hide when mouse moves directly from the tooltip to a non-chart area, related [#2315](https://github.com/VisActor/VChart/issues/2315)
- **@visactor/vchart**: upgrade version of vgrammar to fix end state of animation
Expand All @@ -32,30 +73,30 @@
- **@visactor/vchart**: grid component should not be pickable expect its children
- **@visactor/vchart**: events on `<Bar />` should not trigged twice
- **@visactor/vchart**: plugin should be released in `release()`

**🔨 Refactor**

**🔨 Refactor**

- **react-vchart**: refactor react-vchart to support render in strict mode

**🔧 Configuration releated**

**🔧 Configuration releated**

- **@visactor/vchart**: use `rimraf` to replace `rm -rf`



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

# v1.9.6

2024-03-11


**🆕 New feature**


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

# v1.9.6

2024-03-11


**🆕 New feature**

- **@visactor/vchart**: support dataKey in CustomMark and ExtensionMark
- **@visactor/vchart**: support mulity data in waterfal total dimensions

**🐛 Bug fix**

**🐛 Bug fix**

- **@visactor/vchart**: `animationAppear: false` not work
- **@visactor/vchart**: fix bug that throws error when setting mark style to invlaid value
Expand All @@ -65,29 +106,29 @@
- **@visactor/vchart**: upgrade vrender to 0.17.27, vgrammar to 0.11.15
- **scrollbar**: click stopped by zoomable. fix[#2333](https://github.com/VisActor/VChart/issues/2333)



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

# v1.9.5

2024-03-04


**🆕 New feature**


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

# v1.9.5

2024-03-04


**🆕 New feature**

- **@visactor/vchart**: support dataKey in CustomMark and ExtensionMark
- **@visactor/vchart**: support mulity data in waterfal total dimensions

**🐛 Bug fix**

**🐛 Bug fix**

- **@visactor/vchart**: `animationAppear: false` not work
- **@visactor/vchart**: optimize totoal label position when axis is inversed



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



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

# v1.9.3

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

2024-03-28


**🆕 新增功能**
- **@visactor/vchart**:支持`element-select``element-highlight`的交互事件
- **@visactor/vchart**:支持在地图图表中使用`showDefaultName`来显示地图数据中未匹配的名称

**🐛 功能修复**

- **@visactor/vchart**:修复Tooltip边框被裁减的问题[#2471](https://github.com/VisActor/VChart/issues/2471)
- **@visactor/vchart**:修复矩形Crosshair中`lineWidth`无效,相关[#2432](https://github.com/VisActor/VChart/issues/2432)
- **@visactor/vchart**:应该使用`series.getMarkInName`来获取总标签的计算标记,已修复[#2448](https://github.com/VisActor/VChart/issues/2448)
- **@visactor/vchart**:修复`updateSpecSync()`后事件触发次数不断增加的问题
- **@visactor/vchart**:如果未在nameMap中配置,地图数据将不会显示
- **@visactor/vchart**:在采样角度轴上缺少轴标签,相关[#2439](https://github.com/VisActor/VChart/issues/2439)
- **@visactor/vchart**:修复雷达图clipAngle动画在按需加载时的错误
- **@visactor/vchart**:修复_eventDispatcher的释放顺序问题
- **@visactor/vchart**:应该使用系列的_seriesMark来计算总标记,不是所有系列标记名称都与系列类型相同



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

# v1.10.2

2024-03-26

**🆕 新增功能**
- **@visactor/vchart**:: 支持`element-select``element-highlight`交互事件

**🐛 功能修复**
- **@visactor/vchart**::`lineWidth`在矩形十字准线中无效,相关[#2432](https://github.com/VisActor/VChart/issues/2432)
- **@visactor/vchart**::应该使用 `series.getMarkInName` 来获取总标签计算的标记,修复[#2448](https://github.com/VisActor/VChart/issues/2448)
- **@visactor/vchart**::修复`updateSpecSync()`之后事件触发计数的问题
- **@visactor/vchart**::修复雷达图按需加载时的clipAngle动画错误

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

# v1.10.0

2024-03-13
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/en/axis/axis-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const spec = {
{
orient: 'right',
seriesId: ['line'],
gird: { visible: false },
grid: { visible: false },
nice: false,
zero: false,
sync: { axisId: 'axisLeft', tickAlign: true }
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/en/combination/bar-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: combination
title: Bar-Line Combination Chart With UnNormal Axis
keywords: commonChart
order: 22-8
cover: http://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/vchart/preview/combination/single-region.png
cover: /vchart/preview/combination-bar-line_1.10.3.png
option: commonChart
---

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/en/combination/dual-axis.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const spec = {
],
axes: [
{ orient: 'left', seriesIndex: [0] },
{ orient: 'right', seriesId: ['line'], gird: { visible: false } },
{ orient: 'right', seriesId: ['line'], grid: { visible: false } },
{ orient: 'bottom', label: { visible: true }, type: 'band' }
],
legends: {
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/en/interaction/element-active.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const spec = {
],
axes: [
{ orient: 'left', seriesIndex: [0] },
{ orient: 'right', seriesId: ['line'], gird: { visible: false } },
{ orient: 'right', seriesId: ['line'], grid: { visible: false } },
{ orient: 'bottom', label: { visible: true }, type: 'band' }
],
legends: {
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/en/interaction/highlight-by-legend.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const spec = {
],
axes: [
{ orient: 'left', seriesIndex: [0] },
{ orient: 'right', seriesId: ['line'], gird: { visible: false } },
{ orient: 'right', seriesId: ['line'], grid: { visible: false } },
{ orient: 'bottom', label: { visible: true }, type: 'band' }
],
legends: {
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/en/legend/scrollbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: legend
title: 图例使用滚动条翻页
keywords: pieChart,legend,circle,comparison,proportion,composition
order: 27-5
cover:
cover: /vchart/preview/legend-scrollbar_1.10.3.png
option: pieChart#legends
---

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/en/line-chart/line-sampling.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const spec = {
],
axes: [
{ orient: 'left', seriesIndex: [0, 1, 2, 3, 4, 5] },
// { orient: 'right', seriesId: ['line'], gird: { visible: false } },
// { orient: 'right', seriesId: ['line'], grid: { visible: false } },
{ orient: 'bottom', label: { visible: true }, type: 'band' }
],
legends: {
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/zh/axis/axis-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const spec = {
{
orient: 'right',
seriesId: ['line'],
gird: { visible: false },
grid: { visible: false },
nice: false,
zero: false,
sync: { axisId: 'axisLeft', tickAlign: true }
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/zh/combination/bar-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: combination
title: 特殊轴效果的线柱组合图
keywords: commonChart
order: 22-8
cover: http://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/vchart/preview/combination/single-region.png
cover: /vchart/preview/combination-bar-line_1.10.3.png
option: commonChart
---

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/zh/combination/dual-axis.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const spec = {
],
axes: [
{ orient: 'left', seriesIndex: [0] },
{ orient: 'right', seriesId: ['line'], gird: { visible: false } },
{ orient: 'right', seriesId: ['line'], grid: { visible: false } },
{ orient: 'bottom', label: { visible: true }, type: 'band' }
],
legends: {
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/zh/interaction/element-active.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const spec = {
],
axes: [
{ orient: 'left', seriesIndex: [0] },
{ orient: 'right', seriesId: ['line'], gird: { visible: false } },
{ orient: 'right', seriesId: ['line'], grid: { visible: false } },
{ orient: 'bottom', label: { visible: true }, type: 'band' }
],
legends: {
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/examples/zh/interaction/highlight-by-legend.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const spec = {
],
axes: [
{ orient: 'left', seriesIndex: [0] },
{ orient: 'right', seriesId: ['line'], gird: { visible: false } },
{ orient: 'right', seriesId: ['line'], grid: { visible: false } },
{ orient: 'bottom', label: { visible: true }, type: 'band' }
],
legends: {
Expand Down
Loading

0 comments on commit c64f21d

Please sign in to comment.