SpritePointMarker
StockSharp.Xaml.Charting.Visuals.PointMarkers
Allows any WPF UIElement to be rendered as a Sprite (bitmap) at each each data-point location using the following XAML syntax
Inherits: BasePointMarker
Implements: IPointMarker
Methods
Dispose
public override void Dispose()
spritePointMarker.Dispose()
Disposes any cached resources, e.g. when the Fill or Stroke is changed, any cached pens or brushes are also disposed
DrawInternal
protected override void DrawInternal(IRenderContext2D context, IEnumerable<Point> centers, IPen2D pen, IBrush2D brush)
spritePointMarker.DrawInternal(context, centers, pen, brush)
When overridden in a derived class, draws the point markers at specified collection of Point centers
- context
- The RenderContext to draw with
- centers
- The Centres of the point markers
- pen
- The default Stroke pen (if current pen is not set)
- brush
- The default Fill brush (if current brush is not set)