Spread Windows Forms 12.0 Product Documentation
GetSparkLineData Method (ExcelSparkline)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ExcelSparkline Class : GetSparkLineData Method
Gets the sparkline data used for rendering.
Syntax
'Declaration
 
Public Overrides Function GetSparkLineData() As Object
'Usage
 
Dim instance As ExcelSparkline
Dim value As Object
 
value = instance.GetSparkLineData()
public override object GetSparkLineData()
Example
This example uses the GetSparkLineData method.
FarPoint.Win.Spread.ExcelSparkline es = new FarPoint.Win.Spread.ExcelSparkline(0, 5, this.fpSpread1.Sheets[0], new FarPoint.Win.Spread.Model.CellRange(0, 0, 1, 5));
FarPoint.Win.Spread.Chart.CellRangeSegmentData crsd = (FarPoint.Win.Spread.Chart.CellRangeSegmentData)es.GetSparkLineData();
Dim es As New FarPoint.Win.Spread.ExcelSparkline(0, 5, Me.fpSpread1.Sheets(0), New FarPoint.Win.Spread.Model.CellRange(0, 0, 1, 5))
Dim crsd As FarPoint.Win.Spread.Chart.CellRangeSegmentData = DirectCast(es.GetSparkLineData(), FarPoint.Win.Spread.Chart.CellRangeSegmentData)
See Also

Reference

ExcelSparkline Class
ExcelSparkline Members