setFirstTickLabelVisible(boolean visible) Sets a flag that controls whether or not the first tick label is
visible, and sends a
DialLayerChangeEvent to all registered
listeners.
public void
setMajorTickIncrement(double increment) Sets the increment (in data units) between major tick labels.
public void
setMajorTickLength(double length) Sets the length factor for the major tick marks.
setTickLabelsVisible(boolean visible) Sets the flag that controls whether or not the tick labels are
displayed, and sends a
DialLayerChangeEvent to all registered
listeners.
public StandardDialScale(double lowerBound, double upperBound, double startAngle, double extent)(Code)
Creates a new instance.
Parameters: lowerBound - the lower bound of the scale. Parameters: upperBound - the upper bound of the scale. Parameters: startAngle - the start angle (in degrees, using the same orientation as Java's Arc2D class). Parameters: extent - the extent (in degrees, counter-clockwise).
Draws the scale on the dial plot.
Parameters: g2 - the graphics target (null not permitted). Parameters: plot - the dial plot (null not permitted). Parameters: frame - the reference frame that is used to construct thegeometry of the plot (null not permitted). Parameters: view - the visible part of the plot (null not permitted).
Returns the length factor for the major tick marks. The value is
subtracted from the tick radius to determine the inner starting point
for the tick marks.
The length factor. See Also:StandardDialScale.setMajorTickLength(double)
Returns the number of minor tick marks between major tick marks.
The number of minor tick marks between major tick marks. See Also:StandardDialScale.setMinorTickCount(int)
Returns the length factor for the minor tick marks. The value is
subtracted from the tick radius to determine the inner starting point
for the tick marks.
The length factor. See Also:StandardDialScale.setMinorTickLength(double)
Returns the start angle for the scale (in degrees using the same
orientation as Java's Arc2D class).
The start angle. See Also:StandardDialScale.setStartAngle(double)
Returns the radius (as a percentage of the maximum space available) of
the outer limit of the tick marks.
The tick radius. See Also:StandardDialScale.setTickRadius(double)
public void setFirstTickLabelVisible(boolean visible)(Code)
Sets a flag that controls whether or not the first tick label is
visible, and sends a
DialLayerChangeEvent to all registered
listeners.
Parameters: visible - the new flag value.
setMajorTickIncrement
public void setMajorTickIncrement(double increment)(Code)
public void setMajorTickStroke(Stroke stroke)(Code)
Sets the stroke used to draw the major tick marks.
Parameters: stroke - the stroke (null not permitted). See Also:StandardDialScale.getMajorTickStroke()
Sets the paint used to draw the tick labels.
Parameters: paint - the paint (null not permitted).
setTickLabelsVisible
public void setTickLabelsVisible(boolean visible)(Code)
Sets the flag that controls whether or not the tick labels are
displayed, and sends a
DialLayerChangeEvent to all registered
listeners.
Parameters: visible - the new flag value.
Converts a data value to an angle against this scale.
Parameters: value - the data value. The angle (in degrees, using the same specification as Java'sArc2D class).
Methods inherited from org.jfree.experimental.chart.plot.dial.AbstractDialLayer