Spread Windows Forms 7.0 Product Documentation
GetSparkLineData Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ExcelSparkline Class : GetSparkLineData Method


Glossary Item Box

Gets the sparkline data used for rendering.

Syntax

Visual Basic (Declaration) 
Public Overrides Function GetSparkLineData() As Object
Visual Basic (Usage)Copy Code
Dim instance As ExcelSparkline
Dim value As Object
 
value = instance.GetSparkLineData()
C# 
public override object GetSparkLineData()

Example

This example uses the GetSparkLineData method.
C#Copy Code
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();
Visual BasicCopy Code
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)

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.