|
||||||||||
| 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.components.simplecomponents.StiSparkline
public class StiSparkline
Copyright Stimulsoft
| Field Summary | |
|---|---|
StiBorder |
border
|
StiBrush |
brush
|
java.lang.String |
dataRelationName
|
StiColor |
negativeColor
|
StiColor |
positiveColor
|
boolean |
showFirstLastPoints
|
boolean |
showHighLowPoints
|
StiSparklineType |
type
|
double[] |
values
|
| 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 | |
|---|---|
StiSparkline()
Creates a new StiSparkline. |
|
StiSparkline(StiRectangle rect)
Creates a new StiSparkline. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone(boolean cloneProperties)
Creates a new object that is a copy of the current instance. |
StiComponent |
createNew()
|
boolean |
existDataRelation()
|
double[] |
fetchValues()
|
StiBorder |
getBorder()
Gets or sets border of the component. |
StiBrush |
getBrush()
Gets or sets a brush to fill a component. |
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. |
StiDataRelation |
getDataRelation()
Get link that is used for master-detail reports rendering. |
java.lang.String |
getDataRelationName()
Gets or sets relation name. |
StiDataSource |
getDataSource()
|
StiRectangle |
getDefaultClientRectangle()
gets the default client area of a component. |
java.awt.image.BufferedImage |
getImage(double zoom)
|
java.awt.image.BufferedImage |
getImage(double zoom,
StiExportFormat format)
|
java.lang.String |
getLocalizedCategory()
Gets a localized name of the component category. |
java.lang.String |
getLocalizedName()
Gets a localized component name. |
StiColor |
getNegativeColor()
Gets or sets a back color. |
StiColor |
getPositiveColor()
Gets or sets a back color. |
int |
getPriority()
gets a component priority. |
StiComponentType |
getStiComponentType()
Gets the type of processing when printing. |
int |
getToolboxPosition()
|
StiSparklineType |
getType()
|
java.lang.String |
getValueDataColumn()
Gets or sets a name of the column that contains the values. |
java.lang.String |
getValuesContainer()
|
boolean |
isExportAsImage(StiExportFormat format)
|
boolean |
isShowFirstLastPoints()
Gets or sets the value which indicates that first and last points should be show. |
boolean |
isShowHighLowPoints()
Gets or sets the value which indicates that high and low points should be show. |
void |
LoadFromJsonObject(JSONObject jObject)
|
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setBorder(StiBorder border)
|
void |
setBrush(StiBrush brush)
|
void |
setDataRelationName(java.lang.String dataRelationName)
|
void |
setNegativeColor(StiColor negativeColor)
|
void |
setPositiveColor(StiColor positiveColor)
|
void |
setShowFirstLastPoints(boolean showFirstLastPoints)
|
void |
setShowHighLowPoints(boolean showHighLowPoints)
|
void |
setType(StiSparklineType type)
|
void |
setValueDataColumn(java.lang.String value)
Gets or sets a name of the column that contains the values. |
void |
setValuesContainer(java.lang.String value)
|
boolean |
shouldSerializeBorder()
|
| 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 |
| Field Detail |
|---|
public java.lang.String dataRelationName
public StiBrush brush
public StiBorder border
public double[] values
public StiSparklineType type
public boolean showHighLowPoints
public boolean showFirstLastPoints
public StiColor positiveColor
public StiColor negativeColor
| Constructor Detail |
|---|
public StiSparkline()
public StiSparkline(StiRectangle rect)
rect - The rectangle describes sizes and position of the component.| Method Detail |
|---|
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiComponentJSONException
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiComponentJSONExceptionpublic StiDataRelation getDataRelation()
getDataRelation in interface IStiDataRelationpublic java.lang.String getDataRelationName()
getDataRelationName in interface IStiDataRelationpublic void setDataRelationName(java.lang.String dataRelationName)
setDataRelationName in interface IStiDataRelationdataRelationName - the dataRelationName to setpublic java.awt.image.BufferedImage getImage(double zoom)
public java.awt.image.BufferedImage getImage(double zoom,
StiExportFormat format)
public boolean isExportAsImage(StiExportFormat format)
isExportAsImage in interface IStiExportImageExtendedisExportAsImage in class StiComponentpublic java.lang.Object clone(boolean cloneProperties)
clone in class StiComponentpublic StiBrush getBrush()
getBrush in interface IStiBrushpublic void setBrush(StiBrush brush)
setBrush in interface IStiBrushbrush - the brush to setpublic boolean shouldSerializeBorder()
public StiBorder getBorder()
getBorder in interface IStiBorderpublic void setBorder(StiBorder border)
setBorder in interface IStiBorderborder - the border to setpublic boolean getCanShrink()
StiComponent
getCanShrink in interface IStiCanShrinkgetCanShrink in class StiComponentpublic boolean getCanGrow()
StiComponent
getCanGrow in interface IStiCanGrowgetCanGrow in class StiComponentpublic int getPriority()
StiComponent
getPriority in class StiComponentpublic java.lang.String getLocalizedCategory()
StiBase
getLocalizedCategory in class StiBasepublic StiRectangle getDefaultClientRectangle()
StiComponent
getDefaultClientRectangle in class StiComponentpublic StiComponentType getStiComponentType()
public int getToolboxPosition()
getToolboxPosition in class StiComponentpublic java.lang.String getLocalizedName()
getLocalizedName in class StiBasepublic StiComponent createNew()
public double[] fetchValues()
public StiDataSource getDataSource()
public void setValueDataColumn(java.lang.String value)
value - public java.lang.String getValueDataColumn()
public java.lang.String getValuesContainer()
public void setValuesContainer(java.lang.String value)
valuesContainer - the valuesContainer to setpublic StiSparklineType getType()
public void setType(StiSparklineType type)
type - the type to setpublic boolean isShowHighLowPoints()
public void setShowHighLowPoints(boolean showHighLowPoints)
showHighLowPoints - the showHighLowPoints to setpublic boolean isShowFirstLastPoints()
public void setShowFirstLastPoints(boolean showFirstLastPoints)
showFirstLastPoints - the showFirstLastPoints to setpublic StiColor getPositiveColor()
public void setPositiveColor(StiColor positiveColor)
positiveColor - the positiveColor to setpublic StiColor getNegativeColor()
public void setNegativeColor(StiColor negativeColor)
negativeColor - the negativeColor to setpublic boolean existDataRelation()
existDataRelation in interface IStiDataRelation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||