Spread ASP.NET 6.0 Product Documentation
GetSparkLineData Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.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 creates sparklines.
C#Copy Code
FarPoint.Web.Spread.ExcelSparkline es = new FarPoint.Web.Spread.ExcelSparkline(0, 5, this.fpSpread1.Sheets[0], new FarPoint.Web.Spread.Model.CellRange(0, 0, 1, 5));
FarPoint.Web.Spread.Chart.CellRangeSegmentData crsd = (FarPoint.Web.Spread.Chart.CellRangeSegmentData)es.GetSparkLineData();
Visual BasicCopy Code
Dim es As New FarPoint.Web.Spread.ExcelSparkline(0, 5, Me.fpSpread1.Sheets(0), New FarPoint.Web.Spread.Model.CellRange(0, 0, 1, 5))
Dim crsd As FarPoint.Web.Spread.Chart.CellRangeSegmentData = DirectCast(es.GetSparkLineData(), FarPoint.Web.Spread.Chart.CellRangeSegmentData)

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.