public class YAxisRenderer extends AxisRenderer
Axis
ranges.Constructor and Description |
---|
YAxisRenderer(Axis axis)
Initializes a new instance of the
YAxisRenderer class. |
YAxisRenderer(Axis axis,
Axis xAxis)
Initializes a new instance of the
YAxisRenderer class. |
Modifier and Type | Method and Description |
---|---|
void |
draw(RenderContext context)
Draws this component in specified
RenderContext . |
boolean |
getPlotLeftSide()
Gets whether this
YAxisRenderer is shown at the left side of a plot. |
void |
measure(double maxWidth,
double maxHeight,
RenderContext context)
Measures the desired size of this component.
|
void |
setPlotLeftSide(boolean value)
Sets whether this
YAxisRenderer is shown at the left side of a plot. |
getAxis, getAxisStroke, getAxisStrokeDashStyle, getAxisStrokeThickness, getLabelAlignment, getLabelBrush, getLabelFontName, getLabelFontSize, getLabelFontStyle, getLabelPadding, getLabelRotationAngle, getLabelsSource, getPinLabels, getShowCoordinates, getShowSeriesLabels, getShowTicks, getTitleBrush, getTitleFontName, getTitleFontSize, getTitleFontStyle, setAxis, setAxisStroke, setAxisStrokeDashStyle, setAxisStrokeThickness, setLabelAlignment, setLabelBrush, setLabelFontName, setLabelFontSize, setLabelFontStyle, setLabelPadding, setLabelRotationAngle, setLabelsSource, setPinLabels, setShowCoordinates, setShowSeriesLabels, setShowTicks, setTitleBrush, setTitleFontName, setTitleFontSize, setTitleFontStyle
add, arrange, associateJComponent, createController, dissociateJComponent, effectiveMeasuredHeight, effectiveMeasuredWidth, getActualHeight, getActualWidth, getDesiredHeight, getDesiredWidth, getGridColumn, getGridRow, getHeight, getHitTestVisibility, getHorizontalAlignment, getMargin, getParent, getRectInParent, getToolTip, getVerticalAlignment, getVisibility, getWidth, getXInParent, getYInParent, hitTest, invalidate, invalidate, invalidate, invalidateLayout, invalidateLayout, localToRoot, rootToLocal, setActualHeight, setActualWidth, setDesiredHeight, setDesiredWidth, setGridColumn, setGridRow, setHeight, setHitTestVisibility, setHorizontalAlignment, setMargin, setParent, setToolTip, setVerticalAlignment, setVisibility, setWidth, setXInParent, setYInParent, visit
public YAxisRenderer(Axis axis)
YAxisRenderer
class.axis
- The Axis
that will be drawn by this object.public YAxisRenderer(Axis axis, Axis xAxis)
YAxisRenderer
class.public void measure(double maxWidth, double maxHeight, RenderContext context)
measure
in class com.mindfusion.charting.components.Component
maxWidth
- The maximum width provided by parent component.maxHeight
- The maximum height provided by parent component.context
- A RenderContext
instance.public void draw(RenderContext context)
RenderContext
.draw
in class com.mindfusion.charting.components.Component
context
- A RenderContext
instance.public boolean getPlotLeftSide()
YAxisRenderer
is shown at the left side of a plot.public void setPlotLeftSide(boolean value)
YAxisRenderer
is shown at the left side of a plot.