Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I need to set/unset datafields in a timeseries chart based on selection of a checkbox for datafield selection in a runtime mashup. ex: I have timeseries chart with temperature and humidity as datafields in timeseries. In mashup, user is provided with a checkbox for selection of temperature, humidity.Based on selection of checkbox, timeseries to show data from datafields of temperature, humidity dynamically on mashup. Does timeseries widget properties support such dynamic setting of datafield, if not I will explore other chart widgets.
Thanks..
The time series chart could do it in two ways.
1. auto configure, just generate the data and drop it on the chart
2. pre-configure the chart, but just don't generate data for certain series. You'll see a label but no data points. for items you are choosing to omit.
PaiChung,
Thanks for response.
Any pointers on second option: preconfigure chart but dont generate data in design, but generate data in runtime.
Regards,
Hari
Hi Hari,
I think the below workaround will meet your requirement.
1. Give the static datafield for the time series chart. for example "Line1";
2. Based on the selection try to rename the datafield column name in the input data.
for example if you select the "temperature" means rename the temperature column in the input data to "Line1" in run time execution service.
Thanks & regards
Sugumar R
Sugumar,
Thanks, will explore run time execution service mechanism in help center.
Hari