Skip to content

Commit

Permalink
fix: 修复网站demo错误 (#2120)
Browse files Browse the repository at this point in the history
  • Loading branch information
visiky authored Dec 18, 2020
1 parent bbda837 commit a03e97b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/case/multi-view/demo/nobel-prize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ fetch('https://gw.alipayobjects.com/os/antfincdn/NHer2zyRYE/nobel-prize-data.jso

labChart.render();

const view1 = labChart.chart.views[1];
const view2 = labChart.chart.views[2];
const view1 = labChart.chart.views[0];
const view2 = labChart.chart.views[1];
const view3 = labChart.chart.views[2];
// 根据 view3 中创建的顺序,可知 滑块对应的第 2 个几何标记对象 geometry
const sliderBlock = view3.geometries[1];
Expand Down

0 comments on commit a03e97b

Please sign in to comment.