mirror of
https://github.com/wownero/diff-chart.git
synced 2026-11-15 04:13:54 +01:00
zoom out maximally on load
This commit is contained in:
@@ -93,7 +93,7 @@ zoomChart();
|
||||
// this method is called when chart is first inited as we listen for "rendered" event
|
||||
function zoomChart() {
|
||||
// different zoom methods can be used - zoomToIndexes, zoomToDates, zoomToCategoryValues
|
||||
chart.zoomToIndexes(chartData.length - 40, chartData.length - 1);
|
||||
chart.zoomToIndexes(0, chartData.length - 1);
|
||||
}
|
||||
|
||||
function toggleLogScale() {
|
||||
|
||||
Reference in New Issue
Block a user