WPF Charting Documentation - SciChart WPF Charts SDK v5.x
BasePointMarker Class
Members  Example 
A base class for Bitmap-rendered Point-Markers, which are small markers drawn once per data-point on a BaseRenderableSeries
Object Model
BasePointMarker ClassIPointMarkerBatchStrategy InterfaceIRenderableSeries InterfaceIRenderPassData InterfaceIDataSeries InterfaceIPaletteProvider InterfaceIServiceContainer InterfaceIAxis InterfaceIAxis Interface
Syntax
public abstract class BasePointMarker : System.Windows.Controls.ContentControl, IPointMarker  
Remarks
BasePointMarker derived types use fast bitmap rendering to draw data-points to the screen. This means that traditional WPF style tooltips won't work. For that we need to use the HitTest API. Please see the HitTest sections of the user manual for more information
Example
Shows how to create a derived class of BasePointMarker to render a custom pointmarker
public class CustomPointMarker : BasePointMarker
{
    protected override void DrawInternal(IRenderContext2D context, IEnumerable<Point> centers, IPen2D pen, IBrush2D brush)
    {
        // TODO: Render a single point marker using IRenderContext2D
    }
}
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.ContentControl
                        SciChart.Charting.Visuals.PointMarkers.BasePointMarker
                           SciChart.Charting.Visuals.PointMarkers.BitmapSpriteBase

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BasePointMarker Members
SciChart.Charting.Visuals.PointMarkers Namespace
BasePointMarker Class
BitmapSpriteBase Class
CrossPointMarker Class
EllipsePointMarker Class
InvertedTrianglePointMarker Class
SpritePointMarker Class
SquarePointMarker Class
TrianglePointMarker Class
XPointMarker Class

 

 


SCICHART ® is a Registered Trademark in the UK, US and EU. Copyright SciChart Ltd 2011-2018.

Send Feedback