ILegendItemProvider.GetLegendItems(Palette, Boolean, Color, Font, Boolean, Size) Method
Returns the legend items that the provider creates for a legend.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v20.2.dll
NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts
Declaration
List<LegendItem> GetLegendItems(
Palette palette,
bool legendTextVisible,
Color legendTextColor,
Font legendFont,
bool legendMarkerVisible,
Size legendMarkerSize
)
Parameters
Name | Type | Description |
---|---|---|
palette | Palette | The palette, which the provider should use to select colors. |
legendTextVisible | Boolean | The value that specifies whether the legend text is visible. |
legendTextColor | Color | The legend text color. |
legendFont | Font | The legend text font. |
legendMarkerVisible | Boolean | The value that specifies whether the legend marker is visible. |
legendMarkerSize | Size | The legend marker size. |
Returns
Type | Description |
---|---|
List<LegendItem> | A list of LegendItem objects, which the provider creates. |
See Also