Class StiAxisLabels
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.chart.view.axis.StiAxisLabels
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiAxisLabels,IStiFont,IStiTextFormat,Cloneable
public class StiAxisLabels
extends StiSerializedObject
implements IStiAxisLabels, Cloneable, IStiTextFormat, IStiFont
-
Field Summary
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionStiAxisLabels(String format, String textBefore, String textAfter, float angle, StiFont font, boolean antialiasing, StiLabelsPlacement placement, StiColor color, float width, StiMarkerAlignment textAlignment, double step, boolean allowApplyStyle) StiAxisLabels(String format, String textBefore, String textAfter, float angle, StiFont font, boolean antialiasing, StiLabelsPlacement placement, StiColor color, float width, StiMarkerAlignment textAlignment, double step, boolean allowApplyStyle, boolean wordWrap) -
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 floatgetAngle()Gets or sets angle of label rotation.final booleanGets or sets value which control antialiasing drawing mode.final StiColorgetColor()Gets or sets color of labels drawing.final StiAxisLabelsCoreXFgetCore()final StiFontgetFont()Gets or sets font which will be used for axis label drawing.final StringGets os sets format string which is used for formating argument values.final StiLabelsPlacementGets or set mode of labels placement on axis.doublegetStep()Gets or sets value which indicates with what steps do labels be shown on axis.final StringGets or sets string which will be output after argument string representation.Gets or sets label text alignment.final StringGets or sets string which will be output before argument string representation.Gets or sets the format of the text.final floatgetWidth()Gets or sets fixed width of axis labels.final booleanfinal booleanA value indicating that axis labels show the ordinal position of the point (1..N) instead of the argument text.voidLoadFromJsonObject(JSONObject jObject) final voidsetAllowApplyStyle(boolean value) final voidsetAngle(float value) final voidsetAntialiasing(boolean value) final voidfinal voidsetCore(StiAxisLabelsCoreXF value) final voidfinal voidvoidsetFormatService(StiFormatService formatService) final voidsetPlacement(StiLabelsPlacement value) final voidsetShowAsIndex(boolean value) A value indicating that axis labels show the ordinal position of the point (1..N) instead of the argument text.voidsetStep(double value) final voidsetTextAfter(String value) voidfinal voidsetTextBefore(String value) voidsetTextFormat(StiFormatService value) final voidsetWidth(float value) final voidsetWordWrap(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
-
StiAxisLabels
public StiAxisLabels() -
StiAxisLabels
public StiAxisLabels(String format, String textBefore, String textAfter, float angle, StiFont font, boolean antialiasing, StiLabelsPlacement placement, StiColor color, float width, StiMarkerAlignment textAlignment, double step, boolean allowApplyStyle) -
StiAxisLabels
public StiAxisLabels(String format, String textBefore, String textAfter, float angle, StiFont font, boolean antialiasing, StiLabelsPlacement placement, StiColor color, float width, StiMarkerAlignment textAlignment, double step, boolean allowApplyStyle, boolean wordWrap)
-
-
Method Details
-
clone
Creates a new object that is a copy of the current instance.- Specified by:
clonein interfaceIStiAxisLabels- Overrides:
clonein classObject- Returns:
- A new object that is a copy of this instance.
-
getCore
- Specified by:
getCorein interfaceIStiAxisLabels
-
setCore
- Specified by:
setCorein interfaceIStiAxisLabels
-
getAllowApplyStyle
public final boolean getAllowApplyStyle()Gets or sets value which indicates that chart style will be used.- Specified by:
getAllowApplyStylein interfaceIStiAxisLabels
-
setAllowApplyStyle
public final void setAllowApplyStyle(boolean value) - Specified by:
setAllowApplyStylein interfaceIStiAxisLabels
-
getFormat
Gets os sets format string which is used for formating argument values.- Specified by:
getFormatin interfaceIStiAxisLabels
-
setFormat
- Specified by:
setFormatin interfaceIStiAxisLabels
-
getAngle
public final float getAngle()Gets or sets angle of label rotation.- Specified by:
getAnglein interfaceIStiAxisLabels
-
setAngle
public final void setAngle(float value) - Specified by:
setAnglein interfaceIStiAxisLabels
-
getWidth
public final float getWidth()Gets or sets fixed width of axis labels.- Specified by:
getWidthin interfaceIStiAxisLabels
-
setWidth
public final void setWidth(float value) - Specified by:
setWidthin interfaceIStiAxisLabels
-
getTextBefore
Gets or sets string which will be output before argument string representation.- Specified by:
getTextBeforein interfaceIStiAxisLabels
-
setTextBefore
- Specified by:
setTextBeforein interfaceIStiAxisLabels
-
getTextAfter
Gets or sets string which will be output after argument string representation.- Specified by:
getTextAfterin interfaceIStiAxisLabels
-
setTextAfter
- Specified by:
setTextAfterin interfaceIStiAxisLabels
-
getFont
Gets or sets font which will be used for axis label drawing.- Specified by:
getFontin interfaceIStiAxisLabels- Specified by:
getFontin interfaceIStiFont
-
setFont
- Specified by:
setFontin interfaceIStiAxisLabels- Specified by:
setFontin interfaceIStiFont
-
getAntialiasing
public final boolean getAntialiasing()Gets or sets value which control antialiasing drawing mode.- Specified by:
getAntialiasingin interfaceIStiAxisLabels
-
setAntialiasing
public final void setAntialiasing(boolean value) - Specified by:
setAntialiasingin interfaceIStiAxisLabels
-
getPlacement
Gets or set mode of labels placement on axis.- Specified by:
getPlacementin interfaceIStiAxisLabels
-
setPlacement
- Specified by:
setPlacementin interfaceIStiAxisLabels
-
getColor
Gets or sets color of labels drawing.- Specified by:
getColorin interfaceIStiAxisLabels
-
setColor
- Specified by:
setColorin interfaceIStiAxisLabels
-
getTextAlignment
Gets or sets label text alignment.- Specified by:
getTextAlignmentin interfaceIStiAxisLabels
-
setTextAlignment
- Specified by:
setTextAlignmentin interfaceIStiAxisLabels
-
getStep
public double getStep()Gets or sets value which indicates with what steps do labels be shown on axis.- Specified by:
getStepin interfaceIStiAxisLabels
-
setStep
public void setStep(double value) - Specified by:
setStepin interfaceIStiAxisLabels
-
isShowAsIndex
public final boolean isShowAsIndex()A value indicating that axis labels show the ordinal position of the point (1..N) instead of the argument text.- Specified by:
isShowAsIndexin interfaceIStiAxisLabels- Returns:
-
setShowAsIndex
public final void setShowAsIndex(boolean value) A value indicating that axis labels show the ordinal position of the point (1..N) instead of the argument text.- Specified by:
setShowAsIndexin interfaceIStiAxisLabels- Parameters:
value-
-
getWordWrap
public final boolean getWordWrap()- Specified by:
getWordWrapin interfaceIStiAxisLabels
-
setWordWrap
public final void setWordWrap(boolean value) - Specified by:
setWordWrapin interfaceIStiAxisLabels
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
getFormatService
- Specified by:
getFormatServicein interfaceIStiAxisLabels
-
setFormatService
- Specified by:
setFormatServicein interfaceIStiAxisLabels
-
getTextFormat
Description copied from interface:IStiTextFormatGets or sets the format of the text.- Specified by:
getTextFormatin interfaceIStiTextFormat
-
setTextFormat
- Specified by:
setTextFormatin interfaceIStiTextFormat
-