Class Index

Classes


Class $.wijmo.wijspread.Sparkline

Class Summary
Constructor Attributes Constructor Name and Description
 
$.wijmo.wijspread.Sparkline(row, column, dataReference, dataOrientation, type, setting)
Constructs a Sparkline object.
Method Summary
Method Attributes Method Name and Description
 
Clones a sparkline.
 
data(value)
Gets or sets the data object.
 
Gets or sets the data orientation.
 
dateAxisData(value)
Gets or sets the date axis data object.
 
Gets or sets the date axis orientation.
 
Gets or sets a value that indicates whether to display the date axis.
 
group(value)
Gets or sets the sparkline group.
 
Processes the sparkline changed event.
 
paintSparkline(ctx, x, y, w, h)
Paints the sparkline in the specified area.
 
setting(value)
Gets or sets the sparkline setting of the cell.
 
Gets or sets the type of the sparkline.
 
Converts the sparkline data to JSON.
Class Detail
$.wijmo.wijspread.Sparkline(row, column, dataReference, dataOrientation, type, setting)
Constructs a Sparkline object.
Parameters:
{number} row
The row index.
{number} column
The column index.
{$.wijmo.wijspread.Range} dataReference
The data range to which the sparkline refers.
{$.wijmo.wijspread.DataOrientation} dataOrientation
The orientation of the data range.
{$.wijmo.wijspread.SparklineType} type
The type of sparkline.
{$.wijmo.wijspread.SparklineSetting} setting
The setting of the sparkline.
Method Detail
clone()
Clones a sparkline.

{$.wijmo.wijspread.Range} data(value)
Gets or sets the data object.
Parameters:
{$.wijmo.wijspread.Range} value
The sparkline data.
Returns:
{$.wijmo.wijspread.Range} The sparkline data.

{$.wijmo.wijspread.DataOrientation} dataOrientation(value)
Gets or sets the data orientation.
Parameters:
{$.wijmo.wijspread.DataOrientation} value
The sparkline data orientation.
Returns:
{$.wijmo.wijspread.DataOrientation} The sparkline data orientation.

{$.wijmo.wijspread.Range} dateAxisData(value)
Gets or sets the date axis data object.
Parameters:
{$.wijmo.wijspread.Range} value
The sparkline date axis data.
Returns:
{$.wijmo.wijspread.Range} The sparkline date axis data.

{$.wijmo.wijspread.DataOrientation} dateAxisOrientation(value)
Gets or sets the date axis orientation.
Parameters:
{$.wijmo.wijspread.DataOrientation} value
The sparkline date axis orientation.
Returns:
{$.wijmo.wijspread.DataOrientation} The sparkline date axis orientation.

{boolean} displayDateAxis(value)
Gets or sets a value that indicates whether to display the date axis.
Parameters:
{boolean} value
Whether to display the date axis.
Returns:
{boolean} true if the date axis is displayed; otherwise, false.

{$.wijmo.wijspread.SparklineGroup} group(value)
Gets or sets the sparkline group.
Parameters:
{$.wijmo.wijspread.SparklineGroup} value
The sparkline group.
Returns:
{$.wijmo.wijspread.SparklineGroup} The sparkline group.

{$.wijmo.wijspread.SparklineType} onSparklineChanged(value)
Processes the sparkline changed event.
Parameters:
{$.wijmo.wijspread.SparklineType} value
The sparkline type.
Returns:
{$.wijmo.wijspread.SparklineType} The sparkline type.

paintSparkline(ctx, x, y, w, h)
Paints the sparkline in the specified area.
Parameters:
ctx
x
y
w
h

{$.wijmo.wijspread.SparklineSetting} setting(value)
Gets or sets the sparkline setting of the cell.
Parameters:
{$.wijmo.wijspread.SparklineSetting} value
The sparkline setting.
Returns:
{$.wijmo.wijspread.SparklineSetting} The sparkline setting.

{$.wijmo.wijspread.SparklineType} sparklineType(value)
Gets or sets the type of the sparkline.
Parameters:
{$.wijmo.wijspread.SparklineType} value
The sparkline type.
Returns:
{$.wijmo.wijspread.SparklineType} The sparkline type.

toJSON()
Converts the sparkline data to JSON.

©2013. ComponentOne, a division of GrapeCity. All Rights Reserved.