sparkline-ag凯发旗舰厅



com.spire.xls
class sparkline

java.lang.object
  extended by com.spire.xls.sparkline
all implemented interfaces:
isparkline

public class sparkline
extends java.lang.object
implements isparkline

a sparkline represents a tiny chart or graphic in a worksheet cell that provides a visual representation of data.


constructor summary
sparkline(sparklinegroup group)
           
 
method summary
 int getcolumn()
          gets the column index of a sparkline.
 cellrange getdatarange()
          represents the data range of the sparkline.
 cellrange getrefrange()
          represents the reference range of the sparkline.
 int getrow()
          gets the row index of a sparkline.
 void setdatarange(cellrange value)
          sets the data range of the sparkline.
 void setrefrange(cellrange cellrange)
          represents the reference range of the sparkline.
 
constructor detail

sparkline

public sparkline(sparklinegroup group)
method detail

getdatarange

public cellrange getdatarange()
represents the data range of the sparkline.
specified by:
getdatarange in interface isparkline
throws:
java.lang.exception - cref="argumentoutofrange" if the value.rows.length is not equal to 1.

setdatarange

public void setdatarange(cellrange value)
sets the data range of the sparkline.
parameters:
value - the data range.

getrefrange

public cellrange getrefrange()
represents the reference range of the sparkline.
specified by:
getrefrange in interface isparkline
throws:
java.lang.exception - cref="argumentoutofrange" if the value.rows.length and value.columns.length is not equal to 1;

setrefrange

public void setrefrange(cellrange cellrange)
represents the reference range of the sparkline.
specified by:
setrefrange in interface isparkline
parameters:
cellrange - the reference range.
throws:
java.lang.exception - cref="argumentoutofrange" if the value.rows.length and value.columns.length is not equal to 1;

getcolumn

public int getcolumn()
gets the column index of a sparkline.
specified by:
getcolumn in interface isparkline

getrow

public int getrow()
gets the row index of a sparkline.
specified by:
getrow in interface isparkline


网站地图