Home forums Using CanvasJS About datetime format in tooltip Reply To: About datetime format in tooltip

#22654

Vishwas R
Keymaster

@prasad,

xValueFormatString defines the format of x-value to be displayed in toolTip and indexLabel. Setting xValueFormatString to ‘YYYY-DD-MM hh:mm:ss’ should show date in the format you are looking for. Checkout our documentation for more customization options available.


Vishwas R
Team CanvasJS