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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

How to use plotly.js library to create custom chart widget.

smishra-31
12-Amethyst

How to use plotly.js library to create custom chart widget.

Hi,

 

I want to create custom spc chart by using plotly.js library.

I have gone through the "Creating UI Widget for Thingworx", but I am not able to display chart for input infotable.

Most difficulty I am facing in passing the array values to xAxis and yAxis in my drawSpcChart() function. These array values I have to create from my input Data(Infotable) that I will get from a service "All Data" in composer.

drawSpcChart function I am calling in afterRender() in runtime.js file.

 

Can anyone please help me in creating the ide and runtime js files for this?

 

Thanks & Regards,

Shashank

1 REPLY 1

hi i am facing similar kind of issue by i am using chart.js as a library. my data is coming inside the juntime,js but the chart is not rendering.

 

If you have got any learning let me know.

 

 

Announcements


Top Tags