Skip to main content
Feb 9, 2022 4:44 AM UTC
Question

How to remove space from Line chart widget in Thingworx 9.3

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

Feb 9, 2022 7:11 AM UTC

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