Chart FX 7 for Java Server

com.softwarefx.chartfx.server
Enum ChartStyles

java.lang.Object
  extended by java.lang.Enum<ChartStyles>
      extended by com.softwarefx.chartfx.server.ChartStyles
All Implemented Interfaces:
Serializable, Comparable<ChartStyles>

public enum ChartStyles
extends Enum<ChartStyles>

Define end user access to several functions provided through the Chart FX end user interface.


Enum Constant Summary
ALLOW_SCROLL
          When OFF, none of the Axes will allow scroll.
ASSEMBLY_NAME_ONLY
          Assembly name only
CACHE_IMAGE
          Keeps a snapshot of the chart, as it was painted the last time, into an image in memory.
CROSSHAIRS
          Turn on or off the cross-hairs feature.
DEFAULT
          Sets default settings.
DOUBLE_BUFFER
          The chart will refresh itself using a double buffering technique.
EXPORT_XVALUES
          If this flag is ON, the X values are exported to the clipboard every time you export the chart as data.
FAST_LEGENDS
          Disable the legend size computation.
FORCE_DATA_DRIVEN
          ForceDataDriven
GET_TIP_DRAG
          Will get the toolltip even while dragging the mouse
HIDE_ZLABELS
          When ON, the z labels will be hidden.
MENUS_ON_DEMAND
          See ContextMenus property.
MONOCHROME
          Turn ON will show a Black & White chart and it won't be possible to change chart colors.
NO_LEG_INVALIDATE
          Useful for RealTime charts.
NO_TEXT_SMOOTHING
          When ON, it will not be smootihing for the text.
ONLY_CHART
          Makes the chart to hide everything outside the chart area such a axis,titles,etc.This feature is very useful when you want to overlap charts.
PAINT_MARKER
          This constant will turn on message event for customize chart drawing process.
PAINT_NO_CHART
          When ON, the chart will not be painted.
SCROLL_BARS
          When OFF, it will hide the Scrollbars.
SIDE_BY_SIDE
          For 2D MultiType charts, makes the bars to be side-by-side instead of overlapped.
TOOL_TIPS
          Turn on or off the tool-tips feature.
TRACK_MOUSE
          This constant has to be included for those charts you want to capture mouse tracking.
USE_CALLBACKS_FOR_EVENTS
          Instructs the charts to use callbacks instead of PostBacks for the chart's events
 
Method Summary
static EnumSet<ChartStyles> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static ChartStyles getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(ChartStyles value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(EnumSet<ChartStyles> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static ChartStyles valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ChartStyles[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TRACK_MOUSE

public static final ChartStyles TRACK_MOUSE
This constant has to be included for those charts you want to capture mouse tracking.


DOUBLE_BUFFER

public static final ChartStyles DOUBLE_BUFFER
The chart will refresh itself using a double buffering technique. The effect will be a less flickering.


GET_TIP_DRAG

public static final ChartStyles GET_TIP_DRAG
Will get the toolltip even while dragging the mouse


NO_LEG_INVALIDATE

public static final ChartStyles NO_LEG_INVALIDATE
Useful for RealTime charts. Is this flag is ON, the chart will not be invalidated when the legends are set.


PAINT_MARKER

public static final ChartStyles PAINT_MARKER
This constant will turn on message event for customize chart drawing process.


ONLY_CHART

public static final ChartStyles ONLY_CHART
Makes the chart to hide everything outside the chart area such a axis,titles,etc.This feature is very useful when you want to overlap charts.


SIDE_BY_SIDE

public static final ChartStyles SIDE_BY_SIDE
For 2D MultiType charts, makes the bars to be side-by-side instead of overlapped.


MONOCHROME

public static final ChartStyles MONOCHROME
Turn ON will show a Black & White chart and it won't be possible to change chart colors.


CACHE_IMAGE

public static final ChartStyles CACHE_IMAGE
Keeps a snapshot of the chart, as it was painted the last time, into an image in memory. When a paint message is received due to some external action (e.g. a window is moved on top of the chart and then away from it or closed), the image is painted into the graphics instead of drawing the chart again, this improves performace and provides a smooth experience. When the chart is changed through any of its properties a new image is generated.


EXPORT_XVALUES

public static final ChartStyles EXPORT_XVALUES
If this flag is ON, the X values are exported to the clipboard every time you export the chart as data.


FAST_LEGENDS

public static final ChartStyles FAST_LEGENDS
Disable the legend size computation. Use this flag to improve speed on setting the legends. You must set this flag on BEFORE setting any legend. You can not show a legend box if the legends are set while this flag is on. If you are going to set a new set of legends you must call the ClearLegend property before starting to set the legends in order to get the best performance.


CROSSHAIRS

public static final ChartStyles CROSSHAIRS
Turn on or off the cross-hairs feature.


TOOL_TIPS

public static final ChartStyles TOOL_TIPS
Turn on or off the tool-tips feature.


MENUS_ON_DEMAND

public static final ChartStyles MENUS_ON_DEMAND
See ContextMenus property.


SCROLL_BARS

public static final ChartStyles SCROLL_BARS
When OFF, it will hide the Scrollbars.


ALLOW_SCROLL

public static final ChartStyles ALLOW_SCROLL
When OFF, none of the Axes will allow scroll.


FORCE_DATA_DRIVEN

public static final ChartStyles FORCE_DATA_DRIVEN
ForceDataDriven


USE_CALLBACKS_FOR_EVENTS

public static final ChartStyles USE_CALLBACKS_FOR_EVENTS
Instructs the charts to use callbacks instead of PostBacks for the chart's events


ASSEMBLY_NAME_ONLY

public static final ChartStyles ASSEMBLY_NAME_ONLY
Assembly name only


NO_TEXT_SMOOTHING

public static final ChartStyles NO_TEXT_SMOOTHING
When ON, it will not be smootihing for the text.


PAINT_NO_CHART

public static final ChartStyles PAINT_NO_CHART
When ON, the chart will not be painted.


HIDE_ZLABELS

public static final ChartStyles HIDE_ZLABELS
When ON, the z labels will be hidden.


DEFAULT

public static final ChartStyles DEFAULT
Sets default settings.

Method Detail

values

public static ChartStyles[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ChartStyles c : ChartStyles.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ChartStyles valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getEnumSetValue

public static EnumSet<ChartStyles> getEnumSetValue(int value)

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

public static ChartStyles getEnumValue(int value)

Returns a Enum Item that represents the given numeric value.

Parameters:
value - numeric representation of the Enum item.

getUnderlyingValue

public static int getUnderlyingValue(ChartStyles value)

Returns a numeric value that represents the given EnumSet or Enum item.

Parameters:
value - A Enum Item or EnumSet.

getUnderlyingValue

public static int getUnderlyingValue(EnumSet<ChartStyles> value)

Returns a numeric value that represents the given EnumSet or Enum item.

Parameters:
value - A Enum Item or EnumSet.

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.