Skip to main content
Mar 3, 2022 12:08 PM UTC
Solved

How to change the tooltip format on Line chart

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!!

slangleyAnswer
Sep 1, 2022 9:00 PM UTC

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

14 replies

Mar 10, 2022 7:51 PM UTC

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

 

Mar 10, 2022 8:02 PM UTC

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

 

Mar 11, 2022 6:20 AM UTC

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 

Jun 13, 2022 8:24 PM UTC

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