Skip to main content
1-Visitor
January 31, 2020
Solved

3D plot Widget

  • January 31, 2020
  • 2 replies
  • 2056 views

Hi

 

We have a use-case where we collect positions in x,y,z from an in-house positioning system. We want to show it in a plot-diagram. I can plot X & Y, but there is no widget for X, Y, Z. 

 

Do you know how to proceed, any workaround or plans to have a X, Y, Z plot-widget? Also want to do a heat-diagram using the same data. On pot.ly (https://plot.ly/javascript/3d-charts/) I can find a lot of nice charts to use, can I use these in ThingWorx Mashup?

 

Thanks

Best answer by VladimirRosu_116627

In this case, this guide should help you:

https://developer.thingworx.com/en/resources/guides/create-mashup-widget-extension

Usually you would want to take advantage of the ThingWorx Eclipse plugin, to generate a metadata.xml file required in the extension. I've tried with the latest Eclipse, it works, but you to install an editor for JS from the Eclipse Marketplace before you create the Widget using the ThingWorx menu.

If on the other hand you're familiar with its structure, you can also write by hand in your preferred editor.

2 replies

17-Peridot
February 3, 2020

Hi,

 

3D chart/plot is not available in Thingworx, you can create a custom widget for that.

Please see: https://www.ptc.com/en/support/article?n=CS282740

 

Best regards,

Raluca Edu

19-Tanzanite
February 3, 2020

Hi,

 

What exactly do you want to display in the graph? If you want to have a 3D graph (3 axes - x,y,z) then that is a custom widget, as Raluca mentioned above.

If instead you accept/want to have a time based one, the timeseries chart accepts max 8 values being displayed.

Which one is it?

Mattiaset1-VisitorAuthor
1-Visitor
February 3, 2020
It is 3D graph, so I guess the only solution is to go for custom widget.


19-Tanzanite
February 3, 2020

In this case, this guide should help you:

https://developer.thingworx.com/en/resources/guides/create-mashup-widget-extension

Usually you would want to take advantage of the ThingWorx Eclipse plugin, to generate a metadata.xml file required in the extension. I've tried with the latest Eclipse, it works, but you to install an editor for JS from the Eclipse Marketplace before you create the Widget using the ThingWorx menu.

If on the other hand you're familiar with its structure, you can also write by hand in your preferred editor.