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

WIP [优化] 解决气泡图相关类型以及后续设置,关联了@4550 #2233

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 5 additions & 1 deletion build/scripts/check-non-i18n-terms.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ const fs = require("fs");
const glob = require('glob').sync;

const excludesFiles = [
'common/core/data/graph-data.ts', 'common/core/theming/echarts-theme.ts'
'common/core/data/graph-data/graph-data.ts',
'common/core/data/graph-data/normal-funnel-plot.ts',
'common/core/data/graph-data/normal-line-bar-area.ts',
'common/core/data/graph-data/normal-pie-doughnut.ts',
'common/core/theming/echarts-theme.ts'
];

process.chdir(`${__dirname}/../../src/jigsaw/`);
Expand Down
20 changes: 20 additions & 0 deletions src/app/for-internal/demo/pc/graph/bubble/demo.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,30 @@ export class BubbleGraphComponent {
this.staticBubbleData = new BubbleChartGraphData();
this.staticBubbleData.title = '位置固定气泡图';
this.staticBubbleData.data = this.staticData;
this.staticBubbleData.emphasisConfig = {
itemStyle: {
borderWidth: 1,
borderColor: 'black',
shadowBlur: 5,
shadowColor: "red",
shadowOffsetX: 0,
shadowOffsetY: 5
},
}

this.dynamicBubbleData = new BubbleChartGraphData();
this.dynamicBubbleData.title = "引力布局气泡图";
this.dynamicBubbleData.data = this.dynamicData;
this.dynamicBubbleData.emphasisConfig = {
itemStyle: {
borderWidth: 1,
borderColor: 'red',
shadowBlur: 5,
shadowColor: "pink",
shadowOffsetX: 0,
shadowOffsetY: 5
},
}
}

staticBubbleData: BubbleChartGraphData;
Expand Down
Loading