VariableGeometryVisual
Class
Assembly LiveChartsCore
Namespace LiveChartsCore.VisualElements
Summary:
Defines a visual element that is useful to create series miniatures in the tool tips and legends.
Implements:
Constructors
// Defines a visual element that is useful to create series miniatures in the tool tips and legends.
| BoundedDrawnGeometry geometry | // |
)
Properties
Gets or sets the geometry.
Type: BoundedDrawnGeometry
Type: BoundedDrawnGeometry
Gets or sets the z-index applied to every paint produced by this visual element.
When 0 (default) the underlying paint z-index is left untouched, which means the
visual is drawn behind series whose paints sit at SeriesId + offset.
Set a positive value (e.g. 1000) to render the visual on top of series.
Type: Int32
Type: Int32
Events
Occurs when the geometry is initialized.
Handler definition: Action<BoundedDrawnGeometry>
Handler definition: Action<BoundedDrawnGeometry>
Called when the pointer goes down on the visual.
Handler definition: VisualElementHandler
Handler definition: VisualElementHandler
Occurs when a property value changes.
Handler definition: PropertyChangedEventHandler
Handler definition: PropertyChangedEventHandler
Methods
// Gets the hit box, an area where the user can interact with the object.