Package com.stimulsoft.report.styles
Class StiChartStyle
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.styles.StiBaseStyle
com.stimulsoft.report.styles.StiChartStyle
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiName,Cloneable
Describes the class that contains a style for Chart components.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stimulsoft.report.styles.StiBaseStyle
StiBaseStyle.StiStyleSaver -
Field Summary
Fields inherited from class com.stimulsoft.report.styles.StiBaseStyle
reportFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new object of the type StiChartStyle.StiChartStyle(String name) Creates a new object of the type StiChartStyle.StiChartStyle(String name, String description) Creates a new object of the type StiChartStyle.StiChartStyle(String name, String description, StiReport report) Creates a new object of the type StiChartStyle. -
Method Summary
Modifier and TypeMethodDescriptionclone()final StiColorGets or sets a base color for drawing this style.getBrush()final StiBrushTypeGets or sets a value which indicates which type of brush report engine will be used to draw this style.booleanfinal StiColor[]Gets or sets list of colors which will be used for drawing chart series.final StringvoidGetStyleFromComponent(StiComponent component, StiStyleElements styleElements) Gets a style from the component.booleanbooleanbooleanvoidLoadFromJsonObject(JSONObject jObject) voidsetAxisLabelsColor(StiColor axisLabelsColor) voidsetAxisLineColor(StiColor axisLineColor) voidsetAxisTitleColor(StiColor axisTitleColor) final voidsetBasicStyleColor(StiColor value) voidvoidfinal voidsetBrushType(StiBrushType value) voidsetChartAreaBorderColor(StiColor chartAreaBorderColor) voidsetChartAreaBrush(StiBrush chartAreaBrush) voidsetChartAreaShowShadow(boolean chartAreaShowShadow) voidsetGridLinesHorColor(StiColor gridLinesHorColor) voidsetGridLinesVertColor(StiColor gridLinesVertColor) voidsetInterlacingHorBrush(StiBrush interlacingHorBrush) voidsetInterlacingVertBrush(StiBrush interlacingVertBrush) voidsetLegendBorderColor(StiColor legendBorderColor) voidsetLegendBrush(StiBrush legendBrush) voidsetLegendLabelsColor(StiColor legendLabelsColor) voidsetLegendTitleColor(StiColor legendTitleColor) voidsetSeriesLabelsBorderColor(StiColor seriesLabelsBorderColor) voidsetSeriesLabelsBrush(StiBrush seriesLabelsBrush) voidsetSeriesLabelsColor(StiColor seriesLabelsColor) voidsetSeriesLabelsLineColor(StiColor seriesLabelsLineColor) voidsetSeriesLighting(boolean seriesLighting) voidsetSeriesShowShadow(boolean seriesShowShadow) final voidsetStyleColors(StiColor[] value) final voidsetStyleColorsString(String value) voidSetStyleToComponent(StiComponent component) Sets style to a component.voidsetTrendLineColor(StiColor trendLineColor) voidsetTrendLineShowShadow(boolean trendLineShowShadow) Methods inherited from class com.stimulsoft.report.styles.StiBaseStyle
equals, getCollectionName, getConditions, getDescription, getName, getStyle, getStyle, getStyle, getStyle, GetStyleFromComponents, loadStyleFromString, saveToString, setCollectionName, setConditions, setDescription, setName, toStringMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Constructor Details
-
StiChartStyle
Creates a new object of the type StiChartStyle.- Parameters:
name- Style name.description- Style description.
-
StiChartStyle
Creates a new object of the type StiChartStyle.- Parameters:
name- Style name.description- Style description.
-
StiChartStyle
Creates a new object of the type StiChartStyle.- Parameters:
name- Style name.
-
StiChartStyle
public StiChartStyle()Creates a new object of the type StiChartStyle.
-
-
Method Details
-
getSeriesLabelsLineColor
- Returns:
- the seriesLabelsLineColor
-
setSeriesLabelsLineColor
- Parameters:
seriesLabelsLineColor- the seriesLabelsLineColor to set
-
isSeriesShowShadow
public boolean isSeriesShowShadow()- Returns:
- the seriesShowShadow
-
setSeriesShowShadow
public void setSeriesShowShadow(boolean seriesShowShadow) - Parameters:
seriesShowShadow- the seriesShowShadow to set
-
isSeriesLighting
public boolean isSeriesLighting()- Returns:
- the seriesLighting
-
setSeriesLighting
public void setSeriesLighting(boolean seriesLighting) - Parameters:
seriesLighting- the seriesLighting to set
-
getBorder
- Returns:
- the border
-
setBorder
- Parameters:
border- the border to set
-
getBrush
- Returns:
- the brush
-
setBrush
- Parameters:
brush- the brush to set
-
getGridLinesHorColor
- Returns:
- the gridLinesHorColor
-
setGridLinesHorColor
- Parameters:
gridLinesHorColor- the gridLinesHorColor to set
-
getGridLinesVertColor
- Returns:
- the gridLinesVertColor
-
setGridLinesVertColor
- Parameters:
gridLinesVertColor- the gridLinesVertColor to set
-
getChartAreaShowShadow
public boolean getChartAreaShowShadow()- Returns:
- the chartAreaShowShadow
-
setChartAreaShowShadow
public void setChartAreaShowShadow(boolean chartAreaShowShadow) - Parameters:
chartAreaShowShadow- the chartAreaShowShadow to set
-
getChartAreaBrush
- Returns:
- the chartAreaBrush
-
setChartAreaBrush
- Parameters:
chartAreaBrush- the chartAreaBrush to set
-
getChartAreaBorderColor
- Returns:
- the chartAreaBorderColor
-
setChartAreaBorderColor
- Parameters:
chartAreaBorderColor- the chartAreaBorderColor to set
-
getSeriesLabelsBorderColor
- Returns:
- the seriesLabelsBorderColor
-
setSeriesLabelsBorderColor
- Parameters:
seriesLabelsBorderColor- the seriesLabelsBorderColor to set
-
getSeriesLabelsColor
- Returns:
- the seriesLabelsColor
-
setSeriesLabelsColor
- Parameters:
seriesLabelsColor- the seriesLabelsColor to set
-
getSeriesLabelsBrush
- Returns:
- the seriesLabelsBrush
-
setSeriesLabelsBrush
- Parameters:
seriesLabelsBrush- the seriesLabelsBrush to set
-
getTrendLineShowShadow
public boolean getTrendLineShowShadow()- Returns:
- the trendLineShowShadow
-
setTrendLineShowShadow
public void setTrendLineShowShadow(boolean trendLineShowShadow) - Parameters:
trendLineShowShadow- the trendLineShowShadow to set
-
getTrendLineColor
- Returns:
- the trendLineColor
-
setTrendLineColor
- Parameters:
trendLineColor- the trendLineColor to set
-
getLegendBorderColor
- Returns:
- the legendBorderColor
-
setLegendBorderColor
- Parameters:
legendBorderColor- the legendBorderColor to set
-
getLegendBrush
- Returns:
- the legendBrush
-
setLegendBrush
- Parameters:
legendBrush- the legendBrush to set
-
getLegendLabelsColor
- Returns:
- the legendLabelsColor
-
setLegendLabelsColor
- Parameters:
legendLabelsColor- the legendLabelsColor to set
-
getLegendTitleColor
- Returns:
- the legendTitleColor
-
setLegendTitleColor
- Parameters:
legendTitleColor- the legendTitleColor to set
-
getAxisLabelsColor
- Returns:
- the axisLabelsColor
-
setAxisLabelsColor
- Parameters:
axisLabelsColor- the axisLabelsColor to set
-
getAxisLineColor
- Returns:
- the axisLineColor
-
setAxisLineColor
- Parameters:
axisLineColor- the axisLineColor to set
-
getAxisTitleColor
- Returns:
- the axisTitleColor
-
setAxisTitleColor
- Parameters:
axisTitleColor- the axisTitleColor to set
-
getInterlacingHorBrush
- Returns:
- the interlacingHorBrush
-
setInterlacingHorBrush
- Parameters:
interlacingHorBrush- the interlacingHorBrush to set
-
getInterlacingVertBrush
- Returns:
- the interlacingVertBrush
-
setInterlacingVertBrush
- Parameters:
interlacingVertBrush- the interlacingVertBrush to set
-
SetStyleToComponent
Sets style to a component.- Specified by:
SetStyleToComponentin classStiBaseStyle- Parameters:
component- Component.
-
getBrushType
Gets or sets a value which indicates which type of brush report engine will be used to draw this style. -
setBrushType
-
getStyleColors
Gets or sets list of colors which will be used for drawing chart series. -
setStyleColors
-
getStyleColorsString
-
setStyleColorsString
-
getBasicStyleColor
Gets or sets a base color for drawing this style. -
setBasicStyleColor
-
GetStyleFromComponent
Description copied from class:StiBaseStyleGets a style from the component.- Specified by:
GetStyleFromComponentin classStiBaseStyle- Parameters:
component- Component.
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Overrides:
SaveToJsonObjectin classStiBaseStyle- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Overrides:
LoadFromJsonObjectin classStiBaseStyle- Throws:
JSONException
-
clone
- Overrides:
clonein classStiBaseStyle
-