Skip to content

Commit

Permalink
update brush area chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Benbinbin committed Jul 31, 2024
1 parent a247fb2 commit af8e4f5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion areachart/areachart-minimap-brush/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ d3.csv(dataURL, d3.autoType).then((aapl) => {
// 刷选发生时(选区发生改变)所触发的回调函数
// 从入参的刷选事件对象中解构出 selection 选区属性
function brushed({selection}) {
console.log(selection);
// 如果用户创建了选区
if (selection) {
// 选区 selection 是一个二元数组,其形式为 [x0, x1],其中 x0, x1 分别表示选区两端的横坐标值
Expand Down

0 comments on commit af8e4f5

Please sign in to comment.