|
Chart FX 7 for Java Server | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwarefx.chartfx.server.PointAttributes
com.softwarefx.chartfx.server.ConditionalAttributes
public class ConditionalAttributes
The members of the ConditionalAttributes class allow developers to control when special attributes should be applied to the chart and what chart elements will be taken into consideration when they are applied.
Once the
Class
has been configured with the desired attributes, the object may be assigned to a chart's point, based on the configured conditions. The value of each point in the chart is evaluated based on the conditions of each ConditionalAttributes item. Points that meet the conditions of a particular conditional attribute item will retain the settings of that item. For more information regarding the configuration of the conditions, please see the Condition
Class
.
The conditional attributes must be defined before the Chart
is populated.
Constructor Summary | |
---|---|
ConditionalAttributes()
|
|
ConditionalAttributes(double from,
double to,
Color color)
|
Method Summary | |
---|---|
Condition |
getCondition()
Returns a Condition object for the specified ConditionalAttributes object. |
int |
getSeries()
Gets the Series. |
void |
setSeries(int value)
Sets a value indicating which series index the ConditionalAttribute will be applied to. |
Methods inherited from class com.softwarefx.chartfx.server.PointAttributes |
---|
getAlternateColor, getBarShape, getBorder, getColor, getFillMode, getLine, getLink, getMarkerShape, getMarkerSize, getPattern, getPicture, getPointLabels, getSeparateSlice, getTag, getText, getVolume, setAlternateColor, setBarShape, setColor, setFillMode, setMarkerShape, setMarkerSize, setPattern, setPicture, setSeparateSlice, setTag, setText, setVolume |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConditionalAttributes()
public ConditionalAttributes(double from, double to, Color color)
Method Detail |
---|
public Condition getCondition()
Returns a Condition object for the specified ConditionalAttributes object.
You may use this object to manipulate the conditions in which the ConditionalAttribute applies.
Condition
public int getSeries()
Gets the Series. For more detail see setSeries(int)
.
public void setSeries(int value)
Sets a value indicating which series index the ConditionalAttribute will be applied to.
By default, ConditionalAttributes are applied to all series in the chart. To reset a ConditionalAttribute to be applied to all series, set the setSeries(int)
property to -1.
The getCondition()
property is used to obtain the Condition
object for a selected ConditionalAttribute. Using this object you may configure the conditions for the ConditionalAttributes object.
getCondition()
,
Condition
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |