Package com.grapecity.documents.excel
Interface ISparkline
public interface ISparkline
Represents a single sparkline.
-
Method Summary
Modifier and TypeMethodDescriptionvoidGenerate the sparkline from the json stringGets or sets the location of a single sparkline.Gets the range that contains the source data for a single sparkline.voidsetLocation(IRange value) Sets the location of a single sparkline.voidsetSourceData(String value) Sets the range that contains the source data for a single sparkline.toJson()Generate the json string from sparkline
-
Method Details
-
getLocation
IRange getLocation()Gets or sets the location of a single sparkline.- Returns:
- The location of a single sparkline.
-
setLocation
Sets the location of a single sparkline. -
getSourceData
String getSourceData()Gets the range that contains the source data for a single sparkline. -
setSourceData
Sets the range that contains the source data for a single sparkline. -
fromJson
Generate the sparkline from the json string- Parameters:
json- The JSON string representing the sparkline.
-
toJson
String toJson()Generate the json string from sparkline- Returns:
- The JSON string representing the sparkline.
-