You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/05/27 06:58:39 UTC
[incubator-echarts] branch label-enhancement updated (7f53a78 ->
6fa462f)
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a change to branch label-enhancement
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.
from 7f53a78 Merge branch 'next' into label-enhancement
add 285be45 chore: use trick to fix sourcemap instead of parsing full to add UMD wrapper.
new bda15a2 Merge branch 'next' into label-enhancement
new 6fa462f fix: compat barBorderXXX in backgroundStyle. rename barBorderRadius to borderRadius
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
build/dev-fast.js | 37 +++++++++++++++++++++++--------------
package.json | 1 -
src/chart/bar/BarSeries.ts | 2 +-
src/chart/bar/BarView.ts | 2 +-
4 files changed, 25 insertions(+), 17 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[incubator-echarts] 01/02: Merge branch 'next' into
label-enhancement
Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch label-enhancement
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit bda15a29b7431ce833fcc58f1cceb5a720e9d57c
Merge: 7f53a78 285be45
Author: pissang <bm...@gmail.com>
AuthorDate: Wed May 27 13:45:36 2020 +0800
Merge branch 'next' into label-enhancement
build/dev-fast.js | 37 +++++++++++++++++++++++--------------
package.json | 1 -
2 files changed, 23 insertions(+), 15 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[incubator-echarts] 02/02: fix: compat barBorderXXX in
backgroundStyle. rename barBorderRadius to borderRadius
Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch label-enhancement
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit 6fa462fcdb712585164a41e3a0034cb4002ca73b
Author: pissang <bm...@gmail.com>
AuthorDate: Wed May 27 14:57:55 2020 +0800
fix: compat barBorderXXX in backgroundStyle. rename barBorderRadius to borderRadius
---
src/chart/bar/BarSeries.ts | 2 +-
src/chart/bar/BarView.ts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/chart/bar/BarSeries.ts b/src/chart/bar/BarSeries.ts
index 7d3c9b9..c21e0d5 100644
--- a/src/chart/bar/BarSeries.ts
+++ b/src/chart/bar/BarSeries.ts
@@ -32,7 +32,7 @@ export interface BarItemStyleOption extends ItemStyleOption {
/**
* Border radius is not supported for bar on polar
*/
- barBorderRadius?: number | number[]
+ borderRadius?: number | number[]
}
export interface BarDataItemOption {
name?: string
diff --git a/src/chart/bar/BarView.ts b/src/chart/bar/BarView.ts
index dd88cef..90b3777 100644
--- a/src/chart/bar/BarView.ts
+++ b/src/chart/bar/BarView.ts
@@ -543,7 +543,7 @@ function updateStyle(
const hoverStyle = itemModel.getModel(['emphasis', 'itemStyle']).getItemStyle();
if (!isPolar) {
- (el as Rect).setShape('r', itemModel.get(['itemStyle', 'barBorderRadius']) || 0);
+ (el as Rect).setShape('r', itemModel.get(['itemStyle', 'borderRadius']) || 0);
}
el.useStyle(style);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org