|
|
|
@ -26,7 +26,10 @@
|
|
|
|
|
}, |
|
|
|
|
stacked: true, |
|
|
|
|
matching: true, |
|
|
|
|
maxBarWidth: 20 |
|
|
|
|
maxBarWidth: 20, |
|
|
|
|
zoomEvents: { |
|
|
|
|
scroll: { zoom: { isActive: false }, pan: { isActive: false } }, |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
); |
|
|
|
|
console.time('render'); |
|
|
|
@ -35,7 +38,8 @@
|
|
|
|
|
|
|
|
|
|
function getData() { |
|
|
|
|
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], |
|
|
|
|