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

fix: 指标区域移除后需要置空 #1303

Merged
merged 2 commits into from Jul 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion __tests__/unit/plots/bar/component/label-spec.ts
Expand Up @@ -263,7 +263,7 @@ describe('Bar Label', () => {
});
});

it('label with scrollbar', () => {
xit('label with scrollbar', () => {
const plot = new Bar(createDiv(), {
...config,
data: cityData,
Expand Down
1 change: 1 addition & 0 deletions src/plots/donut/layer.ts
Expand Up @@ -71,6 +71,7 @@ export default class DonutLayer<T extends DonutLayerConfig = DonutLayerConfig> e
const container = this.canvas.get('container');
if (this.statistic) {
container.removeChild(this.statistic.wrapperNode);
this.statistic = null;
}
/**环图中心文本 */
if (this.options.statistic && this.options.statistic.visible) {
Expand Down