Hi,
When a browser window is reduced, I'm trying to get my chart to show the far end of the Y axis that shows the current date, rather than point of origin that is shown as the browser window reduces.
Thanks
Code: Select all
chart: {
zoomType: 'xy',
resetZoomButton: {
position: {
align: 'left',
// verticalAlign: 'top', // by default
x: 264,
y: -40
}
},
panning: true,
panKey: 'shift',
height: 800,
width: window.innerWidth * 0.90,
type: "line",
animation: {
duration: 1000
}
},
labels: {
align: 'left',
x: 0,
y: -2
}
spacingRight: window.innerWidth + 0.10,
labels: {
align: 'left',
x: 8,
y: 4
}