Base class for all chart elements - Bar, Line, Scatter, Bubble, PiePiece and RadarPiece.
Namespace: MindFusion.Charting
Assembly: MindFusion.Charting
C#
![]() |
---|
public abstract class ChartElement |
Visual Basic
![]() |
---|
Public MustInherit Class ChartElement |
Objects of type ChartElement are returned by the HitTest method. The result must be converted according to the type of the chart that is hit-tested.
Conversion can be omitted if you use any of the chart - specific methods for hit-testing: HitTestBar, HitTestBubble, HitTestLine, HitTestPie and HitTestRadar, HitTestScatter. Both the chart - specific and the general method might return null, so always check.
System.Object
MindFusion.Charting.ChartElement
MindFusion.Charting.Bar
MindFusion.Charting.Bubble
MindFusion.Charting.Line
MindFusion.Charting.PiePiece
MindFusion.Charting.RadarPiece
MindFusion.Charting.Scatter