lt.monarch.chart.chart3D.axis
Class Axis3DY
java.lang.Object
lt.monarch.chart.engine.AbstractChartObject<AxisPaintTags>
lt.monarch.chart.mapper.Axis
lt.monarch.chart.chart3D.axis.Axis3D
lt.monarch.chart.chart3D.axis.Axis3DY
- All Implemented Interfaces:
- java.io.Serializable, ChartObject, StyleEditorEntity
public class Axis3DY
extends Axis3D
Graphical representation of Y coordinate axis of a 3D chart.
- See Also:
- Serialized Form
| Methods inherited from class lt.monarch.chart.mapper.Axis |
activate, deactivate, getFont, getMapper, getSortPosition, getStyle, getTextStyle, getTitle, getTitles, getTitleSettings, setTitle, setTitle |
| Methods inherited from class lt.monarch.chart.engine.AbstractChartObject |
chart, copy, dispose, finalize, getChart, getChartObjectBounds, getPaintStyle, getParent, getStyle, invalidate, isVisible, layout, repaint, repaint, setChart, setVisible |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Axis3DY
public Axis3DY(AxisMapper mapper)
- Constructs a new instance of Axis3DY.
- Parameters:
mapper - a mapper for the axis
draw
public void draw(AbstractGraphics g)
- Description copied from interface:
ChartObject
- Renders chart object on the Graphics context.
- Parameters:
g - graphics context
drawAxis
protected void drawAxis(AbstractGraphics g,
boolean drawLabels)
- Description copied from class:
Axis3D
- Draw axis line and tick of the axis
- Specified by:
drawAxis in class Axis3D
- Parameters:
g - graphics contextdrawLabels - true if to draw labels
drawTitle
protected void drawTitle(AbstractGraphics g,
int maxLabelWidth)
- Description copied from class:
Axis3D
- Draws title of the axis
- Specified by:
drawTitle in class Axis3D
- Parameters:
g - graphics contextmaxLabelWidth - maximum label width
getPreferedMargin
protected int getPreferedMargin(AbstractGraphics g)
- Description copied from class:
Axis3D
- Non-API method. Returns space required for labels and title.
- Specified by:
getPreferedMargin in class Axis3D
- Returns:
- space required for labels and title