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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Line chart scaling

AK_10638440
4-Participant

Line chart scaling

hello,

 

I have a linechart where  the margins on left and right side is to big (X-axis), I would like to fill all the available space .

On the attached image I marked the space what I would like to 'cut' somehow. 

Because the x axis is date type and it's variable I cannot set itXAxisMinimumValues and YAxisMinimumValues parameters.

(I using ThingWorx 9.1.5-b698)

 

any idea is welcome.

 

thank you

 

 

 

 

ACCEPTED SOLUTION

Accepted Solutions

@AK_10638440 ,

The issue you are describing can be addressed by assigning values to 2 additional properties. 

  • XAxisMaximumValue
  • XAxisMinimumValue

These fields are bendable so you can create a service to provide the values if they change based on data being displayed.
 

A description of the fields can be found in the online documentation.
https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/LineChartWidgetThemable.html

 


Let me know if this address your issue.

 

View solution in original post

1 REPLY 1

@AK_10638440 ,

The issue you are describing can be addressed by assigning values to 2 additional properties. 

  • XAxisMaximumValue
  • XAxisMinimumValue

These fields are bendable so you can create a service to provide the values if they change based on data being displayed.
 

A description of the fields can be found in the online documentation.
https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/LineChartWidgetThemable.html

 


Let me know if this address your issue.

 

Announcements


Top Tags