NetCharts Pro

netcharts.pro.charts.strip
Class NFStripAxis

java.lang.Object
  extended by netcharts.pro.common.NFBaseClass
      extended by netcharts.pro.common.rectangular.NFAxis
          extended by netcharts.pro.charts.strip.NFStripAxis
All Implemented Interfaces:
java.lang.Cloneable, NFDataMapper

public class NFStripAxis
extends NFAxis

Class for a strip chart bottom or top axis. This is a special type of axis that is designed to manage a continuous stream of data.


Field Summary
 
Fields inherited from class netcharts.pro.common.rectangular.NFAxis
AUTO, AUTOSKIP, AUTOSTAGGER, axisLayoutDirectionMap, axisModeMap, CENTER, LEFT, LINEAR, LOG, NORMAL, NORMAL_LAYOUT, OUTWARD, RIGHT, SKIP, SKIPSTAGGER, STAGGER, ticLabelRotationPointMap, ticModeMap
 
Constructor Summary
NFStripAxis()
          Constructs a default strip chart bottom or top axis
NFStripAxis(java.util.Hashtable state, java.lang.String side)
          Constructs a rectangular axis using CDL parameters
 
Method Summary
 void setAxisType(int axisType)
          Sets the NFStripAxisRange axis type.
 void setScale(int slotsPerTic, java.util.Date ticStart, NFTimeUnit ticStep, int type)
          Sets the axis scale parameters using date/time values.
 void setScale(int slotsPerTic, double ticStart, double ticStep, int type)
          Sets the axis scale parameters using numeric values.
 void setSlotsPerTic(int slotsPerTic)
          Sets the number of data slots per tic mark.
 void setTicStart(double ticStart)
          Sets the first numeric tic value.
 void setTicStep(double ticStep)
          Sets the numeric tic value increment.
 
Methods inherited from class netcharts.pro.common.rectangular.NFAxis
addScaleSet, clone, getActiveLabels, getAutoScaleRange, getAxisMargins, getAxisScaleBase, getAxisScaleMode, getCDLVector, getCDLVector, getDrawMinorTics, getGap, getLayoutDirection, getLayoutDirectionModified, getLineColor, getMajorTicColor, getMinorTicColor, getModifier, getScale, getScaleSets, getScrollRange, getSide, getSize, getSkipCount, getStaggerLevels, getTextColor, getTextFont, getTicFormat, getTicLabel, getTicLabelRotationPoint, getTicLabels, getTicLayoutMode, getTicLength, getTicLocations, getTitleActiveLabel, getTitleLabel, getTitleRegion, getZoom, setActiveLabels, setAutoScaleRange, setAutoScrollRange, setAxisMargins, setAxisScaleBase, setAxisScaleMode, setDrawMinorTics, setGap, setLayoutDirection, setLineColor, setMajorTicColor, setMinorTicColor, setModifier, setScale, setScale, setScaleSets, setScrollRange, setScrollRange, setSide, setSize, setSkipCount, setStaggerLevels, setTextColor, setTextFont, setTicFormat, setTicLabel, setTicLabelRotationPoint, setTicLabels, setTicLayoutMode, setTicLength, setTicLocations, setTitleActiveLabel, setTitleLabel, setTitleRegion, setZoom
 
Methods inherited from class netcharts.pro.common.NFBaseClass
getModified, getUserObject, setModified, setUserObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NFStripAxis

public NFStripAxis()
Constructs a default strip chart bottom or top axis


NFStripAxis

public NFStripAxis(java.util.Hashtable state,
                   java.lang.String side)
Constructs a rectangular axis using CDL parameters

Parameters:
state - Hashtable containing CDL parameters.
side - One of "Bottom", or "Top"
Method Detail

setSlotsPerTic

public void setSlotsPerTic(int slotsPerTic)
Sets the number of data slots per tic mark.

Parameters:
Number - of data slots per tic mark.

setTicStart

public void setTicStart(double ticStart)
Sets the first numeric tic value. Used when automatically generating labels.

Parameters:
ticStart - first numeric tic value.

setTicStep

public void setTicStep(double ticStep)
Sets the numeric tic value increment. Used when automatically generating labels.

Parameters:
step - numeric tic value increment.

setAxisType

public void setAxisType(int axisType)
Sets the NFStripAxisRange axis type. One of STATIC, DYNAMIC

If the value passed is not a valid strip chart axis type an IllegalArgumentException will be thrown.

Parameters:
axisType - The type of axis.

setScale

public void setScale(int slotsPerTic,
                     double ticStart,
                     double ticStep,
                     int type)
Sets the axis scale parameters using numeric values.

Parameters:
slotsPerTic - The number of data slots between tic marks.
ticStart - Used when automatically generating labels. Indicates the first numeric tic value.
ticStep - Used when automatically generating labels. Indicates numerical increment between tics.
axisType - The axis behavior. One of STATIC, DYNAMIC

setScale

public void setScale(int slotsPerTic,
                     java.util.Date ticStart,
                     NFTimeUnit ticStep,
                     int type)
Sets the axis scale parameters using date/time values.

Parameters:
slotsPerTic - The number of data slots between tic marks.
ticStart - Used when automatically generating labels. Indicates the first date based tic value.
ticStep - Used when automatically generating labels. Indicates time unit increment between tics.
axisType - The axis behavior. One of STATIC, DYNAMIC

NetCharts Pro


Visual Mining, Inc.
2099 Gaither Rd.
Suite 220
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2011
All Rights Reserved.

NetCharts Pro TM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Jun 28, 2011