Represents a legend in a IgxDataChartComponent control.
The Legend helps end-user identify visuals of chart series with contextual information related to the data plotted in the chart control.
Legend
<igx-data-chart [dataSource]="data" [legend]="legend"> <igx-category-x-axis label="label" #xAxis> </igx-category-x-axis> <igx-numeric-y-axis #yAxis> </igx-numeric-y-axis> <igx-line-series [xAxis]="xAxis" [yAxis]="yAxis" valueMemberPath="value"> </igx-line-series></igx-data-chart> <igx-legend #legend></igx-legend>
public legend : IgxLegendComponent;
Static
Gets if the legend is a financial legend.
Gets if the legend is item-wise.
Gets or sets the current Legend object's orientation.
Gets or sets color of text
Gets or sets style of text.
Returns the legend visuals expressed as a serialized string.
Represents a legend in a IgxDataChartComponent control.
The
Legend
helps end-user identify visuals of chart series with contextual information related to the data plotted in the chart control.