|
|
@ -26,7 +26,10 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
stacked: true, |
|
|
|
stacked: true, |
|
|
|
matching: true, |
|
|
|
matching: true, |
|
|
|
maxBarWidth: 20 |
|
|
|
maxBarWidth: 20, |
|
|
|
|
|
|
|
zoomEvents: { |
|
|
|
|
|
|
|
scroll: { zoom: { isActive: false }, pan: { isActive: false } }, |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
); |
|
|
|
); |
|
|
|
console.time('render'); |
|
|
|
console.time('render'); |
|
|
@ -35,7 +38,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
function getData() { |
|
|
|
function getData() { |
|
|
|
return [ |
|
|
|
return [ |
|
|
|
[100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], |
|
|
|
[100, 15], [110, 20], [300, 10], |
|
|
|
|
|
|
|
[100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], |
|
|
|
[100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], |
|
|
|
[100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], |
|
|
|
[100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], |
|
|
|
[100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], |
|
|
|
[100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], |
|
|
|
[100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], [100, 15], [110, 20], [300, 10], |
|
|
|