OFC Charts 3.1


com.oxymel.ofc.charts
Class HorizontalCategoryAxis

java.lang.Object
  |
  +--com.oxymel.ofc.charts.Axis
        |
        +--com.oxymel.ofc.charts.HorizontalAxis
              |
              +--com.oxymel.ofc.charts.HorizontalCategoryAxis

public class HorizontalCategoryAxis
extends HorizontalAxis

This class allows to manage horizontal axis used for graphics implying categories. The axis has a label and the orientation of the values written on the axis can be customized.


Fields inherited from class com.oxymel.ofc.charts.HorizontalAxis
LABEL_POSITION_HORIZONTAL_RIGHT_CENTER, LABEL_POSITION_HORIZONTAL_TOP, LABEL_POSITION_VERTICAL_LEFT_CENTER, LABEL_POSITION_VERTICAL_RIGHT_CENTER, VALUES_WRITE_MODE_HORIZONTAL_ALIGN, VALUES_WRITE_MODE_VERTICAL_ALIGN
 
Constructor Summary
HorizontalCategoryAxis(java.lang.String label)
          Constructor
 
Method Summary
 void setValuesWriteAlignMode(int alignMode)
          Sets the values orientation writing (horizontally or vertically).
 
Methods inherited from class com.oxymel.ofc.charts.HorizontalAxis
disableArrow, getLabel, setArrowLength, setFullAxisColor, setLabelPosition, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HorizontalCategoryAxis

public HorizontalCategoryAxis(java.lang.String label)
Constructor
Parameters:
label - Axis Label
Method Detail

setValuesWriteAlignMode

public void setValuesWriteAlignMode(int alignMode)
Sets the values orientation writing (horizontally or vertically). By default the text is written horizontally. If the given mode is VALUES_WRITE_MODE_VERTICAL_ALIGN, the text is written vertically and in any other cases it is writte horizontally.
Parameters:
alignMode - the orientation of the text written on the axis.
See Also:
The different modes are found in axis class

OFC Charts 3.1


Copyright © 2005 Oxymel SA All Rights Reserved.