API Reference
ChartLineVisualStyle
Defines reusable visual tokens for line, area boundary, trend, and slope strokes.
Inheritance
- Object
- ChartLineVisualStyle
Usage
Explore 14 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 10
- Method ChartLineVisualStyle.Classic
- Method ChartLineVisualStyle.Clone
- Method ChartLineVisualStyle.Luminous
- Method ChartLineVisualStyle.Plain
- Method ChartLineVisualStyle.Premium
- Method ChartLineVisualStyle.WithAmbientHalo
- Method ChartLineVisualStyle.WithHalo
- Method ChartLineVisualStyle.WithHighlight
- Property ChartOptions.LineVisualStyle
- Property TopologyRenderOptions.EdgeVisualStyle
Accepted by parameters 4
- Method Chart.ConfigureLineVisualStyle
- Method Chart.WithLineVisualStyle
- Extension method TopologyRenderOptions.WithTopologyEdgeVisualStyle
- Method TopologyRenderOptionsExtensions.WithTopologyEdgeVisualStyle
Constructors
public ChartLineVisualStyle() #Methods
public static ChartLineVisualStyle Classic() #ChartLineVisualStyleCreates the previous simpler line style with only a readable color halo.
public ChartLineVisualStyle Clone() #ChartLineVisualStyleCreates a copy that can be safely reused and customized.
public static ChartLineVisualStyle Luminous() #ChartLineVisualStyleCreates a stronger luminous line style for deliberate glow-heavy dashboard treatments.
public static ChartLineVisualStyle Plain() #ChartLineVisualStyleCreates a plain single-stroke line style without halo or highlight layers.
public ChartLineVisualStyle WithAmbientHalo(Double opacity, Double strokeExtra) #ChartLineVisualStyleSets the widest soft color halo opacity and extra stroke width.
Parameters
- opacity System.Double
- strokeExtra System.Double
public ChartLineVisualStyle WithHalo(Double opacity, Double strokeExtra) #ChartLineVisualStyleSets the readable stroke halo opacity and extra stroke width.
Parameters
- opacity System.Double
- strokeExtra System.Double
public ChartLineVisualStyle WithHighlight(Double opacity, Double strokeRatio = 0.3) #ChartLineVisualStyleSets the subtle white highlight opacity and stroke-width ratio.
Parameters
- opacity System.Double
- strokeRatio System.Double = 0.3
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public Double AmbientHaloOpacity { get; set; } #Gets or sets the opacity used for the widest soft color halo.
public Double AmbientHaloStrokeExtra { get; set; } #Gets or sets the extra width added to the line for the widest soft color halo.
public Double HaloOpacity { get; set; } #Gets or sets the opacity used for the readable stroke halo closest to the line.
public Double HaloStrokeExtra { get; set; } #Gets or sets the extra width added to the line for the readable stroke halo.
public Double HighlightOpacity { get; set; } #Gets or sets the opacity used for the subtle white line highlight.
public Double HighlightStrokeRatio { get; set; } #Gets or sets the highlight stroke width as a ratio of the foreground line stroke width.