Class ChartCustomPoint
The ChartCustomPoint class can be used to set text or symbols at a particular point on the chart area.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class ChartCustomPoint
Constructors
ChartCustomPoint()
Initializes a new instance of ChartCustomPoint class.
Declaration
public ChartCustomPoint()
Properties
Alignment
Gets or sets the alignment of the text in relation to the point.
Declaration
public ChartTextOrientation Alignment { get; set; }
Property Value
Type |
---|
ChartTextOrientation |
Border
Gets or sets the border information that is to be associated with this custom point.
Declaration
public ChartLineInfo Border { get; set; }
Property Value
Type |
---|
ChartLineInfo |
Color
Gets or sets the color of the text.
Declaration
public Color Color { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
CustomType
Indicates how the XValue and YValue will be used.
Declaration
public ChartCustomPointType CustomType { get; set; }
Property Value
Type |
---|
ChartCustomPointType |
DateXValue
Gets or sets the X value of the custom point when the primary X axis of the chart is DateTime.
Declaration
public DateTime DateXValue { get; set; }
Property Value
Type |
---|
System.DateTime |
DateYValue
Gets or sets the Y value of the custom point when the primary Y axis of the chart is DateTime.
Declaration
public DateTime DateYValue { get; set; }
Property Value
Type |
---|
System.DateTime |
Font
Gets or sets the font of the text.
Declaration
public ChartFontInfo Font { get; set; }
Property Value
Type |
---|
ChartFontInfo |
Images
Gets or sets the image list to be used.
Declaration
public ChartImageCollection Images { get; set; }
Property Value
Type |
---|
ChartImageCollection |
Interior
Gets or sets the interior brush information that is to be associated with this custom point.
Declaration
public BrushInfo Interior { get; set; }
Property Value
Type |
---|
BrushInfo |
Offset
Gets or sets the offset of text that is to be associated with this point, from the rendering position of this point.
Declaration
public float Offset { get; set; }
Property Value
Type |
---|
System.Single |
PointIndex
Gets or sets the index of the point to be followed. PointFollow
Declaration
public int PointIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
SeriesIndex
Gets or sets the index of the series that holds the point to be followed. PointFollow
Declaration
public int SeriesIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
ShowMarker
Gets or sets a value indicating whether marker is visible.
Declaration
public bool ShowMarker { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Symbol
Gets or sets the symbol information that is to be associated with the custom point.
Declaration
public ChartSymbolInfo Symbol { get; set; }
Property Value
Type |
---|
ChartSymbolInfo |
Text
Gets or sets the text of the custom point.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
XValue
Gets or sets the Y value of the custom point when the primary Y axis of the chart is of type double.
Declaration
public double XValue { get; set; }
Property Value
Type |
---|
System.Double |
YValue
Gets or sets the X value of the custom point when the primary X axis of the chart is of type double.
Declaration
public double YValue { get; set; }
Property Value
Type |
---|
System.Double |
Methods
AddShape(DrawShape)
Assign the Shape class properties values to custom point to draw in the chartarea
Declaration
public DrawShape AddShape(DrawShape shape)
Parameters
Type | Name | Description |
---|---|---|
DrawShape | shape | The chart custom point shape |
Returns
Type |
---|
DrawShape |
Events
SettingsChanged
An event that is triggered when settings is changed.
Declaration
public event EventHandler SettingsChanged
Event Type
Type |
---|
System.EventHandler |