Bar chart label overlap bug

by annlee » Mon May 30, 2016 2:44 pm

Hi,

I am trying to add a label to my chart, but when I put a text after {0} in the format, it shows up overlapped on the left.

How do I make it show up properly?

See photo:
Attachments
Plumsail Dashboard Designer 2016-05-30 07-44-57.png
Plumsail Dashboard Designer 2016-05-30 07-44-57.png (23.17 KiB) Viewed 311 times
annlee
 
Posts: 35
Joined: Thu Oct 08, 2015 3:25 pm

by Rostislav » Mon May 30, 2016 2:56 pm

Hi,

My detective senses tell me that you have the stack bars option on and some of your bars have zero value, hence it's showing the labels apparently twice, but in actuality once for every bar (just some of the bars don't have any height).

Easiest solution would be to conditionally display labels. Clear the Format field and add the following code to the Template field:

Code: Select all
#=data.value && data.value.toString().length ? data.value +' something' : ''  #
User avatar
Rostislav
 
Posts: 61
Joined: Fri Oct 09, 2015 10:51 am


Return to Dashboard Designer for SharePoint 2013