Skip to main content
1-Visitor
November 11, 2019
Solved

How to add dynamic series in label chart?

  • November 11, 2019
  • 1 reply
  • 1322 views

hi,

 

I have requirement to add the data series dynamically based my sql query. For example, i have data for shifts as A,B,C......n , and I want to display a bar graph for this NumberOfSeries. See the below screenshot, In this I have NumberOfSeries=3 which is fixed (A,B,C shifts data is displayed). But my shifts are not fixed ,they may A,B,C....n . So depending on the input series must vary. 

 

Is there any way of doing this?

Shift_graph.png

 

 

Thanks,

sheetal

Best answer by zyuan1

The Chart widget itself cannot bind dynamically to different number of threads, but if you can use a Contained Mashup widget, and create sub-mashup for 2-thread, 3-thread and 4-thread Charts, it could work.

1 reply

zyuan15-Regular MemberAnswer
5-Regular Member
November 14, 2019

The Chart widget itself cannot bind dynamically to different number of threads, but if you can use a Contained Mashup widget, and create sub-mashup for 2-thread, 3-thread and 4-thread Charts, it could work.