|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.StiBase
com.stimulsoft.report.components.StiComponent
com.stimulsoft.report.chart.StiChart
public class StiChart
Field Summary | |
---|---|
boolean |
isAnimation
|
boolean |
isBofValue
|
boolean |
isEofValue
|
java.lang.String |
jsonMasterComponentTemp
|
int |
positionValue
|
Fields inherited from class com.stimulsoft.report.components.StiComponent |
---|
canGrow, canShrink, componentPlacement, conditions, currentPointer, expressions, interaction, isRendered, page, parent, parentBookmark, parentPointer, top, width |
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
---|
REFERENCE_EMPTY, REFERENCE_REPORT |
Constructor Summary | |
---|---|
StiChart()
Creates a new StiChart. |
|
StiChart(StiRectangle rect)
Creates a new StiChart. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a new object that is a copy of the current instance. |
void |
convert(StiUnit oldUnit,
StiUnit newUnit)
Converts a component out of one unit into another. |
double |
ConvertToHInches(double value)
|
boolean |
existDataRelation()
|
void |
First()
Sets the position at the beginning. |
boolean |
getAllowApplyStyle()
Gets or sets value which indicates that chart style will be used. |
java.lang.String[] |
getAllStrings()
Returns array of the property names which can be localized. |
IStiArea |
getArea()
Gets area of the chart. |
StiBorder |
getBorder()
Gets or sets frame of the component. |
StiBrush |
getBrush()
Gets or sets a brush to fill a component. |
StiBusinessObject |
getBusinessObject()
Get business object that is used for getting data. |
java.lang.String |
getBusinessObjectGuid()
Gets or sets guid of the Business Object. |
boolean |
getCanGrow()
gets or sets a value which indicates that this object can grow. |
boolean |
getCanShrink()
gets or sets value which indicates that this object can shrink. |
StiChartInfoV1 |
getChartInfoV1()
|
StiChartInfoV2 |
getChartInfoV2()
|
IStiArea |
getChartType()
Deprecated. |
java.lang.String |
getComponentStyle()
gets or sets a style of a component. |
StiComponentType |
getComponentType()
Gets the type of processing when printing. |
StiConstantLinesCollection |
getConstantLines()
Gets os sets constant lines settings of the chart. |
StiChartCoreXF |
getCore()
|
int |
getCount()
Gets count of rows. |
int |
getCountData()
Gets or sets the count of rows for virtual data. |
java.lang.String |
getCustomStyleName()
|
StiDataRelation |
getDataRelation()
Get link that is used for master-detail reports rendering. |
java.lang.String |
getDataRelationName()
Gets or sets relation name. |
StiDataSource |
getDataSource()
Get data source that is used for getting data. |
java.lang.String |
getDataSourceName()
Gets or sets name of the Data Source. |
StiRectangle |
getDefaultClientRectangle()
Gets or sets the default client area of a component. |
StiFilterEventHandler |
getFilterMethodHandler()
Gets or sets a method for filtration. |
StiFilterMode |
getFilterMode()
Gets or sets filter mode. |
boolean |
getFilterOn()
Gets or sets value indicates, that filter is turn on. |
StiFiltersCollection |
getFilters()
Gets or sets the collection of data filters. |
int |
getHorSpacing()
Gets os sets horizontal space between border of the chart and the chart. |
EngineOptions.Image |
GetImage(StiRefObject<java.lang.Float> zoom)
|
EngineOptions.Image |
GetImage(StiRefObject<java.lang.Float> zoom,
StiExportFormat format)
|
boolean |
getIsBof()
Gets value, indicates that the position indicates to the beginning of data. |
boolean |
getIsBusinessObjectEmpty()
Returns true if Business Object property is not assigned. |
boolean |
getIsDataSourceEmpty()
|
boolean |
getIsEmpty()
Gets value indicates that no data. |
boolean |
getIsEof()
Gets value indicates that the position indicates to the end of data. |
IStiLegend |
getLegend()
Gets or sets legend settings. |
java.lang.String |
getLocalizedCategory()
Gets a localized name of the component category. |
java.lang.String |
getLocalizedName()
Gets a localized component name. |
StiComponent |
getMasterComponent()
Gets or sets the master-component. |
int |
getPosition()
Gets the current position. |
int |
getPriority()
Gets a component priority. |
boolean |
getProcessAtEnd()
Gets or sets value indicates that a chart is processed at the end of the report execution. |
StiProcessChartEvent |
getProcessChartEvent()
Occurs when getting the ProcessChart. |
StiImageRotation |
getRotation()
Gets or sets value which indicates how to rotate an chart before output. |
StiSeriesCollection |
getSeries()
Gets list of series. |
IStiSeriesLabels |
getSeriesLabels()
Gets or sets series labels settings. |
StiChartConditionsCollection |
getSeriesLabelsConditions()
Gets or sets collection of conditions which can be used to change behavior of series labels. |
java.util.ArrayList<java.lang.String> |
getSort()
Gets or sets the array of strings that describes rules of sorting. |
java.lang.String |
getString(java.lang.String propertyName)
Gets localized string from specified property name. |
StiStripsCollection |
getStrips()
Gets os sets strips settings of the chart. |
IStiChartStyle |
getStyle()
Gets or sets style of the chart. |
IStiChartTable |
getTable()
|
IStiChartTitle |
getTitle()
Gets or sets chart title settings. |
int |
getToolboxPosition()
|
int |
getVertSpacing()
Gets os sets vertical space between border of the chart and the chart. |
void |
invokeEvents()
Invokes all events for this components. |
void |
InvokeProcessChart(java.lang.Object sender,
StiEventHandlerArgs e)
Raises the ProcessChart event. |
boolean |
isAnimationChangingValues()
|
boolean |
isDataSourceEmpty()
Returns true if DataSource property is not assigned. |
boolean |
isExportAsImage(StiExportFormat format)
|
void |
Last()
Move on the last row. |
void |
LoadFromJsonObject(JSONObject jObject)
|
void |
Next()
Move on the next row. |
void |
Prior()
Move on the previous row. |
void |
RenderAtEnd()
|
void |
RestoreState(java.lang.String stateName)
Restores the earlier saved object state. |
void |
saveState(java.lang.String stateName)
Saves the current state of an object. |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setAllowApplyStyle(boolean value)
|
void |
setAnimationChangingValues(boolean value)
|
void |
setArea(IStiArea value)
|
void |
setBorder(StiBorder value)
|
void |
setBrush(StiBrush value)
|
void |
setBusinessObjectGuid(java.lang.String value)
|
void |
setCanGrow(boolean value)
|
void |
setCanShrink(boolean value)
|
void |
setChartType(IStiArea value)
Deprecated. |
void |
setComponentStyle(java.lang.String value)
|
void |
setConstantLines(StiConstantLinesCollection value)
|
void |
setCore(StiChartCoreXF value)
|
void |
setCountData(int value)
|
void |
setCustomStyleName(java.lang.String value)
|
void |
setDataRelationName(java.lang.String value)
|
void |
setDataSource(StiDataSource source)
|
void |
setDataSourceName(java.lang.String value)
|
void |
setFilterMethodHandler(StiFilterEventHandler value)
|
void |
setFilterMode(StiFilterMode value)
|
void |
setFilterOn(boolean value)
|
void |
setFilters(StiFiltersCollection value)
|
void |
setHorSpacing(int value)
|
void |
setIsBof(boolean value)
|
void |
setIsEof(boolean value)
|
void |
setLegend(IStiLegend value)
|
void |
setMasterComponent(StiComponent value)
|
void |
setPosition(int value)
|
void |
setProcessAtEnd(boolean value)
|
void |
setProcessChartEvent(StiProcessChartEvent value)
|
void |
setRotation(StiImageRotation value)
|
void |
setSeries(StiSeriesCollection value)
|
void |
setSeriesLabels(IStiSeriesLabels value)
|
void |
setSeriesLabelsConditions(StiChartConditionsCollection value)
|
void |
setSort(java.util.ArrayList<java.lang.String> value)
|
void |
setString(java.lang.String propertyName,
java.lang.String value)
Sets localized string to specified property name. |
void |
setStrips(StiStripsCollection value)
|
void |
setStyle(IStiChartStyle value)
|
void |
setTable(IStiChartTable table)
|
void |
setTitle(IStiChartTitle value)
|
void |
setVertSpacing(int value)
|
void |
simplifyValues()
|
Methods inherited from class com.stimulsoft.report.StiBase |
---|
getName, getServiceName |
Methods inherited from class com.stimulsoft.base.services.StiService |
---|
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabled |
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject |
---|
cleanReference, getReference, setReference |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImageExtended |
---|
getImage |
Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImage |
---|
getImage |
Methods inherited from interface com.stimulsoft.report.chart.interfaces.IStiChart |
---|
getIsDesigning |
Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
---|
getReference, setReference |
Field Detail |
---|
public boolean isEofValue
public boolean isBofValue
public boolean isAnimation
public int positionValue
public java.lang.String jsonMasterComponentTemp
Constructor Detail |
---|
public StiChart()
public StiChart(StiRectangle rect)
rect
- The rectangle describes sizes and position of the component.Method Detail |
---|
public boolean isDataSourceEmpty()
IStiDataSource
isDataSourceEmpty
in interface IStiDataSource
public void convert(StiUnit oldUnit, StiUnit newUnit)
convert
in interface IStiUnitConvert
convert
in class StiComponent
oldUnit
- Old units.newUnit
- New units.public final double ConvertToHInches(double value)
ConvertToHInches
in interface IStiChart
public void setString(java.lang.String propertyName, java.lang.String value)
setString
in interface IStiGlobalizationProvider
public java.lang.String getString(java.lang.String propertyName)
getString
in interface IStiGlobalizationProvider
public java.lang.String[] getAllStrings()
getAllStrings
in interface IStiGlobalizationProvider
public java.lang.Object clone()
clone
in interface IStiChart
clone
in class StiComponent
public void saveState(java.lang.String stateName)
saveState
in interface IStiStateSaveRestore
saveState
in class StiComponent
stateName
- A name of the state being saved.public void RestoreState(java.lang.String stateName)
RestoreState
in class StiComponent
stateName
- A name of the state being restored.public EngineOptions.Image GetImage(StiRefObject<java.lang.Float> zoom)
public EngineOptions.Image GetImage(StiRefObject<java.lang.Float> zoom, StiExportFormat format)
public boolean isExportAsImage(StiExportFormat format)
isExportAsImage
in interface IStiExportImageExtended
isExportAsImage
in class StiComponent
public final StiFilterEventHandler getFilterMethodHandler()
getFilterMethodHandler
in interface IStiFilter
public final void setFilterMethodHandler(StiFilterEventHandler value)
setFilterMethodHandler
in interface IStiFilter
public final StiFilterMode getFilterMode()
getFilterMode
in interface IStiFilter
public final void setFilterMode(StiFilterMode value)
setFilterMode
in interface IStiFilter
public final StiFiltersCollection getFilters()
getFilters
in interface IStiFilter
public final void setFilters(StiFiltersCollection value)
setFilters
in interface IStiFilter
public boolean getFilterOn()
getFilterOn
in interface IStiFilter
public void setFilterOn(boolean value)
setFilterOn
in interface IStiFilter
public final StiBorder getBorder()
getBorder
in interface IStiBorder
public final void setBorder(StiBorder value)
setBorder
in interface IStiBorder
public final StiBrush getBrush()
getBrush
in interface IStiChart
getBrush
in interface IStiBrush
public final void setBrush(StiBrush value)
setBrush
in interface IStiChart
setBrush
in interface IStiBrush
public java.util.ArrayList<java.lang.String> getSort()
getSort
in interface IStiSort
public void setSort(java.util.ArrayList<java.lang.String> value)
setSort
in interface IStiSort
public StiDataSource getDataSource()
getDataSource
in interface IStiDataSource
public void setDataSource(StiDataSource source)
public final java.lang.String getDataSourceName()
getDataSourceName
in interface IStiDataSource
public final void setDataSourceName(java.lang.String value)
setDataSourceName
in interface IStiDataSource
public final boolean getIsDataSourceEmpty()
public final boolean getIsBusinessObjectEmpty()
IStiBusinessObject
getIsBusinessObjectEmpty
in interface IStiBusinessObject
public StiBusinessObject getBusinessObject()
getBusinessObject
in interface IStiBusinessObject
public final java.lang.String getBusinessObjectGuid()
getBusinessObjectGuid
in interface IStiBusinessObject
public final void setBusinessObjectGuid(java.lang.String value)
setBusinessObjectGuid
in interface IStiBusinessObject
public StiComponent getMasterComponent()
getMasterComponent
in interface IStiMasterComponent
public void setMasterComponent(StiComponent value)
setMasterComponent
in interface IStiMasterComponent
public int getCountData()
public void setCountData(int value)
public void First()
First
in interface IStiEnumerator
public void Prior()
Prior
in interface IStiEnumerator
public void Next()
Next
in interface IStiEnumerator
public void Last()
Last
in interface IStiEnumerator
public boolean getIsEof()
getIsEof
in interface IStiEnumerator
public void setIsEof(boolean value)
setIsEof
in interface IStiEnumerator
public boolean getIsBof()
getIsBof
in interface IStiEnumerator
public void setIsBof(boolean value)
setIsBof
in interface IStiEnumerator
public boolean getIsEmpty()
getIsEmpty
in interface IStiEnumerator
public int getPosition()
getPosition
in interface IStiEnumerator
public void setPosition(int value)
setPosition
in interface IStiEnumerator
public int getCount()
getCount
in interface IStiEnumerator
public StiDataRelation getDataRelation()
getDataRelation
in interface IStiDataRelation
public boolean existDataRelation()
existDataRelation
in interface IStiDataRelation
public final java.lang.String getDataRelationName()
getDataRelationName
in interface IStiDataRelation
public final void setDataRelationName(java.lang.String value)
setDataRelationName
in interface IStiDataRelation
public boolean getCanShrink()
StiComponent
getCanShrink
in interface IStiCanShrink
getCanShrink
in class StiComponent
public void setCanShrink(boolean value)
setCanShrink
in interface IStiCanShrink
setCanShrink
in class StiComponent
public boolean getCanGrow()
StiComponent
getCanGrow
in interface IStiCanGrow
getCanGrow
in class StiComponent
public void setCanGrow(boolean value)
setCanGrow
in interface IStiCanGrow
setCanGrow
in class StiComponent
public boolean getProcessAtEnd()
getProcessAtEnd
in interface IStiProcessAtEnd
public void setProcessAtEnd(boolean value)
setProcessAtEnd
in interface IStiProcessAtEnd
public int getPriority()
getPriority
in class StiComponent
public java.lang.String getLocalizedCategory()
StiBase
getLocalizedCategory
in class StiBase
public StiRectangle getDefaultClientRectangle()
getDefaultClientRectangle
in class StiComponent
public StiComponentType getComponentType()
getComponentType
in class StiComponent
public int getToolboxPosition()
getToolboxPosition
in class StiComponent
public java.lang.String getLocalizedName()
getLocalizedName
in class StiBase
public void invokeEvents()
invokeEvents
in class StiComponent
public final void InvokeProcessChart(java.lang.Object sender, StiEventHandlerArgs e)
public StiProcessChartEvent getProcessChartEvent()
public void setProcessChartEvent(StiProcessChartEvent value)
public StiChartConditionsCollection getSeriesLabelsConditions()
getSeriesLabelsConditions
in interface IStiChart
public void setSeriesLabelsConditions(StiChartConditionsCollection value)
setSeriesLabelsConditions
in interface IStiChart
@Deprecated public final IStiArea getChartType()
@Deprecated public final void setChartType(IStiArea value)
public java.lang.String getComponentStyle()
StiComponent
getComponentStyle
in class StiComponent
public void setComponentStyle(java.lang.String value)
setComponentStyle
in class StiComponent
public final StiChartCoreXF getCore()
public final void setCore(StiChartCoreXF value)
public final StiImageRotation getRotation()
public final void setRotation(StiImageRotation value)
public final StiSeriesCollection getSeries()
getSeries
in interface IStiChart
public final void setSeries(StiSeriesCollection value)
setSeries
in interface IStiChart
public final IStiArea getArea()
getArea
in interface IStiChart
public final void setArea(IStiArea value)
setArea
in interface IStiChart
public IStiChartTable getTable()
getTable
in interface IStiChart
public void setTable(IStiChartTable table)
setTable
in interface IStiChart
table
- the table to setpublic final IStiChartStyle getStyle()
getStyle
in interface IStiChart
public final void setStyle(IStiChartStyle value)
setStyle
in interface IStiChart
public final boolean getAllowApplyStyle()
public final void setAllowApplyStyle(boolean value)
public final java.lang.String getCustomStyleName()
public final void setCustomStyleName(java.lang.String value)
public final int getHorSpacing()
getHorSpacing
in interface IStiChart
public final void setHorSpacing(int value)
setHorSpacing
in interface IStiChart
public final int getVertSpacing()
getVertSpacing
in interface IStiChart
public final void setVertSpacing(int value)
setVertSpacing
in interface IStiChart
public final IStiSeriesLabels getSeriesLabels()
getSeriesLabels
in interface IStiChart
public final void setSeriesLabels(IStiSeriesLabels value)
setSeriesLabels
in interface IStiChart
public final IStiLegend getLegend()
getLegend
in interface IStiChart
public final void setLegend(IStiLegend value)
setLegend
in interface IStiChart
public final IStiChartTitle getTitle()
getTitle
in interface IStiChart
public final void setTitle(IStiChartTitle value)
setTitle
in interface IStiChart
public StiStripsCollection getStrips()
getStrips
in interface IStiChart
public void setStrips(StiStripsCollection value)
setStrips
in interface IStiChart
public StiConstantLinesCollection getConstantLines()
getConstantLines
in interface IStiChart
public void setConstantLines(StiConstantLinesCollection value)
setConstantLines
in interface IStiChart
public final StiChartInfoV1 getChartInfoV1()
public final StiChartInfoV2 getChartInfoV2()
public final void RenderAtEnd()
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject
in interface IStiJsonReportObject
SaveToJsonObject
in class StiComponent
JSONException
public void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject
in interface IStiJsonReportObject
LoadFromJsonObject
in class StiComponent
JSONException
public boolean isAnimationChangingValues()
public void setAnimationChangingValues(boolean value)
isAnimationChangingValues
- the isAnimationChangingValues to setpublic void simplifyValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |