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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Issue with line chart widget and date picker widget

MM_9023322
14-Alexandrite

Issue with line chart widget and date picker widget

Hi all,

Recently I have updated my Thingworx from 8.4.3 to 9.3. I am recreating my old dashboard on 9.3 as it contained some legacy widgets. There are two issues which I am facing right now:
1. How to adjust the timestamp on x-axis for linechart. Attached image for it. 
2. I want to have the same look for  date picker time.  

 

I have tried all the possible ways to resolve it. Please suggest how this can be done

 

Thank you.

 

2 REPLIES 2

@MM_9023322

 

For the issue with the Line Chart Have you set the following properties:

  • HorizonalAxisLabelsRotation: Enter a value from -180 to 180 to set the rotation angle of labels on the horizontal axis.
  • HorizontalAxisMaxHeight: Sets a maximum height for the horizontal axis
  • XAxisDateFormatToken: Enter a 'DD-MM-YY' string pattern to set the date and time format for the X-axis.

online documentation: https://supportdev.ptc.com/help/thingworx/platform/r9/en/#page/ThingWorx/Help/Mashup_Builder/Widgets/RotatingTheAxisLabels.html

 

This comment only address the chart question. 

MM_9023322
14-Alexandrite
(To:PEHOWE)

Hi @PEHOWE ,

Regarding charts, HorizonalAxisLabelsRotation : I have set it to 0, as I want it to be horizontal itself and X-axis format is "YYYY-MM-DD HH:mm:ss". I don't want to slant the in any degree, as it will increase the length of my mashup.

 

 

Thank you!

Top Tags