Skip to main content
15-Moonstone
February 9, 2022
Question

How to remove space from Line chart widget in Thingworx 9.3

  • February 9, 2022
  • 1 reply
  • 841 views

Hi all,

I am using a line chart widget, and I want to remove the extra space from the 0th of the x-axis to the x-axis tick label.

I have used the below CSS to fit in the chart from all sides. 

ptcs-chart-line::part(chart-layout) {
padding: 0;
}

The image is attached with the query.

MM_9023322_0-1644381769669.png

 

Thank you!

 

1 reply

5-Regular Member
February 9, 2022

Hello @MM_9023322 ,

 

The same query has been answered priorly. pls check the given link:

https://community.ptc.com/t5/ThingWorx-Developers/Spacing-Issue-in-Line-Chart/td-p/766237?posno=4&q=line%20chart%20space&source=search

 

BR

Bhawna