Chart FX 7 for Java Desktop

com.softwarefx.chartfx.desktop
Class ConditionalAttributes

java.lang.Object
  extended by com.softwarefx.chartfx.desktop.PointAttributes
      extended by com.softwarefx.chartfx.desktop.ConditionalAttributes
All Implemented Interfaces:
ILegendBoxItem, Serializable

public class ConditionalAttributes
extends PointAttributes
implements ILegendBoxItem, Serializable

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.

See Also:
Serialized Form

Constructor Summary
ConditionalAttributes()
           
ConditionalAttributes(double from, double to, Color color)
           
 
Method Summary
 Condition getCondition()
          Returns a Condition object for the specified ConditionalAttributes object.
 int getSeriesConditional()
          Error: Member ConditionalAttributes.SeriesConditional member not found
 void setSeriesConditional(int value)
          Error: Member ConditionalAttributes.SeriesConditional member not found
 
Methods inherited from class com.softwarefx.chartfx.desktop.PointAttributes
getAlternateColor, getBarShape, getBorder, getColor, getFillMode, getLine, getMarkerShape, getMarkerSize, getPattern, getPicture, getPointLabels, getSeparateSlice, getTag, getText, getVolume, setAlternateColor, setBarShape, setBorder, setColor, setFillMode, setLine, setMarkerShape, setMarkerSize, setPattern, setPicture, setPointLabels, setSeparateSlice, setTag, setText, setVolume
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionalAttributes

public ConditionalAttributes()

ConditionalAttributes

public ConditionalAttributes(double from,
                             double to,
                             Color color)
Method Detail

getCondition

public Condition getCondition()

Returns a Condition object for the specified ConditionalAttributes object.

Remarks:
  • You may use this object to manipulate the conditions in which the ConditionalAttribute applies.

  • See Also:
    Condition

    getSeriesConditional

    public int getSeriesConditional()

    Error: Member ConditionalAttributes.SeriesConditional member not found

    ERROR: Doc member not found


    setSeriesConditional

    public void setSeriesConditional(int value)

    Error: Member ConditionalAttributes.SeriesConditional member not found

    ERROR: Doc member not found


    http://www.softwarefx.com

    2008 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
    All other names are trademarks or registered trademarks of their respective owners.