MindFusion.Charting Programmer's Guide

ChartElement Class

Remarks See Also
 





Base class for all chart elements - Bar, Line, Scatter, Bubble, PiePiece and RadarPiece.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public abstract class ChartElement

Visual Basic  Copy Code

Public MustInherit Class ChartElement

JavaScript  Copy Code

// class
ChartElement.prototype = {}

 Remarks

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, HitTestBubbleHitTestLine, HitTestPie and HitTestRadar, HitTestScatter. Both the chart - specific and the general method might return null, so always check.

 Inheritance Hierarchy

System.Object
    MindFusion.Charting.ChartElement
        MindFusion.Charting.Bar
        MindFusion.Charting.Bubble
        MindFusion.Charting.Line
        MindFusion.Charting.PiePiece
        MindFusion.Charting.RadarPiece
        MindFusion.Charting.Scatter

 See Also