Home Forums StockChart Support X-axis labels Reply To: X-axis labels

#38102

@ct101,

You are using value in labelFormatter instead of label, as you are passing date as label instead of x-value. Please find the updated code-snippet below.

labelFormatter: function(e) {
  return CanvasJS.formatDate(e.label, "HH:MMTT");
}

Please take a look at this updated JSFiddle for complete code.
StockChart with Mulitple Panes


Vishwas R
Team CanvasJS