cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Change chart on button click, Mashups and widgets

SOLVED
Highlighted
Granite

Change chart on button click, Mashups and widgets

I have a simple question. I have 3 buttons and I want each button to display a different set of data in a line chart when they are clicked. The previous line chart is replaced but the new button's data. So, if data1 button is clicked, data1 shows in line chart, if data2 button is clicked, data2 shows in line chart and so on. The problem I am having is the line chart can only have one dataset bind to it. I can change the click bind for each button but it doesn't change the fact that the line chart can only have one bind. 

button.PNG

The red is what I think I am trying to get this to do if possible.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Change chart on button click, Mashups and widgets

For my purposes I have resolved this. I was trying to use buttons when I should have been using menus. In case anyone encounters this again, create a menu, then a master, then a mashup with this master. There is a good video here.

https://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx/Help/Mashup_Bu...

 

I guess button are not meant to be used this way, although they probably can with custom widgets.

View solution in original post

1 REPLY 1
Highlighted

Re: Change chart on button click, Mashups and widgets

For my purposes I have resolved this. I was trying to use buttons when I should have been using menus. In case anyone encounters this again, create a menu, then a master, then a mashup with this master. There is a good video here.

https://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx/Help/Mashup_Bu...

 

I guess button are not meant to be used this way, although they probably can with custom widgets.

View solution in original post

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!