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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

how to display this chart using thingworx services?

xiaoqw
15-Moonstone

how to display this chart using thingworx services?

Capture.JPG

Hi, May I know how to use thingworx services to display this chart using label chart widget? 

7 REPLIES 7
bot1q
12-Amethyst
(To:xiaoqw)

If you want exacly the same chart. You need to build a custom widget.

xiaoqw
15-Moonstone
(To:bot1q)

Hi @bot1q ,

Actually, I don's want exactly same chart. I just want bar chart only. Do you have any suggestion?

bot1q
12-Amethyst
(To:xiaoqw)

Please have a look into this link: 

Barcgart 

 

There is a videotutorial. This you can manage without doing an extra widget.

 

Or look at this Post:

https://community.ptc.com/t5/ThingWorx-Developers/Creating-a-barchart/td-p/522729

xiaoqw
15-Moonstone
(To:bot1q)

Hmmm,

 

actually I want coding about this chart. Like how to do using services in details.

bot1q
12-Amethyst
(To:xiaoqw)

Sorry i do not understand:

 

You want to use the Basic Label (Bar) Chart and your question is how to bind the Data with services to this chart?

xiaoqw
15-Moonstone
(To:bot1q)

my question is how to coding and can show the result like this, using group by function, aggregate function, etc.

bot1q
12-Amethyst
(To:xiaoqw)

You can not show the way without building a custom Widget:

 

I usually use https://plot.ly/javascript/ and build an custom widget from this to display the charts. 

If you want a detailed explaination how to Code this Widget: Go to Thingworx Repository on your instalation drive open the Barchart and look how you can extende this chart.

Announcements


Top Tags