Home Forums StockChart Support ZoomEnabled parameter on StockChart with nav bar Reply To: ZoomEnabled parameter on StockChart with nav bar

#38942

@colibrisan,

You can customize the position of zoom / pan button by changing the CSS of the ‘canvasjs-chart-toolbar’ class as shown in the code snippet below,

.canvasjs-chart-toolbar {
  display: none;
  position: absolute !important;
  top: -34px !important;
  left: 0 !important;
  right: auto !important;
  margin-left: 157px !important;
}

Please take a look at this JSFiddle for an example where zoom / pan buttons are positioned above the chart plot area (near the range selector buttons).


Adithya Menon
Team CanvasJS