aspose.cells
Class Sparkline

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

Property Getters/Setters Summary
functiongetColumn()
           Gets the column index of the sparkline.
functiongetDataRange()
functionsetDataRange(value)
           Represents the data range of the sparkline.
functiongetRow()
           Gets the row index of the sparkline.
 
Method Summary
functiontoImage(stream, options)
           Converts a sparkline to an image.
functiontoImage(fileName, options)
           Converts a sparkline to an image.
 

Property Getters/Setters Detail

getDataRange/setDataRange : String 

function getDataRange() / function setDataRange(value)
Represents the data range of the sparkline.

getRow : Number 

function getRow()
Gets the row index of the sparkline.

getColumn : Number 

function getColumn()
Gets the column index of the sparkline.

Method Detail

toImage

function toImage(fileName, options)
Converts a sparkline to an image.
Parameters:
fileName: String - The image file name.
options: ImageOrPrintOptions - The image options

toImage

function toImage(stream, options)
Converts a sparkline to an image.
Parameters:
stream: OutputStream - The image stream.
options: ImageOrPrintOptions - The image options.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.