1 Reply Latest reply on Dec 2, 2015 5:30 AM by qn RSS
    keriw Apprentice

    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



      • Re: Label Chart Hide Label from Legend if no value in Label Field
        qn Communicator

        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 ?