Class X14SparklineGroup
java.lang.Object
com.independentsoft.office.spreadsheet.extensions.X14SparklineGroup
Represents a sparkline group (x14:sparklineGroup element).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the axis color.Gets the color of the first value.Gets the color of the highest value.Gets the color of the last value.Gets the color of the lowest value.Gets the marker color.Gets the color for negative values.Gets the series color.Gets whether the horizontal axis is a date axis.Gets how empty cells are displayed ("gap", "zero" or "span").Gets whether data in hidden cells is plotted.Gets whether the horizontal axis is displayed.getFirst()Gets whether the first value is highlighted.Gets the date range formula of the date axis (xm:f element).getHigh()Gets whether the highest value is highlighted.getLast()Gets whether the last value is highlighted.Gets the line weight in points.getLow()Gets whether the lowest value is highlighted.Gets the manual maximum of the vertical axis.Gets the manual minimum of the vertical axis.Gets whether data markers are shown.Gets the vertical axis maximum type ("individual", "group" or "custom").Gets the vertical axis minimum type ("individual", "group" or "custom").Gets whether negative values are highlighted.Gets whether the sparkline is drawn right-to-left.Gets the sparklines of the group.getType()Gets the sparkline type ("line", "column" or "stacked").voidsetColorAxis(X14Color colorAxis)Sets the axis color.voidsetColorFirst(X14Color colorFirst)Sets the color of the first value.voidsetColorHigh(X14Color colorHigh)Sets the color of the highest value.voidsetColorLast(X14Color colorLast)Sets the color of the last value.voidsetColorLow(X14Color colorLow)Sets the color of the lowest value.voidsetColorMarkers(X14Color colorMarkers)Sets the marker color.voidsetColorNegative(X14Color colorNegative)Sets the color for negative values.voidsetColorSeries(X14Color colorSeries)Sets the series color.voidsetDateAxis(Boolean dateAxis)Sets whether the horizontal axis is a date axis.voidsetDisplayEmptyCellsAs(String displayEmptyCellsAs)Sets how empty cells are displayed ("gap", "zero" or "span").voidsetDisplayHidden(Boolean displayHidden)Sets whether data in hidden cells is plotted.voidsetDisplayXAxis(Boolean displayXAxis)Sets whether the horizontal axis is displayed.voidSets whether the first value is highlighted.voidsetFormula(String formula)Sets the date range formula of the date axis (xm:f element).voidSets whether the highest value is highlighted.voidSets whether the last value is highlighted.voidsetLineWeight(Double lineWeight)Sets the line weight in points.voidSets whether the lowest value is highlighted.voidsetManualMax(Double manualMax)Sets the manual maximum of the vertical axis.voidsetManualMin(Double manualMin)Sets the manual minimum of the vertical axis.voidsetMarkers(Boolean markers)Sets whether data markers are shown.voidsetMaxAxisType(String maxAxisType)Sets the vertical axis maximum type ("individual", "group" or "custom").voidsetMinAxisType(String minAxisType)Sets the vertical axis minimum type ("individual", "group" or "custom").voidsetNegative(Boolean negative)Sets whether negative values are highlighted.voidsetRightToLeft(Boolean rightToLeft)Sets whether the sparkline is drawn right-to-left.voidSets the sparkline type ("line", "column" or "stacked").toString()
-
Constructor Details
-
X14SparklineGroup
public X14SparklineGroup()Instantiates a new x14 sparkline group.
-
-
Method Details
-
clone
-
toString
-
getManualMax
Gets the manual maximum of the vertical axis.- Returns:
- the manual maximum of the vertical axis
-
setManualMax
Sets the manual maximum of the vertical axis.- Parameters:
manualMax- the new manual maximum of the vertical axis
-
getManualMin
Gets the manual minimum of the vertical axis.- Returns:
- the manual minimum of the vertical axis
-
setManualMin
Sets the manual minimum of the vertical axis.- Parameters:
manualMin- the new manual minimum of the vertical axis
-
getLineWeight
Gets the line weight in points.- Returns:
- the line weight in points
-
setLineWeight
Sets the line weight in points.- Parameters:
lineWeight- the new line weight in points
-
getType
Gets the sparkline type ("line", "column" or "stacked").- Returns:
- the sparkline type
-
setType
Sets the sparkline type ("line", "column" or "stacked").- Parameters:
type- the new sparkline type
-
getDateAxis
Gets whether the horizontal axis is a date axis.- Returns:
- whether the horizontal axis is a date axis
-
setDateAxis
Sets whether the horizontal axis is a date axis.- Parameters:
dateAxis- the new date axis flag
-
getDisplayEmptyCellsAs
Gets how empty cells are displayed ("gap", "zero" or "span").- Returns:
- how empty cells are displayed
-
setDisplayEmptyCellsAs
Sets how empty cells are displayed ("gap", "zero" or "span").- Parameters:
displayEmptyCellsAs- the new display empty cells as value
-
getMarkers
Gets whether data markers are shown.- Returns:
- whether data markers are shown
-
setMarkers
Sets whether data markers are shown.- Parameters:
markers- the new markers flag
-
getHigh
Gets whether the highest value is highlighted.- Returns:
- whether the highest value is highlighted
-
setHigh
Sets whether the highest value is highlighted.- Parameters:
high- the new high flag
-
getLow
Gets whether the lowest value is highlighted.- Returns:
- whether the lowest value is highlighted
-
setLow
Sets whether the lowest value is highlighted.- Parameters:
low- the new low flag
-
getFirst
Gets whether the first value is highlighted.- Returns:
- whether the first value is highlighted
-
setFirst
Sets whether the first value is highlighted.- Parameters:
first- the new first flag
-
getLast
Gets whether the last value is highlighted.- Returns:
- whether the last value is highlighted
-
setLast
Sets whether the last value is highlighted.- Parameters:
last- the new last flag
-
getNegative
Gets whether negative values are highlighted.- Returns:
- whether negative values are highlighted
-
setNegative
Sets whether negative values are highlighted.- Parameters:
negative- the new negative flag
-
getDisplayXAxis
Gets whether the horizontal axis is displayed.- Returns:
- whether the horizontal axis is displayed
-
setDisplayXAxis
Sets whether the horizontal axis is displayed.- Parameters:
displayXAxis- the new display x axis flag
-
getDisplayHidden
Gets whether data in hidden cells is plotted.- Returns:
- whether data in hidden cells is plotted
-
setDisplayHidden
Sets whether data in hidden cells is plotted.- Parameters:
displayHidden- the new display hidden flag
-
getMinAxisType
Gets the vertical axis minimum type ("individual", "group" or "custom").- Returns:
- the vertical axis minimum type
-
setMinAxisType
Sets the vertical axis minimum type ("individual", "group" or "custom").- Parameters:
minAxisType- the new vertical axis minimum type
-
getMaxAxisType
Gets the vertical axis maximum type ("individual", "group" or "custom").- Returns:
- the vertical axis maximum type
-
setMaxAxisType
Sets the vertical axis maximum type ("individual", "group" or "custom").- Parameters:
maxAxisType- the new vertical axis maximum type
-
getRightToLeft
Gets whether the sparkline is drawn right-to-left.- Returns:
- whether the sparkline is drawn right-to-left
-
setRightToLeft
Sets whether the sparkline is drawn right-to-left.- Parameters:
rightToLeft- the new right to left flag
-
getColorSeries
Gets the series color.- Returns:
- the series color
-
setColorSeries
Sets the series color.- Parameters:
colorSeries- the new series color
-
getColorNegative
Gets the color for negative values.- Returns:
- the color for negative values
-
setColorNegative
Sets the color for negative values.- Parameters:
colorNegative- the new color for negative values
-
getColorAxis
Gets the axis color.- Returns:
- the axis color
-
setColorAxis
Sets the axis color.- Parameters:
colorAxis- the new axis color
-
getColorMarkers
Gets the marker color.- Returns:
- the marker color
-
setColorMarkers
Sets the marker color.- Parameters:
colorMarkers- the new marker color
-
getColorFirst
Gets the color of the first value.- Returns:
- the color of the first value
-
setColorFirst
Sets the color of the first value.- Parameters:
colorFirst- the new color of the first value
-
getColorLast
Gets the color of the last value.- Returns:
- the color of the last value
-
setColorLast
Sets the color of the last value.- Parameters:
colorLast- the new color of the last value
-
getColorHigh
Gets the color of the highest value.- Returns:
- the color of the highest value
-
setColorHigh
Sets the color of the highest value.- Parameters:
colorHigh- the new color of the highest value
-
getColorLow
Gets the color of the lowest value.- Returns:
- the color of the lowest value
-
setColorLow
Sets the color of the lowest value.- Parameters:
colorLow- the new color of the lowest value
-
getFormula
Gets the date range formula of the date axis (xm:f element).- Returns:
- the date range formula of the date axis
-
setFormula
Sets the date range formula of the date axis (xm:f element).- Parameters:
formula- the new date range formula of the date axis
-
getSparklines
Gets the sparklines of the group.- Returns:
- the sparklines of the group
-