Revision history [back]

click to hide/show revision 1
initial version

answered 2021-06-17 15:43:00 +0800

cor3000 gravatar image cor3000

ZK Team

To set the date format please follow the highchart docs regarding value formatting.

chart.getTooltip().setUseHTML(true);
chart.getTooltip().setHeaderFormat("Date/Time: {point.x:%m/%d/%Y %H:00}<table>");
chart.getTooltip().setPointFormat(
    "<tr><td style=\"color:{series.color}\">{series.name}: </td>" +
    "<td style=\"text-align:right\">{point.y} CFS <br></td></tr>");
chart.getTooltip().setFooterFormat("</table>");

To set the date format please follow the highchart docs regarding value formatting. and available format keys

chart.getTooltip().setUseHTML(true);
chart.getTooltip().setHeaderFormat("Date/Time: {point.x:%m/%d/%Y %H:00}<table>");
chart.getTooltip().setPointFormat(
    "<tr><td style=\"color:{series.color}\">{series.name}: </td>" +
    "<td style=\"text-align:right\">{point.y} CFS <br></td></tr>");
chart.getTooltip().setFooterFormat("</table>");
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More