sparkline-ag凯发旗舰厅
com.spire.xls
class sparkline
java.lang.object
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.
sparkline
public sparkline(sparklinegroup group)
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