Truncated text in Reporting

Rohit8
Tera Expert

We have a (Reporting) Pie-chart with data labels which are relatively long. The data labels were being truncated but we were able to fix it by modifying the values in Reports > Administration > Properties.

However, when we try to download a capture of the chart using the Save as JPG/PNG option, the text in the picture is still appearing truncated, just like it was in the chart before we disabled the truncating there. 

Actual Piechart:

find_real_file.png

In the downloaded Picture (JPG and PNG):

find_real_file.png

 

Is there a way to fix the Picture properties to avoid the text truncation and the dependence on Snipping tool for using the piechart.

 

Thanks a lot.

 

1 ACCEPTED SOLUTION

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

could you check the value of the System Property glide.chart.truncate.data_labels? It should fit your need.

Refer to Reporting properties

If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

View solution in original post

17 REPLIES 17

Aha.. got it.

So the text is actually part of the image and image was getting cut 🙂

Good to know.

I think you should mark your comment as correct answer as it has the correct solution.

 

Actually, the text was also being truncated and that is how it appeared on the chart and downloaded image both. So even if the chart's width and height are big, the text will continue to be cut off due to the system properties set to truncate data labels after a particular number of characters.

 

We fixed that part by modifying the system properties as suggested by Alberto. So then the labels started appearing fine on the chart (and the dashboard) but the downloaded image continued to cut the labels because it's set to download JPG in a particular resolution (too small to fit the data labels) unless it's a custom chart with a set width/height. Therefore, changing the chart size resolved the 2nd issue.

 

So basically a two-part solution.

Got it.