Aspose::Cells::Charts::ISparkline Class Referenceabstract

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

Inherits Object.

Public Member Functions

virtual intrusive_ptr< Aspose::Cells::Systems::String > GetDataRange ()=0
 Represents the data range of the sparkline. More...
 
virtual void SetDataRange (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Represents the data range of the sparkline. More...
 
virtual Aspose::Cells::Systems::Int32 GetRow ()=0
 Gets the row index of the sparkline. More...
 
virtual Aspose::Cells::Systems::Int32 GetColumn ()=0
 Gets the column index of the sparkline. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Drawing::Bitmap > ToImage (intrusive_ptr< Aspose::Cells::Rendering::IImageOrPrintOptions > options)=0
 Converts a sparkline to an image. More...
 
virtual void ToImage (intrusive_ptr< Aspose::Cells::Systems::String > fileName, intrusive_ptr< Aspose::Cells::Rendering::IImageOrPrintOptions > options)=0
 Converts a sparkline to an image. More...
 
virtual void ToImage (intrusive_ptr< Aspose::Cells::Systems::IO::Stream > stream, intrusive_ptr< Aspose::Cells::Rendering::IImageOrPrintOptions > options)=0
 Converts a sparkline to an image. More...
 

Detailed Description

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

Member Function Documentation

◆ GetColumn()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Charts::ISparkline::GetColumn ( )
pure virtual

Gets the column index of the sparkline.

◆ GetDataRange()

virtual intrusive_ptr<Aspose::Cells::Systems::String> Aspose::Cells::Charts::ISparkline::GetDataRange ( )
pure virtual

Represents the data range of the sparkline.

◆ GetRow()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Charts::ISparkline::GetRow ( )
pure virtual

Gets the row index of the sparkline.

◆ SetDataRange()

virtual void Aspose::Cells::Charts::ISparkline::SetDataRange ( intrusive_ptr< Aspose::Cells::Systems::String >  value)
pure virtual

Represents the data range of the sparkline.

◆ ToImage() [1/3]

virtual intrusive_ptr<Aspose::Cells::Systems::Drawing::Bitmap> Aspose::Cells::Charts::ISparkline::ToImage ( intrusive_ptr< Aspose::Cells::Rendering::IImageOrPrintOptions options)
pure virtual

Converts a sparkline to an image.

Parameters
optionsThe image options
Returns
Returns a Bitmap object.

◆ ToImage() [2/3]

virtual void Aspose::Cells::Charts::ISparkline::ToImage ( intrusive_ptr< Aspose::Cells::Systems::String >  fileName,
intrusive_ptr< Aspose::Cells::Rendering::IImageOrPrintOptions options 
)
pure virtual

Converts a sparkline to an image.

Parameters
fileNameThe image file name.
optionsThe image options

◆ ToImage() [3/3]

virtual void Aspose::Cells::Charts::ISparkline::ToImage ( intrusive_ptr< Aspose::Cells::Systems::IO::Stream >  stream,
intrusive_ptr< Aspose::Cells::Rendering::IImageOrPrintOptions options 
)
pure virtual

Converts a sparkline to an image.

Parameters
streamThe image stream.
optionsThe image options.