Skip to content

Commit

Permalink
fix: 解决走查问题和修复遗漏问题 (#1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcsin1 committed Sep 11, 2020
1 parent 6769fda commit 391b003
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions examples/histogram/basic/demo/basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,7 @@ const data = [
const histogramPlot = new Histogram('container', {
data,
binField: 'value',
tooltip: {
showMarkers: false,
position: 'top',
},
interactions: [
{
type: 'element-highlight',
},
],
binWidth: 2,
});

histogramPlot.render();
2 changes: 1 addition & 1 deletion src/plots/bullet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class Bullet extends Plot<BulletOptions> {

protected getDefaultOptions() {
return deepMix({}, super.getDefaultOptions(), {
bulletLabel: {
label: {
position: 'right',
},
legend: false,
Expand Down

0 comments on commit 391b003

Please sign in to comment.