Class StiTrendLine
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.chart.view.trendLines.StiTrendLine
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiTrendLine,Cloneable
- Direct Known Subclasses:
StiTrendLineExponential,StiTrendLineLinear,StiTrendLineLogarithmic,StiTrendLineNone
-
Field Summary
Fields inherited from class com.stimulsoft.base.services.StiService
propertiesFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a copy of the current instance.booleanfinal StiTrendLineCoreXFgetCore()getFont()Gets or sets color which will be used for drawing trend line.final StiPenStyleGets or sets trend line style.final floatGets or sets trend line width.final StringGets a service category.Gets a service name.final ClassGets a service type.final booleanGets or sets value which indicates draw shadow or no.getText()booleanvoidLoadFromJsonObject(JSONObject jObject) static IStiTrendLineLoadFromJsonObjectInternal(JSONObject jObject) voidsetAllowApplyStyle(boolean value) value which indicates that chart style will be used.final voidsetCore(StiTrendLineCoreXF value) voidvoidsetLineColor(StiColor value) final voidsetLineStyle(StiPenStyle value) final voidsetLineWidth(float value) voidsetPosition(StiTextPosition value) final voidsetShowShadow(boolean value) voidvoidsetTitleVisible(boolean value) toString()Methods inherited from class com.stimulsoft.base.services.StiService
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReferenceMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
-
Constructor Details
-
StiTrendLine
public StiTrendLine()
-
-
Method Details
-
clone
Creates a new object that is a copy of the current instance.- Specified by:
clonein interfaceIStiTrendLine- Overrides:
clonein classStiService- Returns:
- A new object that is a copy of this instance.
-
getServiceName
Gets a service name.- Overrides:
getServiceNamein classStiService
-
getServiceCategory
Gets a service category.- Overrides:
getServiceCategoryin classStiService
-
getServiceType
Gets a service type.- Specified by:
getServiceTypein classStiService
-
getCore
- Specified by:
getCorein interfaceIStiTrendLine
-
setCore
- Specified by:
setCorein interfaceIStiTrendLine
-
getLineColor
Gets or sets color which will be used for drawing trend line.- Specified by:
getLineColorin interfaceIStiTrendLine
-
setLineColor
- Specified by:
setLineColorin interfaceIStiTrendLine
-
getLineWidth
public final float getLineWidth()Gets or sets trend line width.- Specified by:
getLineWidthin interfaceIStiTrendLine
-
setLineWidth
public final void setLineWidth(float value) - Specified by:
setLineWidthin interfaceIStiTrendLine
-
getLineStyle
Gets or sets trend line style.- Specified by:
getLineStylein interfaceIStiTrendLine
-
setLineStyle
- Specified by:
setLineStylein interfaceIStiTrendLine
-
getShowShadow
public final boolean getShowShadow()Gets or sets value which indicates draw shadow or no.- Specified by:
getShowShadowin interfaceIStiTrendLine
-
setShowShadow
public final void setShowShadow(boolean value) - Specified by:
setShowShadowin interfaceIStiTrendLine
-
getAllowApplyStyle
public boolean getAllowApplyStyle()- Specified by:
getAllowApplyStylein interfaceIStiTrendLine
-
setAllowApplyStyle
public void setAllowApplyStyle(boolean value) value which indicates that chart style will be used.- Specified by:
setAllowApplyStylein interfaceIStiTrendLine
-
getTitleVisible
public boolean getTitleVisible()- Specified by:
getTitleVisiblein interfaceIStiTrendLine
-
setTitleVisible
public void setTitleVisible(boolean value) - Specified by:
setTitleVisiblein interfaceIStiTrendLine
-
getFont
- Specified by:
getFontin interfaceIStiTrendLine
-
setFont
- Specified by:
setFontin interfaceIStiTrendLine
-
getPosition
- Specified by:
getPositionin interfaceIStiTrendLine
-
setPosition
- Specified by:
setPositionin interfaceIStiTrendLine
-
getText
- Specified by:
getTextin interfaceIStiTrendLine
-
setText
- Specified by:
setTextin interfaceIStiTrendLine
-
toString
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
LoadFromJsonObjectInternal
- Throws:
JSONException
-