Class StiAxis
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.chart.view.axis.StiAxis
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef,IStiAxis,Cloneable
-
Field Summary
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionStiAxis()StiAxis(IStiAxisLabels labels, IStiAxisRange range, IStiAxisTitle title, IStiAxisTicks ticks, StiArrowStyle arrowStyle, StiPenStyle lineStyle, StiColor lineColor, float lineWidth, boolean visible, boolean startFromZero, boolean allowApplyStyle) StiAxis(IStiAxisLabels labels, IStiAxisRange range, IStiAxisTitle title, IStiAxisTicks ticks, IStiAxisInteraction interaction, StiArrowStyle arrowStyle, StiPenStyle lineStyle, StiColor lineColor, float lineWidth, boolean visible, boolean startFromZero, boolean allowApplyStyle) StiAxis(IStiAxisLabels labels, IStiAxisRange range, IStiAxisTitle title, IStiAxisTicks ticks, IStiAxisInteraction interaction, StiArrowStyle arrowStyle, StiPenStyle lineStyle, StiColor lineColor, float lineWidth, boolean visible, boolean startFromZero, boolean allowApplyStyle, boolean logarithmicScale) -
Method Summary
Modifier and TypeMethodDescriptionfinal Objectclone()Creates a new object that is a copy of the current instance.final booleanGets or sets value which indicates that chart style will be used.final IStiAxisAreagetArea()final StiArrowStyleGets or sets style of axis arrow.final StiAxisCoreXFgetCore()final StiAxisInfoXFgetInfo()final IStiAxisInteractionGets or sets axis interaction settings.final IStiAxisLabelsGets or sets axis labels settings.final StiColorGets or sets line color which used to draw axis.final StiPenStyleGets or sets line style of axis.final floatGets or sets line width which used to draw axis.booleanGets or sets value which indicates that logarithmic scale will be used.getRange()Gets or sets axis range settings.booleanGets or sets value which indicates that all arguments will be shows from zero.doublegetStep()Deprecated.final IStiAxisTicksgetTicks()Gets or sets ticks settings.final IStiAxisTitlegetTitle()Gets or sets axis title settings.Deprecated.booleanGets or sets visibility of axis.voidLoadFromJsonObject(JSONObject jObject) final voidsetAllowApplyStyle(boolean value) final voidsetArea(IStiAxisArea value) final voidsetArrowStyle(StiArrowStyle value) final voidsetCore(StiAxisCoreXF value) final voidsetInfo(StiAxisInfoXF value) final voidfinal voidsetLabels(IStiAxisLabels value) final voidsetLineColor(StiColor value) final voidsetLineStyle(StiPenStyle value) final voidsetLineWidth(float value) voidsetLogarithmicScale(boolean value) voidsetRange(IStiAxisRange value) voidsetStartFromZero(boolean value) voidsetStep(double value) Deprecated.final voidsetTicks(IStiAxisTicks value) final voidsetTitle(IStiAxisTitle value) voidDeprecated.voidsetVisible(boolean value) Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReferenceMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
-
Constructor Details
-
StiAxis
public StiAxis() -
StiAxis
public StiAxis(IStiAxisLabels labels, IStiAxisRange range, IStiAxisTitle title, IStiAxisTicks ticks, StiArrowStyle arrowStyle, StiPenStyle lineStyle, StiColor lineColor, float lineWidth, boolean visible, boolean startFromZero, boolean allowApplyStyle) -
StiAxis
public StiAxis(IStiAxisLabels labels, IStiAxisRange range, IStiAxisTitle title, IStiAxisTicks ticks, IStiAxisInteraction interaction, StiArrowStyle arrowStyle, StiPenStyle lineStyle, StiColor lineColor, float lineWidth, boolean visible, boolean startFromZero, boolean allowApplyStyle) -
StiAxis
public StiAxis(IStiAxisLabels labels, IStiAxisRange range, IStiAxisTitle title, IStiAxisTicks ticks, IStiAxisInteraction interaction, StiArrowStyle arrowStyle, StiPenStyle lineStyle, StiColor lineColor, float lineWidth, boolean visible, boolean startFromZero, boolean allowApplyStyle, boolean logarithmicScale)
-
-
Method Details
-
clone
Creates a new object that is a copy of the current instance. -
getLogarithmicScale
public boolean getLogarithmicScale()Gets or sets value which indicates that logarithmic scale will be used.- Specified by:
getLogarithmicScalein interfaceIStiAxis
-
setLogarithmicScale
public void setLogarithmicScale(boolean value) - Specified by:
setLogarithmicScalein interfaceIStiAxis
-
getCore
-
setCore
-
getAllowApplyStyle
public final boolean getAllowApplyStyle()Gets or sets value which indicates that chart style will be used.- Specified by:
getAllowApplyStylein interfaceIStiAxis
-
setAllowApplyStyle
public final void setAllowApplyStyle(boolean value) - Specified by:
setAllowApplyStylein interfaceIStiAxis
-
getStartFromZero
public boolean getStartFromZero()Gets or sets value which indicates that all arguments will be shows from zero.- Specified by:
getStartFromZeroin interfaceIStiAxis
-
setStartFromZero
public void setStartFromZero(boolean value) - Specified by:
setStartFromZeroin interfaceIStiAxis
-
getStep
Deprecated.Gets or sets value which indicates with what steps do labels be shown on axis. -
setStep
Deprecated. -
getInteraction
Gets or sets axis interaction settings.- Specified by:
getInteractionin interfaceIStiAxis
-
setInteraction
- Specified by:
setInteractionin interfaceIStiAxis
-
getLabels
Gets or sets axis labels settings. -
setLabels
-
getRange
Gets or sets axis range settings. -
setRange
-
getTitle
Gets or sets axis title settings. -
setTitle
-
getTicks
Gets or sets ticks settings. -
setTicks
-
getArrowStyle
Gets or sets style of axis arrow.- Specified by:
getArrowStylein interfaceIStiAxis
-
setArrowStyle
- Specified by:
setArrowStylein interfaceIStiAxis
-
getLineStyle
Gets or sets line style of axis.- Specified by:
getLineStylein interfaceIStiAxis
-
setLineStyle
- Specified by:
setLineStylein interfaceIStiAxis
-
getLineColor
Gets or sets line color which used to draw axis.- Specified by:
getLineColorin interfaceIStiAxis
-
setLineColor
- Specified by:
setLineColorin interfaceIStiAxis
-
getLineWidth
public final float getLineWidth()Gets or sets line width which used to draw axis.- Specified by:
getLineWidthin interfaceIStiAxis
-
setLineWidth
public final void setLineWidth(float value) - Specified by:
setLineWidthin interfaceIStiAxis
-
getVisible
public boolean getVisible()Gets or sets visibility of axis.- Specified by:
getVisiblein interfaceIStiAxis
-
setVisible
public void setVisible(boolean value) - Specified by:
setVisiblein interfaceIStiAxis
-
getTitleDirection
Deprecated.'TitleDirection' property is obsolete. Please Title.Direction property instead it. -
setTitleDirection
Deprecated. -
getArea
-
setArea
-
getInfo
-
setInfo
-
SaveToJsonObject
- Throws:
JSONException
-
LoadFromJsonObject
- Throws:
JSONException
-