com.stimulsoft.report.styles
Class StiChartStyle

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.report.styles.StiBaseStyle
          extended by com.stimulsoft.report.styles.StiChartStyle
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiName, java.lang.Cloneable

public class StiChartStyle
extends StiBaseStyle

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
report
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiChartStyle()
          Creates a new object of the type StiChartStyle.
StiChartStyle(java.lang.String name)
          Creates a new object of the type StiChartStyle.
StiChartStyle(java.lang.String name, java.lang.String description)
          Creates a new object of the type StiChartStyle.
StiChartStyle(java.lang.String name, java.lang.String description, StiReport report)
          Creates a new object of the type StiChartStyle.
 
Method Summary
 java.lang.Object clone()
           
 StiColor getAxisLabelsColor()
           
 StiColor getAxisLineColor()
           
 StiColor getAxisTitleColor()
           
 StiColor getBasicStyleColor()
          Gets or sets a base color for drawing this style.
 StiBorder getBorder()
           
 StiBrush getBrush()
           
 StiBrushType getBrushType()
          Gets or sets a value which indicates which type of brush report engine will be used to draw this style.
 StiColor getChartAreaBorderColor()
           
 StiBrush getChartAreaBrush()
           
 boolean getChartAreaShowShadow()
           
 StiColor getGridLinesHorColor()
           
 StiColor getGridLinesVertColor()
           
 StiBrush getInterlacingHorBrush()
           
 StiBrush getInterlacingVertBrush()
           
 StiColor getLegendBorderColor()
           
 StiBrush getLegendBrush()
           
 StiColor getLegendLabelsColor()
           
 StiColor getLegendTitleColor()
           
 StiColor getSeriesLabelsBorderColor()
           
 StiBrush getSeriesLabelsBrush()
           
 StiColor getSeriesLabelsColor()
           
 StiColor getSeriesLabelsLineColor()
           
 StiColor[] getStyleColors()
          Gets or sets list of colors which will be used for drawing chart series.
 java.lang.String getStyleColorsString()
           
 void GetStyleFromComponent(StiComponent component, StiStyleElements styleElements)
          Gets a style from the component.
 StiColor getTrendLineColor()
           
 boolean getTrendLineShowShadow()
           
 boolean isSeriesLighting()
           
 boolean isSeriesShowShadow()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setAxisLabelsColor(StiColor axisLabelsColor)
           
 void setAxisLineColor(StiColor axisLineColor)
           
 void setAxisTitleColor(StiColor axisTitleColor)
           
 void setBasicStyleColor(StiColor value)
           
 void setBorder(StiBorder border)
           
 void setBrush(StiBrush brush)
           
 void setBrushType(StiBrushType value)
           
 void setChartAreaBorderColor(StiColor chartAreaBorderColor)
           
 void setChartAreaBrush(StiBrush chartAreaBrush)
           
 void setChartAreaShowShadow(boolean chartAreaShowShadow)
           
 void setGridLinesHorColor(StiColor gridLinesHorColor)
           
 void setGridLinesVertColor(StiColor gridLinesVertColor)
           
 void setInterlacingHorBrush(StiBrush interlacingHorBrush)
           
 void setInterlacingVertBrush(StiBrush interlacingVertBrush)
           
 void setLegendBorderColor(StiColor legendBorderColor)
           
 void setLegendBrush(StiBrush legendBrush)
           
 void setLegendLabelsColor(StiColor legendLabelsColor)
           
 void setLegendTitleColor(StiColor legendTitleColor)
           
 void setSeriesLabelsBorderColor(StiColor seriesLabelsBorderColor)
           
 void setSeriesLabelsBrush(StiBrush seriesLabelsBrush)
           
 void setSeriesLabelsColor(StiColor seriesLabelsColor)
           
 void setSeriesLabelsLineColor(StiColor seriesLabelsLineColor)
           
 void setSeriesLighting(boolean seriesLighting)
           
 void setSeriesShowShadow(boolean seriesShowShadow)
           
 void setStyleColors(StiColor[] value)
           
 void setStyleColorsString(java.lang.String value)
           
 void SetStyleToComponent(StiComponent component)
          Sets style to a component.
 void setTrendLineColor(StiColor trendLineColor)
           
 void setTrendLineShowShadow(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, toString
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StiChartStyle

public StiChartStyle(java.lang.String name,
                     java.lang.String description,
                     StiReport report)
Creates a new object of the type StiChartStyle.

Parameters:
name - Style name.
description - Style description.

StiChartStyle

public StiChartStyle(java.lang.String name,
                     java.lang.String description)
Creates a new object of the type StiChartStyle.

Parameters:
name - Style name.
description - Style description.

StiChartStyle

public StiChartStyle(java.lang.String name)
Creates a new object of the type StiChartStyle.

Parameters:
name - Style name.

StiChartStyle

public StiChartStyle()
Creates a new object of the type StiChartStyle.

Method Detail

getSeriesLabelsLineColor

public StiColor getSeriesLabelsLineColor()
Returns:
the seriesLabelsLineColor

setSeriesLabelsLineColor

public void setSeriesLabelsLineColor(StiColor seriesLabelsLineColor)
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

public StiBorder getBorder()
Returns:
the border

setBorder

public void setBorder(StiBorder border)
Parameters:
border - the border to set

getBrush

public StiBrush getBrush()
Returns:
the brush

setBrush

public void setBrush(StiBrush brush)
Parameters:
brush - the brush to set

getGridLinesHorColor

public StiColor getGridLinesHorColor()
Returns:
the gridLinesHorColor

setGridLinesHorColor

public void setGridLinesHorColor(StiColor gridLinesHorColor)
Parameters:
gridLinesHorColor - the gridLinesHorColor to set

getGridLinesVertColor

public StiColor getGridLinesVertColor()
Returns:
the gridLinesVertColor

setGridLinesVertColor

public void setGridLinesVertColor(StiColor gridLinesVertColor)
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

public StiBrush getChartAreaBrush()
Returns:
the chartAreaBrush

setChartAreaBrush

public void setChartAreaBrush(StiBrush chartAreaBrush)
Parameters:
chartAreaBrush - the chartAreaBrush to set

getChartAreaBorderColor

public StiColor getChartAreaBorderColor()
Returns:
the chartAreaBorderColor

setChartAreaBorderColor

public void setChartAreaBorderColor(StiColor chartAreaBorderColor)
Parameters:
chartAreaBorderColor - the chartAreaBorderColor to set

getSeriesLabelsBorderColor

public StiColor getSeriesLabelsBorderColor()
Returns:
the seriesLabelsBorderColor

setSeriesLabelsBorderColor

public void setSeriesLabelsBorderColor(StiColor seriesLabelsBorderColor)
Parameters:
seriesLabelsBorderColor - the seriesLabelsBorderColor to set

getSeriesLabelsColor

public StiColor getSeriesLabelsColor()
Returns:
the seriesLabelsColor

setSeriesLabelsColor

public void setSeriesLabelsColor(StiColor seriesLabelsColor)
Parameters:
seriesLabelsColor - the seriesLabelsColor to set

getSeriesLabelsBrush

public StiBrush getSeriesLabelsBrush()
Returns:
the seriesLabelsBrush

setSeriesLabelsBrush

public void setSeriesLabelsBrush(StiBrush seriesLabelsBrush)
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

public StiColor getTrendLineColor()
Returns:
the trendLineColor

setTrendLineColor

public void setTrendLineColor(StiColor trendLineColor)
Parameters:
trendLineColor - the trendLineColor to set

getLegendBorderColor

public StiColor getLegendBorderColor()
Returns:
the legendBorderColor

setLegendBorderColor

public void setLegendBorderColor(StiColor legendBorderColor)
Parameters:
legendBorderColor - the legendBorderColor to set

getLegendBrush

public StiBrush getLegendBrush()
Returns:
the legendBrush

setLegendBrush

public void setLegendBrush(StiBrush legendBrush)
Parameters:
legendBrush - the legendBrush to set

getLegendLabelsColor

public StiColor getLegendLabelsColor()
Returns:
the legendLabelsColor

setLegendLabelsColor

public void setLegendLabelsColor(StiColor legendLabelsColor)
Parameters:
legendLabelsColor - the legendLabelsColor to set

getLegendTitleColor

public StiColor getLegendTitleColor()
Returns:
the legendTitleColor

setLegendTitleColor

public void setLegendTitleColor(StiColor legendTitleColor)
Parameters:
legendTitleColor - the legendTitleColor to set

getAxisLabelsColor

public StiColor getAxisLabelsColor()
Returns:
the axisLabelsColor

setAxisLabelsColor

public void setAxisLabelsColor(StiColor axisLabelsColor)
Parameters:
axisLabelsColor - the axisLabelsColor to set

getAxisLineColor

public StiColor getAxisLineColor()
Returns:
the axisLineColor

setAxisLineColor

public void setAxisLineColor(StiColor axisLineColor)
Parameters:
axisLineColor - the axisLineColor to set

getAxisTitleColor

public StiColor getAxisTitleColor()
Returns:
the axisTitleColor

setAxisTitleColor

public void setAxisTitleColor(StiColor axisTitleColor)
Parameters:
axisTitleColor - the axisTitleColor to set

getInterlacingHorBrush

public StiBrush getInterlacingHorBrush()
Returns:
the interlacingHorBrush

setInterlacingHorBrush

public void setInterlacingHorBrush(StiBrush interlacingHorBrush)
Parameters:
interlacingHorBrush - the interlacingHorBrush to set

getInterlacingVertBrush

public StiBrush getInterlacingVertBrush()
Returns:
the interlacingVertBrush

setInterlacingVertBrush

public void setInterlacingVertBrush(StiBrush interlacingVertBrush)
Parameters:
interlacingVertBrush - the interlacingVertBrush to set

SetStyleToComponent

public void SetStyleToComponent(StiComponent component)
Sets style to a component.

Specified by:
SetStyleToComponent in class StiBaseStyle
Parameters:
component - Component.

getBrushType

public final StiBrushType getBrushType()
Gets or sets a value which indicates which type of brush report engine will be used to draw this style.


setBrushType

public final void setBrushType(StiBrushType value)

getStyleColors

public final StiColor[] getStyleColors()
Gets or sets list of colors which will be used for drawing chart series.


setStyleColors

public final void setStyleColors(StiColor[] value)

getStyleColorsString

public final java.lang.String getStyleColorsString()

setStyleColorsString

public final void setStyleColorsString(java.lang.String value)

getBasicStyleColor

public final StiColor getBasicStyleColor()
Gets or sets a base color for drawing this style.


setBasicStyleColor

public final void setBasicStyleColor(StiColor value)

GetStyleFromComponent

public void GetStyleFromComponent(StiComponent component,
                                  StiStyleElements styleElements)
Description copied from class: StiBaseStyle
Gets a style from the component.

Specified by:
GetStyleFromComponent in class StiBaseStyle
Parameters:
component - Component.

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Overrides:
SaveToJsonObject in class StiBaseStyle
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Overrides:
LoadFromJsonObject in class StiBaseStyle
Throws:
JSONException

clone

public java.lang.Object clone()
Overrides:
clone in class StiBaseStyle