Skip to main content
3-Newcomer
October 22, 2024
Question

Customize tool tip for Line chart with multiple data sources

  • October 22, 2024
  • 1 reply
  • 600 views

Hi ,

I have been using multiple data sources with line chart and want to customize the tool tip instead of Thingworx standard in the mashup and tried as follows :


${DataSource1:toolTipValue}#newline#${DataSource2:toolTipValue}#newline#${DataSource3:toolTipValue}#newline#${DataSource4:toolTipValue};

 

But in the runtime I'm getting tooltip as follows :

SR_12153028_0-1729594215682.png

In runtime I'm getting 'N/A' if the value is not there for a particular data source in the hover point.

Is there any solution to hide out or remove 'N/A'  ?

 

Thanks in Advance 🙂

1 reply

18-Opal
October 22, 2024

Hello,

 

A rather dumb solution would be to cram all 4 of your tooltips into one, e.g. on DataSource1. Then you can handle all "formatting" logic on the server side.

 

/ Constantine