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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Spacing Issue in Line Chart

pshashipreetham
17-Peridot

Spacing Issue in Line Chart

Placed an Line Chart on the Mashuip, But there is lot of spacing issue on the Chart, by which Dashboard Width and height needed to be increased. How can the spaces can be removed ?

DeepinScreenshot_select-area_20211230165459.png
@c_lowy @slangley @VladimirN @CarlesColl 

Thanks,
Shashi

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
ACCEPTED SOLUTION

Accepted Solutions

So,

This issue got fixed by changing the padding in the StyleProperties, Base-->Chart Layout

Thanks,

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

View solution in original post

4 REPLIES 4

Hello @pshashipreetham ,

 

The spacing that you are seeing comes into play if the following fields are set to the default value of "Auto":

 

  • XAxisMinimumValues
  • XAxisMaximumValues
  • YAxisMinumumValues
  • YAxisMaximumValues

 

You could try setting these properties to values that are closer or equal to the smallest/largest values in your data set as appropriate to eliminate the spaces you are seeing.  Note that the fields I noted here are all bindable targets as well, so you could pass in values at runtime to set the max and mins respectively according to the supplied data set.

 

I hope you find this information helpful!  Let us know if this helps you to eliminate the spaces from your chart.

 

Regards,

 

Stefan

Hi @statka ,

How can below space can be removed in the Line Chart ?
DeepinScreenshot_select-area_20220102204938.png

@paic @c_lowy @slangley @VladimirN 

Thanks,
Shashi

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

Hi @pshashipreetham ,

 

Have you also adjusted the "YAxisMinumumValues" parameter?  It looks like the minimum y value is greater than zero, so setting this to something closer to the actual minimum might save some additional space.  Note that if you do not see the "YAxisMinumumValues" parameter, you may need to set the "YAxisType"  setting appropriately.

 

Regards,

 

Stefan

So,

This issue got fixed by changing the padding in the StyleProperties, Base-->Chart Layout

Thanks,

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
Announcements


Top Tags