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.
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 ?