Formatting Highchart's Date in Tooltip Causes Values to Change -



Formatting Highchart's Date in Tooltip Causes Values to Change -

i using highcharts plot points occur within 1 day. when utilize defaults x-axis labels correct: 12am, 4am, 8am, 12pm, 4pm , 8pm, , times echoed in tooltip each point correct, e.g. jan 6, 0400, jan 6 1200, jan 6, 1600, etc.

i don't want armed forces time (e.g. 1600 hour) alter time format via:

tooltip: {xdateformat: '%b %e, %l %p' }

which thought result in jan 6, 4 pm.

but happens when that, labels on x-axis become 12 , tooltip jan 6, 00:00:00.016. points appear in same spots, it's labels , tooltips wrong; seems times in milliseconds 12am.

can shed lite on this?

you can utilize highcharts.dateformat(); http://api.highcharts.com/highcharts#highcharts.dateformat()

highcharts

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -