Class StiChartStyle

All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiName, Cloneable

public class StiChartStyle extends StiBaseStyle
Describes the class that contains a style for Chart components.
  • Constructor Details

    • StiChartStyle

      public StiChartStyle(String name, String description, StiReport report)
      Creates a new object of the type StiChartStyle.
      Parameters:
      name - Style name.
      description - Style description.
    • StiChartStyle

      public StiChartStyle(String name, String description)
      Creates a new object of the type StiChartStyle.
      Parameters:
      name - Style name.
      description - Style description.
    • StiChartStyle

      public StiChartStyle(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 Details

    • 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 String getStyleColorsString()
    • setStyleColorsString

      public final void setStyleColorsString(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 Object clone()
      Overrides:
      clone in class StiBaseStyle