Home Forums Chart Support About datetime format in tooltip

About datetime format in tooltip

Viewing 2 posts - 1 through 2 (of 2 total)
  • #22652

    Hey

    I am using multiple axis graph for college project. I use sensor which is store sensordata in mysql with current datetime (2018-09-18 12:14:15) format.
    I want to show full datetime (2018-09-18 12:14:15) in tootltip with sensordata.But it show only date(18 sept 2018), not a time.
    I want solution for datetime tooltip.

    #22654

    @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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.