Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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