Skip to main content
15-Moonstone
March 3, 2022
Solved

How to change the tooltip format on Line chart

  • March 3, 2022
  • 2 replies
  • 4838 views

Hi team,

I want to change the default tooltip format on the Line chart. We have a requirement where we are using the Line chart as a step chart on Thingworx 9.3 version. The default tooltip is "Wed Mar 02 2022 02:59:16 GMT +0530(India Standard Time), Signal:1", which I want to change to "2022-03-03 02:59:16, Signal:1". I came across the Localization tables in TW where you can customize the tooltip. By following this link https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/CreatingCustomChartTooltips.html

I created a new token, now I am getting "Signal:1" on the tooltip, but I am not able to understand how I can customize the Timestamp. The default token is "${label}, ${series}: ${value}".

 

Thank you!!

Best answer by slangley

Hi @MM_9023322.

 

The release of ThingWorx 9.3.4 is now available on the PTC download site.  Hopefully, it will resolve your issue.

 

Regards.

 

--Sharon

2 replies

Support
March 10, 2022

Hi @MM_9023322.

 

You may have to change the way the data is stored in order for the tooltip to display per your requirement.

 

Regards.

 

--Sharon

 

Support
March 10, 2022

Hi @MM_9023322.

 

Something else.....I assume you already have the XAxisType set to Date/Time.  If so, there is an XAsixDateFormatToken that may work but you will have to play around with it.

 

Regards.

 

--Sharon

 

7-Bedrock
March 11, 2022

We want to change the datetime format on the hovering to only Date or remove the timezone from the tooltip . Please let me know if you have any input on this.

@slangley 

Support
June 13, 2022

Hi @MM_9023322

 

We will be providing a fix for this in ThingWorx 9.3.4.  I don't yet have the release date, but it is estimated to be available in the next 2 - 3 months.

 

Regards.

 

--Sharon