API Reference
ChartBarVisualStyle
Defines reusable visual tokens for bar and horizontal-bar marks.
Inheritance
- Object
- ChartBarVisualStyle
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method Chart.WithBarVisualStyle
- Method Chart.WithBarVisualStyle
Methods
Clone() #Creates a copy that can be safely reused and customized.
DashboardCapsule() #Creates a soft dashboard capsule style for stacked or grouped bars.
Solid() #Creates the default solid bar style.
WithBodyOpacity(System.Double arg1) #Sets the opacity used for translucent segment bodies.
Parameters
- arg1 System.Double
WithCapHighlight(System.Double arg1) #Sets the white highlight opacity drawn over value-edge caps.
Parameters
- arg1 System.Double
WithCapInset(System.Double arg1) #Sets the inset from the segment edge before a rounded cap starts.
Parameters
- arg1 System.Double
WithCapOpacity(System.Double arg1) #Sets the opacity used for value-edge caps.
Parameters
- arg1 System.Double
WithCapShadow(System.Double arg1, System.Double arg2) #Sets the soft cap shadow opacity and offset in pixels.
Parameters
- arg1 System.Double
- arg2 System.Double
WithCapShadow(System.Double arg1, System.Double arg2, System.Double arg3) #Sets the soft cap shadow opacity, offset, and spread in pixels.
Parameters
- arg1 System.Double
- arg2 System.Double
- arg3 System.Double
WithCornerRadius(System.Double arg1) #Sets the maximum translucent segment body corner radius in pixels.
Parameters
- arg1 System.Double
WithKind(ChartForgeX.Core.ChartBarStyle arg1) #Sets the bar visual treatment.
Parameters
- arg1 ChartForgeX.Core.ChartBarStyle
Properties
Kind #Gets or sets the bar visual treatment.
BodyOpacity #Gets or sets the opacity used for translucent segment bodies.
CapOpacity #Gets or sets the opacity used for value-edge caps.
CapThickness #Gets or sets the cap thickness in pixels.
CapInset #Gets or sets the inset from the segment edge before a rounded cap starts.
CornerRadius #Gets or sets the maximum translucent segment body corner radius in pixels.
CapShadowOpacity #Gets or sets the soft cap shadow opacity.
CapShadowOffset #Gets or sets the cap shadow offset in pixels.
CapShadowSpread #Gets or sets the extra soft-shadow thickness around value-edge caps.
CapHighlightOpacity #Gets or sets the white highlight opacity drawn over value-edge caps.