Class Index

Classes


Class $.wijmo.wijspread.SparklineSetting

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates the sparkline settings.
Method Summary
Method Attributes Method Name and Description
 
axisColor(value)
Gets or sets the color of the axis.
 
Clones sparkline settings.
 
Gets or sets the color of the first data point for each sparkline in this sparkline group.
 
Gets or sets the color of the highest data point for each sparkline in this sparkline group.
 
Gets or sets the color of the last data point for each sparkline in this sparkline group.
 
Gets or sets the color of the lowest data point for each sparkline in this sparkline group.
 
markersColor(value)
Gets or sets a value that specifies the color of the data markers for each sparkline in this sparkline group.
 
Gets or sets a value that specifies the color of the negative data points for each sparkline in this sparkline group.
 
seriesColor(value)
Gets or sets a value that specifies the color for each sparkline in this sparkline group.
 
showFirst(value)
Gets or sets a value that indicates whether the first data point is formatted differently for each sparkline in this sparkline group.
 
showHigh(value)
Gets or sets a value that specifies whether the data points with the highest value are formatted differently for each sparkline in this sparkline group.
 
showLast(value)
Gets or sets a value that indicates whether the last data point is formatted differently for each sparkline in this sparkline group.
 
showLow(value)
Gets or sets a value that specifies whether the data points with the lowest value are formatted differently for each sparkline in this sparkline group.
 
showMarkers(value)
Gets or sets a value that specifies whether data markers are displayed for each sparkline in this sparkline group.
 
showNegative(value)
Gets or sets a value that specifies whether the negative data points are formatted differently for each sparkline in this sparkline group.
 
Converts to JSON.
Class Detail
$.wijmo.wijspread.SparklineSetting()
Creates the sparkline settings.
var data = new $.wijmo.wijspread.Range(1, 0, 8, 1);
var setting = new $.wijmo.wijspread.SparklineSetting();
setting.showMarkers(true);
setting.lineWeight = 3;
setting.displayXAxis = true;
setting.showFirst(true);
setting.showLast(true);
setting.showLow(true);
setting.showHigh(true);
setting.showNegative(true);
setting.seriesColor('Text 2 1');
setting.firstMarkerColor('Text 2 3');
setting.negativeColor('Accent 2 1');
setting.markersColor('Accent 3 1');
setting.lowMarkerColor('Accent 4 1');
setting.highMarkerColor('Accent 6 1');
setting.lastMarkerColor('Accent 6 6');
setting.axisColor('Text 1 1');
sheet.addSpan(13, 0, 4, 3, null);
sheet.setSparkline(13, 0, data
, $.wijmo.wijspread.DataOrientation.Vertical
, $.wijmo.wijspread.SparklineType.line
, setting
);
sheet.setValue(1, 0, 1);
sheet.setValue(2, 0, -2);
sheet.setValue(3, 0, -1);
sheet.setValue(4, 0, 6);
sheet.setValue(5, 0, 4);
sheet.setValue(6, 0, -4);
sheet.setValue(7, 0, 3);
sheet.setValue(8, 0, 8);
Method Detail
{string} axisColor(value)
Gets or sets the color of the axis.
Parameters:
{string} value
The axis color.
Returns:
{string} The axis color.

clone()
Clones sparkline settings.

{string} firstMarkerColor(value)
Gets or sets the color of the first data point for each sparkline in this sparkline group.
Parameters:
{string} value
The first marker color.
Returns:
{string} The first marker color.

{string} highMarkerColor(value)
Gets or sets the color of the highest data point for each sparkline in this sparkline group.
Parameters:
{string} value
The highest marker color.
Returns:
{string} The highest marker color.

{string} lastMarkerColor(value)
Gets or sets the color of the last data point for each sparkline in this sparkline group.
Parameters:
{string} value
The last marker color.
Returns:
{string} The last marker color.

{string} lowMarkerColor(value)
Gets or sets the color of the lowest data point for each sparkline in this sparkline group.
Parameters:
{string} value
The lowest marker color.
Returns:
{string} The lowest marker color.

{string} markersColor(value)
Gets or sets a value that specifies the color of the data markers for each sparkline in this sparkline group.
Parameters:
{string} value
The marker color.
Returns:
{string} The marker color.

{string} negativeColor(value)
Gets or sets a value that specifies the color of the negative data points for each sparkline in this sparkline group.
Parameters:
{string} value
The negative marker color.
Returns:
{string} The negative marker color.

{string} seriesColor(value)
Gets or sets a value that specifies the color for each sparkline in this sparkline group.
Parameters:
{string} value
The marker color.
Returns:
{string} The marker color.

{boolean} showFirst(value)
Gets or sets a value that indicates whether the first data point is formatted differently for each sparkline in this sparkline group.
Parameters:
{bpolean} value
Whether to display the first data point with a different format.
Returns:
{boolean} true if the first data point is formatted differently; otherwise, false.

{boolean} showHigh(value)
Gets or sets a value that specifies whether the data points with the highest value are formatted differently for each sparkline in this sparkline group.
Parameters:
{boolean} value
Whether to display the highest data point with a different format.
Returns:
{boolean} true if the highest data point is formatted differently; otherwise, false.

{boolean} showLast(value)
Gets or sets a value that indicates whether the last data point is formatted differently for each sparkline in this sparkline group.
Parameters:
{boolean} value
Whether to display the last data point with a different format.
Returns:
{boolean} true if the last data point is formatted differently; otherwise, false.

{boolean} showLow(value)
Gets or sets a value that specifies whether the data points with the lowest value are formatted differently for each sparkline in this sparkline group.
Parameters:
{boolean} value
Whether to display the lowest data point with a different format.
Returns:
{boolean} true if the lowest data point is formatted differently; otherwise, false.

{boolean} showMarkers(value)
Gets or sets a value that specifies whether data markers are displayed for each sparkline in this sparkline group.
Parameters:
{boolean} value
Whether to display data markers.
Returns:
{boolean} true if the data markers are displayed; otherwise, false.

{boolean} showNegative(value)
Gets or sets a value that specifies whether the negative data points are formatted differently for each sparkline in this sparkline group.
Parameters:
{boolean} value
Whether to display the negative data points with a different format.
Returns:
{boolean} true if the negative data points are formatted differently; otherwise, false.

toJSON()
Converts to JSON.

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