ChartLegendItemLineSettingsTagHelper
Example
Razor
<line/>
Attributes
| Attribute | Type | Description |
|---|---|---|
| color | String | The color of the legend item of type line. Accepts a valid CSS color string, including HEX and RGB. Defaults to the series color. |
| dash-type | DashType | The dash type of the legend item of type line.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line. |
| opacity | Double | The opacity of the legend item of type line. Defaults to the series opacity. |