Skip to main content
11-Garnet
November 24, 2023
Solved

How selected section of pie chart widget will work in thingworx 8.5 version

  • November 24, 2023
  • 1 reply
  • 2702 views

Hi all,

My question is like how can I configure pie chart widget in Thingworx 8.5 so that when I click on a selected part(section) it will navigate to another tab related to the section similarly If I click on different section of Pie chart it will navigate to different tab (means data associated with that section)

for better understanding I have attached image 

please help me to configure this 

and if possible please share the image of how you bind it and.

please forgive me for any grammatical error.

 

Best Regards,

Rayon.

Best answer by Velkumar

Hi @Rayon_11 

 

You can use the Expression function and Navigation function to achieve this. 

 

When the Pie Chart is selected, pass the selected value from service to Expression. In the Expression function based on input return the Mashup name.

 

Map expression function output to Navigation Function Parameter 'TargetMashup'. 

 

Note: Set AutoEvaluate enable in Expression Function and Trigger Navigation Function when the Expression Function output value changed

 

/VR

1 reply

Velkumar19-TanzaniteAnswer
19-Tanzanite
November 24, 2023

Hi @Rayon_11 

 

You can use the Expression function and Navigation function to achieve this. 

 

When the Pie Chart is selected, pass the selected value from service to Expression. In the Expression function based on input return the Mashup name.

 

Map expression function output to Navigation Function Parameter 'TargetMashup'. 

 

Note: Set AutoEvaluate enable in Expression Function and Trigger Navigation Function when the Expression Function output value changed

 

/VR

Rayon_1111-GarnetAuthor
11-Garnet
November 24, 2023

Hi sir,

If you do have sometime please do atleast the service part beacuse I have no idea how to write service 

 

Regards,

Rayon

19-Tanzanite
November 24, 2023

Hi @Rayon_11 

 

Could you please provide sample data that you have in Thingworx

 

/VR