getFirstLegend();
The getFirstLegend method returns the first of all legends for the chart.
The method returns an object which base type is the PP.Ui.LegendBase.
The example of method use is given in the page with description of the DataVisualizer.UseLegendsPacking property.
See also: