Class ChartDataPointImpl
Represents data point in the chart.
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Charts
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class ChartDataPointImpl : CommonObject, IDisposable, IChartDataPoint, IParentApplication
Constructors
ChartDataPointImpl(IApplication, Object, Int32)
Initializes new instance and sets its application and parent objects.
Declaration
public ChartDataPointImpl(IApplication application, object parent, int index)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object. |
System.Object | parent | Parent object. |
System.Int32 | index | Index of the data point. |
Properties
DataFormat
Gets or sets the data format.
Declaration
public IChartSerieDataFormat DataFormat { get; }
Property Value
Type |
---|
IChartSerieDataFormat |
DataFormatOrNull
Returns data format or null.
Declaration
public ChartSerieDataFormatImpl DataFormatOrNull { get; }
Property Value
Type |
---|
ChartSerieDataFormatImpl |
DataLabels
Gets the data labels object for the data point. Read-only.
Declaration
public IChartDataLabels DataLabels { get; }
Property Value
Type |
---|
IChartDataLabels |
HasDataLabels
Indicates whether data labels object was created for this data point. Read-only.
Declaration
public bool HasDataLabels { get; }
Property Value
Type |
---|
System.Boolean |
Index
Gets index of the point in the points collection.
Declaration
public int Index { get; set; }
Property Value
Type |
---|
System.Int32 |
InnerDataFormat
Gets /sets inner data format.
Declaration
public ChartSerieDataFormatImpl InnerDataFormat { get; set; }
Property Value
Type |
---|
ChartSerieDataFormatImpl |
IsDefault
True if the data point is a default one. otherwise False. Read-only.
Declaration
public bool IsDefault { get; }
Property Value
Type |
---|
System.Boolean |
IsDefaultmarkertype
True if the data point has default marker object. otherwise False.
Declaration
public bool IsDefaultmarkertype { get; set; }
Property Value
Type |
---|
System.Boolean |
SetAsTotal
True if the data point is considered as Subtotals or Totals. otherwise False.
Declaration
public bool SetAsTotal { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
Applies only to Waterfall charts.
Methods
ChangeChartStockHigh_Low_CloseType()
Changes data format to create ChartStockHighLowClose chart type.
Declaration
public void ChangeChartStockHigh_Low_CloseType()
ChangeChartStockVolume_High_Low_CloseType()
Changes data format to create ChartStockHighLowClose chart type.
Declaration
public void ChangeChartStockVolume_High_Low_CloseType()
ChangeIntimateBubble(ExcelChartType)
Changes intimate bubble series.
Declaration
public void ChangeIntimateBubble(ExcelChartType typeToChange)
Parameters
Type | Name | Description |
---|---|---|
ExcelChartType | typeToChange | Type to change. |
ChangeIntimateBuble(ExcelChartType)
Changes intimate bubble series.
Declaration
[Obsolete("This method is obsolete and will be removed soon. Please use ChangeIntimateBubble(ExcelChartType typeToChange) method. Sorry for inconvenience.")]
public void ChangeIntimateBuble(ExcelChartType typeToChange)
Parameters
Type | Name | Description |
---|---|---|
ExcelChartType | typeToChange | Type to change. |
ClearDataFormats(ChartSerieDataFormatImpl)
Clears data formats.
Declaration
public void ClearDataFormats(ChartSerieDataFormatImpl format)
Parameters
Type | Name | Description |
---|---|---|
ChartSerieDataFormatImpl | format | Represents format to update. |
Clone(Object, Dictionary<Int32, Int32>, Dictionary<String, String>)
Creates a new object that is a copy of the current instance.
Declaration
public object Clone(object parent, Dictionary<int, int> dicFontIndexes, Dictionary<string, string> dicNewSheetNames)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parent | Parent object for the cloned object. |
System.Collections.Generic.Dictionary<System.Int32, System.Int32> | dicFontIndexes | New font indexes. |
System.Collections.Generic.Dictionary<System.String, System.String> | dicNewSheetNames | Dictionary with new worksheet names. |
Returns
Type | Description |
---|---|
System.Object | A new object that is a copy of this instance. |
CloneDataFormat(ChartSerieDataFormatImpl)
Updates current data format.
Declaration
public void CloneDataFormat(ChartSerieDataFormatImpl serieFormat)
Parameters
Type | Name | Description |
---|---|---|
ChartSerieDataFormatImpl | serieFormat | Represents data format for update. |
OnDispose()
This method is called during dispose operation.
Declaration
protected override void OnDispose()
Overrides
SerializeDataFormat(OffsetArrayList)
Serializes used data formats.
Declaration
[CLSCompliant(false)]
public void SerializeDataFormat(OffsetArrayList records)
Parameters
Type | Name | Description |
---|---|---|
OffsetArrayList | records | List to serialize into. |
SerializeDataLabels(OffsetArrayList)
Serializes data labels data.
Declaration
[CLSCompliant(false)]
public void SerializeDataLabels(OffsetArrayList records)
Parameters
Type | Name | Description |
---|---|---|
OffsetArrayList | records | List to serialize into. |
SetDataLabels(ChartTextAreaImpl)
Sets data labels text area format.
Declaration
public void SetDataLabels(ChartTextAreaImpl textArea)
Parameters
Type | Name | Description |
---|---|---|
ChartTextAreaImpl | textArea | Text area to set. |
UpdateSerieIndex()
Updates Series index.
Declaration
public void UpdateSerieIndex()