public interface ChartProperties extends DynObject, Persistent, Cloneable
ChartService
.ChartService
Modifier and Type | Method and Description |
---|---|
ChartProperties |
clone() |
String |
getChartDescription()
Obtains a description of the chart purpose
|
boolean |
getChartIsHorizontal()
Check if the chart will be painted on horizontal or vertical
|
boolean |
getChartLabellingDataShown() |
Font |
getChartLabellingFont() |
String |
getChartLabellingPosition() |
boolean |
getChartLabellingVisible() |
String |
getChartName()
Get the name of the chart (internal name)
|
ChartRenderer |
getChartRenderer()
Get the current
ChartRenderer used |
ChartRenderer |
getChartRenderer(String name) |
String |
getChartRendererName()
Get ID of the current
ChartRenderer used |
String |
getChartTableName()
Gets the table name of the data origin.
|
String |
getChartTitle()
Get the title of the chart (shown in the chart area drawn)
|
String |
getChartType()
Get the ChartService's type.
|
float |
getDomainAxisPosition() |
boolean |
getHasLegendCoordinates()
Gets if it must use the coordinates or not
|
boolean |
getHasLegendDefaultConf()
If the legend must attend to the manual configuration or the default
|
boolean |
getHasPlotDefaultSize()
Determines if the Plot has a default size
|
boolean |
getHasPlotOutline()
Determines if the Plot has outline or not
|
boolean |
getIsLegendVisible()
Gets if the legend is visible or not in this
ChartService |
String |
getLegendOrientation()
Obtains the predefined place inside the position selected of the legend
|
String |
getLegendPosition()
Obtains the predefined position of the legend
|
Font |
getLegendTitleFont()
Gets the font used on the title
|
boolean |
getLegendTitleIsVisible()
Gets if the legend title is visible
|
String |
getLegendTitleText()
Obtains the legend's title
|
int |
getLegendXCoordinate()
Obtains the x-coordinate of the position of the legend
|
int |
getLegendYCoordinate()
Obtains the y-coordinate of the position of the legend
|
String |
getNoDataMessageText() |
boolean |
getNullGroupIgnored() |
float |
getPlotBackgroundAlpha()
Gets the transparency alpha value of the plot area background
|
Color |
getPlotBackgroundColor()
Gets the background color of the Plot area
|
int |
getPlotHeight()
Returns the plot area height
|
int |
getPlotWidth()
Returns the plot area width
|
int |
getPlotXPosition()
Gets the x-coordinate of the upper-left corner of the Plot area
|
int |
getPlotYPosition()
Gets the y-coordinate of the upper-left corner of the Plot area
|
Map<String,ChartRenderer> |
getRenderers() |
RequiredField |
getRequiredField(String name)
Get an specific
RequiredField using its name. |
List<RequiredField> |
getRequiredFields()
Get a List with the
RequiredField s needed to define the
the set of fields of the ChartDataSet to contain the chart's data |
boolean |
getUseSelectedFeatures()
true if the chart will be rendered only for selected features
|
boolean |
hasDefaultChartAxis() |
boolean |
is3DChart()
Gets the dimension of the chart
|
boolean |
isChartVisibleIfNoData() |
boolean |
isMandatoryChart() |
boolean |
isXYPlotChart() |
void |
setChartDescription(String description) |
void |
setChartDimension(Boolean type) |
void |
setChartDynValue(String name,
Object value)
Deprecated.
|
void |
setChartLabellingDataShown(boolean b) |
void |
setChartLabellingFont(Font labellingFont) |
void |
setChartLabellingPosition(String chartLabellingRotation) |
void |
setChartLabellingVisible(boolean visible) |
void |
setChartName(String name) |
void |
setChartRenderer(String chartRendererName) |
void |
setChartTableName(String name) |
void |
setChartTitle(String title)
This method gives a title to the chart when it's drawn
|
void |
setDomainAxisPosition(float angle) |
void |
setHasDefaultChartAxis(boolean selected) |
void |
setHasLegendCoordinates(boolean urls)
Assign if the legend must use a coordinates manually indicated
|
void |
setHasLegendManualConf(boolean urls)
Indicates if the Legend have to use the default configuration
or it has another one specified manually
|
void |
setHasPlotManualSize(boolean urls)
Sets if the Plot has a non-predefined size
|
void |
setHasPlotOutline(boolean urls)
Sets if the plot has outline or not
|
void |
setIsChartVisibleIfNoData(boolean charts) |
void |
setIsLegendVisible(boolean urls)
Sets if the legend will be visible for this
ChartService |
void |
setIsMandatoryChart(boolean selected) |
void |
setIsXYPlotChart(boolean selected) |
void |
setLegendOrientation(String table)
Inserts a predefined place inside the position selected for the legend
|
void |
setLegendPosition(String table)
Establish a predefined position for the legend
|
void |
setLegendTitleFont(Font font)
Establishes a font for the title
|
void |
setLegendTitleIsVisible(boolean selected)
Sets if the legend title will be visible
|
void |
setLegendTitleText(String title)
Assigns a text to the legend title
|
void |
setLegendXCoordinate(int table)
Sets the x-coordinate of the legend
|
void |
setLegendYCoordinate(int table)
Sets the y-coordinate of the legend
|
void |
setNoDataMessageText(String text) |
void |
setNullGroupIgnored(boolean ignored) |
void |
setPlotBackgroundAlpha(float table)
Sets a transparency for the plot area background
|
void |
setPlotBackgroundColor(Color table)
Assigns a background color to the Plot area
|
void |
setPlotHeight(int table)
Defines the height of the Plot area
|
void |
setPlotWidth(int table)
Defines the width of the Plot area
|
void |
setPlotXPosition(int table)
Establishes a x-coordinate for the upper-left corner of the Plot area
|
void |
setPlotYPosition(int table)
Establishes a y-coordinate for the upper-left corner of the Plot area
|
void |
setUseSelectedFeatures(boolean b) |
clear, delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValue
loadFromState, saveToState
String getChartType()
String getChartName()
void setChartName(String name)
String getChartTitle()
void setChartTitle(String title)
title
- String getChartDescription()
void setChartDescription(String description)
boolean is3DChart()
void setChartDimension(Boolean type)
boolean getChartIsHorizontal()
List<RequiredField> getRequiredFields()
RequiredField
s needed to define the
the set of fields of the ChartDataSet
to contain the chart's dataRequiredField
s@Deprecated void setChartDynValue(String name, Object value)
String getChartTableName()
void setChartTableName(String name)
RequiredField getRequiredField(String name)
RequiredField
using its name.{@link
- RequiredField}'s nameRequiredField
String getChartRendererName()
ChartRenderer
usedChartRenderer
nameChartRenderer getChartRenderer()
ChartRenderer
usedChartRenderer
void setIsLegendVisible(boolean urls)
ChartService
boolean getIsLegendVisible()
ChartService
void setLegendTitleIsVisible(boolean selected)
true
- if visible, false if notboolean getLegendTitleIsVisible()
void setLegendTitleText(String title)
title
- String getLegendTitleText()
void setLegendTitleFont(Font font)
font
- to be usedFont getLegendTitleFont()
void setHasLegendManualConf(boolean urls)
true
- if has a manual configuration, false to use the default oneboolean getHasLegendDefaultConf()
void setHasLegendCoordinates(boolean urls)
boolean
- to use coordinates or notboolean getHasLegendCoordinates()
String getLegendPosition()
void setLegendPosition(String table)
String
- with a valid predefined position (TOP, BOTTOM, LEFT, RIGHT)String getLegendOrientation()
void setLegendOrientation(String table)
a
- orientation inside the selected position (LEFT, CENTER, RIGHT) for
the TOP and BOTTOM positions, and TOP, CENTER and BOTTOM for the LEFT,
RIGHT positions.int getLegendXCoordinate()
void setLegendXCoordinate(int table)
number
- of pixels to be moved over the x-axisint getLegendYCoordinate()
void setLegendYCoordinate(int table)
number
- of pixels to be moved over the y-axisColor getPlotBackgroundColor()
void setPlotBackgroundColor(Color table)
The
- color to assignfloat getPlotBackgroundAlpha()
void setPlotBackgroundAlpha(float table)
The
- transparency valuevoid setHasPlotOutline(boolean urls)
true
- if has outline, false if notboolean getHasPlotOutline()
void setHasPlotManualSize(boolean urls)
false
- if has manual configuration, true if notboolean getHasPlotDefaultSize()
int getPlotXPosition()
void setPlotXPosition(int table)
int
- with the x-coordinateint getPlotYPosition()
void setPlotYPosition(int table)
int
- with the y-coordinateint getPlotWidth()
void setPlotWidth(int table)
the
- plot area widthint getPlotHeight()
void setPlotHeight(int table)
the
- plot area heightboolean isMandatoryChart()
void setIsMandatoryChart(boolean selected)
boolean hasDefaultChartAxis()
void setHasDefaultChartAxis(boolean selected)
boolean isXYPlotChart()
void setIsXYPlotChart(boolean selected)
ChartProperties clone()
String getNoDataMessageText()
void setNoDataMessageText(String text)
boolean isChartVisibleIfNoData()
void setIsChartVisibleIfNoData(boolean charts)
boolean getUseSelectedFeatures()
void setUseSelectedFeatures(boolean b)
ChartRenderer getChartRenderer(String name)
Map<String,ChartRenderer> getRenderers()
void setChartRenderer(String chartRendererName)
boolean getNullGroupIgnored()
void setNullGroupIgnored(boolean ignored)
float getDomainAxisPosition()
void setDomainAxisPosition(float angle)
void setChartLabellingVisible(boolean visible)
boolean getChartLabellingVisible()
void setChartLabellingFont(Font labellingFont)
Font getChartLabellingFont()
void setChartLabellingDataShown(boolean b)
String getChartLabellingPosition()
void setChartLabellingPosition(String chartLabellingRotation)
boolean getChartLabellingDataShown()