LegendItem(String, Color, Color, Size, Boolean, Boolean) Constructor
Initializes a new instance of the LegendItem class with the specified settings.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.dll
NuGet Package: DevExpress.Charts
Declaration
public LegendItem(
string text,
Color markerColor,
Color textColor,
Size markerSize,
bool markerVisible,
bool textVisible
)
Parameters
Name | Type | Description |
---|---|---|
text | String | The text of the newly created legend item. |
markerColor | Color | The color of a legend marker of a newly created legend item. |
textColor | Color | The color of a text of the newly created legend item. |
markerSize | Size | The size of a legend marker of the newly created legend item. |
markerVisible | Boolean | The value that specifies whether the legend item’s marker is visible. |
textVisible | Boolean | The value that specifies whether the legend item’s text is visible. |
See Also