Class StiSeriesLabels
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.chart.view.seriesLabels.StiSeriesLabels
- All Implemented Interfaces:
IStiJsonReportObject,IStiSerializable,IStiSerializableRef,IStiSerializeToCodeAsClass,IStiSeriesLabels,IStiTextFormat,Cloneable
- Direct Known Subclasses:
StiAxisSeriesLabels,StiFunnelSeriesLabels,StiNoneLabels,StiPieSeriesLabels
public abstract class StiSeriesLabels
extends StiService
implements IStiSerializeToCodeAsClass, IStiSeriesLabels, IStiTextFormat
-
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.final booleanGets or sets value which indicates that chart style will be used.floatgetAngle()Gets or sets angle of text rotation.booleanGets or sets value which control antialiasing drawing mode of series labels.Gets or sets border color of series labels.getBrush()Gets or sets brush which will be used to fill area of series labels.final IStiChartgetChart()Gets or sets collection of conditions which can be used to change behavior of series labels.final StiSeriesLabelsCoreXFgetCore()booleanGets or sets value which incates that border will be drawn or not.getFont()Gets or sets font which will be used to draw series labels.final StringGets or sets format string which used for formating series values (if applicable).Gets or sets foreground color of series labels.Gets or sets which type of information will be shown in legend.Gets or sets marker alignment related to label text.final StiSizeGets or sets marker size.final booleanGets or sets vibility of marker.final StiPieSeriesLabelsCoreXFfinal booleanGets or sets value which indicates that whether it is necessary to avoid intersections between border of series labels and border of series.final StringGets a service category.Gets a service name.final ClassGets a service type.final booleanGets or sets value which indicates that series labels will be shown or not if value equal to null.final booleanDeprecated.final booleanGets or sets value which indicates that series labels will be shown or not if value equal to zero.final intgetStep()Gets or sets value which indicates with what steps do labels be shown.final StringGets or sets text which will be shown after label text.final StringGets or sets text which will be shown before label text.Gets or sets the format of the text.booleanGets or sets value which indicates that series colors must be used.Gets or sets which type of information will be shown in series labels.Gets or sets string which contain separator for value information (if applicated).booleanGets or sets visiblity of series labels.intgetWidth()Fixed width of axis labelsbooleanvoidLoadFromJsonObject(JSONObject jObject) static IStiSeriesLabelsLoadFromJsonObjectInternal(JSONObject jObject, StiChart chart) final voidsetAllowApplyStyle(boolean value) voidsetAngle(float value) voidsetAntialiasing(boolean value) voidsetBorderColor(StiColor value) voidfinal voidfinal voidfinal voidsetCore(StiSeriesLabelsCoreXF value) voidsetDrawBorder(boolean value) voidfinal voidvoidsetFormatService(StiFormatService formatService) voidsetLabelColor(StiColor value) voidvoidfinal voidsetMarkerSize(StiSize value) final voidsetMarkerVisible(boolean value) final voidsetPreventIntersection(boolean value) final voidsetShowNulls(boolean value) final voidsetShowOnZeroValues(boolean value) Deprecated.final voidsetShowZeros(boolean value) final voidsetStep(int value) final voidsetTextAfter(String value) final voidsetTextBefore(String value) voidsetTextFormat(StiFormatService value) voidsetUseSeriesColor(boolean value) voidvoidsetValueTypeSeparator(String value) voidsetVisible(boolean value) voidsetWidth(int width) Fixed width of axis labelsvoidsetWordWrap(boolean wordWrap) 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
-
StiSeriesLabels
public StiSeriesLabels()
-
-
Method Details
-
clone
Creates a new object that is a copy of the current instance.- Specified by:
clonein interfaceIStiSeriesLabels- 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
-
getPreventIntersection
public final boolean getPreventIntersection()Gets or sets value which indicates that whether it is necessary to avoid intersections between border of series labels and border of series.- Specified by:
getPreventIntersectionin interfaceIStiSeriesLabels
-
setPreventIntersection
public final void setPreventIntersection(boolean value) - Specified by:
setPreventIntersectionin interfaceIStiSeriesLabels
-
getCore
- Specified by:
getCorein interfaceIStiSeriesLabels
-
setCore
- Specified by:
setCorein interfaceIStiSeriesLabels
-
getAxisCore
-
getPieCore
-
getAllowApplyStyle
public final boolean getAllowApplyStyle()Gets or sets value which indicates that chart style will be used.- Specified by:
getAllowApplyStylein interfaceIStiSeriesLabels
-
setAllowApplyStyle
public final void setAllowApplyStyle(boolean value) - Specified by:
setAllowApplyStylein interfaceIStiSeriesLabels
-
getFormatService
- Specified by:
getFormatServicein interfaceIStiSeriesLabels
-
setFormatService
- Specified by:
setFormatServicein interfaceIStiSeriesLabels
-
getTextFormat
Description copied from interface:IStiTextFormatGets or sets the format of the text.- Specified by:
getTextFormatin interfaceIStiTextFormat
-
setTextFormat
- Specified by:
setTextFormatin interfaceIStiTextFormat
-
getConditions
Gets or sets collection of conditions which can be used to change behavior of series labels. -
setConditions
-
getShowOnZeroValues
Deprecated. -
setShowOnZeroValues
Deprecated. -
getShowZeros
public final boolean getShowZeros()Gets or sets value which indicates that series labels will be shown or not if value equal to zero.- Specified by:
getShowZerosin interfaceIStiSeriesLabels
-
setShowZeros
public final void setShowZeros(boolean value) - Specified by:
setShowZerosin interfaceIStiSeriesLabels
-
getShowNulls
public final boolean getShowNulls()Gets or sets value which indicates that series labels will be shown or not if value equal to null.- Specified by:
getShowNullsin interfaceIStiSeriesLabels
-
setShowNulls
public final void setShowNulls(boolean value) - Specified by:
setShowNullsin interfaceIStiSeriesLabels
-
getMarkerVisible
public final boolean getMarkerVisible()Gets or sets vibility of marker.- Specified by:
getMarkerVisiblein interfaceIStiSeriesLabels
-
setMarkerVisible
public final void setMarkerVisible(boolean value) - Specified by:
setMarkerVisiblein interfaceIStiSeriesLabels
-
getMarkerSize
Gets or sets marker size.- Specified by:
getMarkerSizein interfaceIStiSeriesLabels
-
setMarkerSize
- Specified by:
setMarkerSizein interfaceIStiSeriesLabels
-
getMarkerAlignment
Gets or sets marker alignment related to label text.- Specified by:
getMarkerAlignmentin interfaceIStiSeriesLabels
-
setMarkerAlignment
- Specified by:
setMarkerAlignmentin interfaceIStiSeriesLabels
-
getStep
public final int getStep()Gets or sets value which indicates with what steps do labels be shown.- Specified by:
getStepin interfaceIStiSeriesLabels
-
setStep
public final void setStep(int value) - Specified by:
setStepin interfaceIStiSeriesLabels
-
getValueType
Gets or sets which type of information will be shown in series labels.- Specified by:
getValueTypein interfaceIStiSeriesLabels
-
setValueType
- Specified by:
setValueTypein interfaceIStiSeriesLabels
-
getValueTypeSeparator
Gets or sets string which contain separator for value information (if applicated).- Specified by:
getValueTypeSeparatorin interfaceIStiSeriesLabels
-
setValueTypeSeparator
- Specified by:
setValueTypeSeparatorin interfaceIStiSeriesLabels
-
getLegendValueType
Gets or sets which type of information will be shown in legend.- Specified by:
getLegendValueTypein interfaceIStiSeriesLabels
-
setLegendValueType
- Specified by:
setLegendValueTypein interfaceIStiSeriesLabels
-
getTextBefore
Gets or sets text which will be shown before label text.- Specified by:
getTextBeforein interfaceIStiSeriesLabels
-
setTextBefore
- Specified by:
setTextBeforein interfaceIStiSeriesLabels
-
getTextAfter
Gets or sets text which will be shown after label text.- Specified by:
getTextAfterin interfaceIStiSeriesLabels
-
setTextAfter
- Specified by:
setTextAfterin interfaceIStiSeriesLabels
-
getAngle
public float getAngle()Gets or sets angle of text rotation.- Specified by:
getAnglein interfaceIStiSeriesLabels
-
setAngle
public void setAngle(float value) - Specified by:
setAnglein interfaceIStiSeriesLabels
-
getFormat
Gets or sets format string which used for formating series values (if applicable).- Specified by:
getFormatin interfaceIStiSeriesLabels
-
setFormat
- Specified by:
setFormatin interfaceIStiSeriesLabels
-
getAntialiasing
public boolean getAntialiasing()Gets or sets value which control antialiasing drawing mode of series labels.- Specified by:
getAntialiasingin interfaceIStiSeriesLabels
-
setAntialiasing
public void setAntialiasing(boolean value) - Specified by:
setAntialiasingin interfaceIStiSeriesLabels
-
getVisible
public boolean getVisible()Gets or sets visiblity of series labels.- Specified by:
getVisiblein interfaceIStiSeriesLabels
-
setVisible
public void setVisible(boolean value) - Specified by:
setVisiblein interfaceIStiSeriesLabels
-
getDrawBorder
public boolean getDrawBorder()Gets or sets value which incates that border will be drawn or not.- Specified by:
getDrawBorderin interfaceIStiSeriesLabels
-
setDrawBorder
public void setDrawBorder(boolean value) - Specified by:
setDrawBorderin interfaceIStiSeriesLabels
-
getUseSeriesColor
public boolean getUseSeriesColor()Gets or sets value which indicates that series colors must be used.- Specified by:
getUseSeriesColorin interfaceIStiSeriesLabels
-
setUseSeriesColor
public void setUseSeriesColor(boolean value) - Specified by:
setUseSeriesColorin interfaceIStiSeriesLabels
-
getLabelColor
Gets or sets foreground color of series labels.- Specified by:
getLabelColorin interfaceIStiSeriesLabels
-
setLabelColor
- Specified by:
setLabelColorin interfaceIStiSeriesLabels
-
getBorderColor
Gets or sets border color of series labels.- Specified by:
getBorderColorin interfaceIStiSeriesLabels
-
setBorderColor
- Specified by:
setBorderColorin interfaceIStiSeriesLabels
-
getBrush
Gets or sets brush which will be used to fill area of series labels.- Specified by:
getBrushin interfaceIStiSeriesLabels
-
setBrush
- Specified by:
setBrushin interfaceIStiSeriesLabels
-
getFont
Gets or sets font which will be used to draw series labels.- Specified by:
getFontin interfaceIStiSeriesLabels
-
setFont
- Specified by:
setFontin interfaceIStiSeriesLabels
-
getChart
- Specified by:
getChartin interfaceIStiSeriesLabels
-
setChart
- Specified by:
setChartin interfaceIStiSeriesLabels
-
isWordWrap
public boolean isWordWrap()- Specified by:
isWordWrapin interfaceIStiSeriesLabels- Returns:
- the wordWrap
-
setWordWrap
public void setWordWrap(boolean wordWrap) - Specified by:
setWordWrapin interfaceIStiSeriesLabels- Parameters:
wordWrap- the wordWrap to set
-
getWidth
public int getWidth()Fixed width of axis labels- Specified by:
getWidthin interfaceIStiSeriesLabels- Returns:
- the width
-
setWidth
public void setWidth(int width) Fixed width of axis labels- Parameters:
width- the width to set
-
toString
-
SaveToJsonObject
- Specified by:
SaveToJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin interfaceIStiJsonReportObject- Throws:
JSONException
-
LoadFromJsonObjectInternal
public static IStiSeriesLabels LoadFromJsonObjectInternal(JSONObject jObject, StiChart chart) throws JSONException - Throws:
JSONException
-