Skip to main content
1-Visitor
October 25, 2019
Solved

Can we do multi Y-Axis in 2d widget , vuforia studio

  • October 25, 2019
  • 1 reply
  • 1242 views

Can we do multi Y-Axis (In this case i would like to show level and salinity in the same graph on y-axis , timestamp on x-axis)

in properties, i think it can't

Are there any trick?

 

multiyaxis01.PNGmultiyaxis02.PNGmultiyaxis03.PNG

Best answer by sdidier

Hello,

 

To be honest, today, I am pretty sure that it is not possible in Vuforia Studio with the Time Series Chart Widget.

Y-axis field is not a multiple select item Widget.

More details in PTC Help Center on Time Series Chart Widget here :

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FWidgetTimeSeriesChart.html%23

 

By the way, the 3rd library (ChartJS) used to display these charts seems be able to do that.

More details here in documentation of ChartJS :

https://www.chartjs.org/docs/latest/axes/

 

We can read :

Multiple X & Y axes are supported.

 

 So, I thing here, we have a limitation of the implementation of ChartJS in Time Series Chart Widget in Vuforia Studio.

 

Maybe it is possible to create a custom Javascript function and a TML Widget as a workaround to display the Chart expected with multiple X or/and Y axis.

 

To be honest, I didn't check that. 

 

At the end, I think that it is a good enhancement in a future release of Vuforia Studio.

It seems possible to improve the Time Series Chart Widget.

 

Best regards,

Samuel

1 reply

sdidier17-PeridotAnswer
17-Peridot
October 28, 2019

Hello,

 

To be honest, today, I am pretty sure that it is not possible in Vuforia Studio with the Time Series Chart Widget.

Y-axis field is not a multiple select item Widget.

More details in PTC Help Center on Time Series Chart Widget here :

http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FWidgetTimeSeriesChart.html%23

 

By the way, the 3rd library (ChartJS) used to display these charts seems be able to do that.

More details here in documentation of ChartJS :

https://www.chartjs.org/docs/latest/axes/

 

We can read :

Multiple X & Y axes are supported.

 

 So, I thing here, we have a limitation of the implementation of ChartJS in Time Series Chart Widget in Vuforia Studio.

 

Maybe it is possible to create a custom Javascript function and a TML Widget as a workaround to display the Chart expected with multiple X or/and Y axis.

 

To be honest, I didn't check that. 

 

At the end, I think that it is a good enhancement in a future release of Vuforia Studio.

It seems possible to improve the Time Series Chart Widget.

 

Best regards,

Samuel

Paitoon1-VisitorAuthor
1-Visitor
October 30, 2019

my idea always start on thingworx mashup first 

but properties about graph is not the same on vuforia and mashup

and yes, i heard that vuforia chart is like chart.js

Thank about Answer

Paitoon.