For those still using (realtimeCumulus.js).
I made a tiny change to the (realtimeCumulus.js) as when using the (Drag / over an area) the "Reset zoom" button was always placed on the Chart itself, resulting in it sitting over the top of some graph Lines (depending on selection).
if you wish to reposition "Reset zoom" button as I have (outside the Chart area);
Change this:
Code: Select all
$(document).ready(function () {
// define the chart options
options = {
chart: {
renderTo: 'container',
zoomType: 'x'
},
credits: {
Code: Select all
$(document).ready(function () {
// define the chart options
options = {
chart: {
renderTo: 'container',
zoomType: 'x',
resetZoomButton: {
position: {
align: 'right', // by default
verticalAlign: 'top', // by default
x: -10,
y: 10
},
relativeTo: 'chart'
}
},
credits: {