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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

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

keriw
12-Amethyst

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
12-Amethyst
12-Amethyst
(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 ?

Announcements


Top Tags