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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Label Chart Hide Label from Legend if no value in Label Field

keriw
1-Newbie

Label Chart Hide Label from Legend if no value in Label Field

I am dynamically loading a LabelChart, it returns DataFields 1- 20 and correspondingly DataLabels1 -20.  If the DataLabel is empty (not populated), then I want to hit the label and it's color from showing up in the legend.  Is there an easy way to do this, I don't see a visibility option on the datalabels.


Thanks,


Keri



1 REPLY 1
qn
1-Newbie
1-Newbie
(To:keriw)

You could do this by not returning the DataField. The problem is the DataShape used. According to your chart, every DataLabel is showed in the legend. In oder to show different types of legend, many DataShape must be created before.

Is it important to have each DataLabel in the legend, or is it enough to have every DataLabel under their bar / marker ?

Top Tags