public class IltChartMapping extends IltImageMapping
IltChart
decoration.Constructor and Description |
---|
IltChartMapping()
Default constructor.
|
IltChartMapping(Image minImage,
Image maxImage)
Creates a chart with the given images.
|
IltChartMapping(Image minImage,
Image maxImage,
int xAxis,
int yAxis,
IltColorModifier modifier)
Creates a chart with the given properties.
|
IltChartMapping(String minImage,
String maxImage)
Creates a chart with the given images.
|
IltChartMapping(String minImage,
String maxImage,
int xAxis,
int yAxis,
IltColorModifier modifier)
Creates a chart with the given properties.
|
Modifier and Type | Method and Description |
---|---|
IltColorModifier |
getColorModifier()
Returns the color modifier for this chart.
|
int |
getValuesCount()
Returns the number of values that can be represented by this chart.
|
int |
getXAxisDirection()
Returns the direction of the
x axis. |
int |
getYAxisDirection()
Returns the direction of the
y axis. |
void |
setColorModifier(IltColorModifier modifier)
Sets the color modifier for this chart.
|
void |
setDirections(int xAxis,
int yAxis)
Sets the direction of the
x and y axis. |
int |
setXAxisDirection()
Sets the direction of the
x axis. |
int |
setYAxisDirection()
Sets the direction of the
y axis. |
getMaxImage, getMinImage, setMaxImage, setMaxImage, setMinImage, setMinImage
public IltChartMapping(String minImage, String maxImage)
public IltChartMapping(String minImage, String maxImage, int xAxis, int yAxis, IltColorModifier modifier)
minImage
- Image which represents the chart with the minimum value.maxImage
- Image which represents the chart completely filled.xAxis
- Position of the x
axis; possible values are: IlvDirection.Left
,
IlvDirection.Right
, IlvDirection.Top
or IlvDirection.Bottom
.yAxis
- Position of the y
axis; possible values are: IlvDirection.Left
,
IlvDirection.Right
, IlvDirection.Top
or IlvDirection.Bottom
.modifier
- Color modifier responsible for defining the color used to
fill the chart.public IltChartMapping(Image minImage, Image maxImage)
public IltChartMapping()
public IltChartMapping(Image minImage, Image maxImage, int xAxis, int yAxis, IltColorModifier modifier)
minImage
- Image which represents the chart with the minimum value.maxImage
- Image which represents the chart completely filled.xAxis
- Position of the x
axis; possible values are: IlvDirection.Left
,
IlvDirection.Right
, IlvDirection.Top
or IlvDirection.Bottom
.yAxis
- Position of the y
axis; possible values are: IlvDirection.Left
,
IlvDirection.Right
, IlvDirection.Top
or IlvDirection.Bottom
.modifier
- color Modifier responsible for defining the color used to
fill the chart.public void setDirections(int xAxis, int yAxis)
x
and y
axis.
The default x
axis direction is IlvDirection.Right
.
The default y
axis direction is IlvDirection.Top
.
xAxis
- A direction; only IlvDirection.Left
, IlvDirection.Right
,
IlvDirection.Top
and IlvDirection.Bottom
are valid.yAxis
- A direction; only IlvDirection.Left
, IlvDirection.Right
,
IlvDirection.Top
and IlvDirection.Bottom
are valid.public int getXAxisDirection()
x
axis.public int setXAxisDirection()
x
axis.public int getYAxisDirection()
y
axis.public int setYAxisDirection()
y
axis.public void setColorModifier(IltColorModifier modifier)
modifier
- An IltColorModifier
or null
for none.IltColorModifier
,
IltColorModifier.Standard
public IltColorModifier getColorModifier()
public int getValuesCount()
IltLimitedNumericState
, the value of this state is used
as the data to be represented in this chart. The value of this state
should therefore be an array of numbers. The appropriate size for this
array can be retrieved using this method.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.