INNER CODE UNIT · JavaScript
i1
tvjsx/tvjs-xp · src/extensions/legend-buttons/main.js:50
let i1 = e.dataIndex-1
data[i0] = data.splice(i1, 1, data[i0])[0]
}
}
this.dc.update_ids()
break
case 'down':
if (e.type === 'onchart') {
let h = this.avg_grid_h(offchart)
onchart.splice(e.dataIndex, 1)
offchart.unshift(ov)
this.tv.$set(ov, 'grid', {height: h})
} else {
let n = offchart.length
let data = offchart
if (e.dataIndex < n - 1) {
let i0 = e.dataIndex
let i1 = e.dataIndex+1