public class CategoricalSeriesRoundLayoutContext extends Object
Constructor and Description |
---|
CategoricalSeriesRoundLayoutContext(CategoricalSeriesModel series)
Creates a new instance of the
CategoricalSeriesRoundLayoutContext class. |
Modifier and Type | Method and Description |
---|---|
RadRect |
plotArea()
Gets the plot area.
|
AxisPlotDirection |
plotDirection()
Gets the plot direction.
|
double |
plotLine()
Gets the plot line.
|
double |
plotOrigin()
Gets the plot origin.
|
void |
snapPointToGridLine(CategoricalDataPointBase point)
Snaps the given
CategoricalDataPoint to the nearest grid line. |
void |
snapPointToPlotLine(CategoricalDataPointBase point)
Snaps the given
CategoricalDataPoint to the plot line. |
public CategoricalSeriesRoundLayoutContext(CategoricalSeriesModel series)
CategoricalSeriesRoundLayoutContext
class.series
- The series with which to initialize the context.public double plotLine()
public double plotOrigin()
public AxisPlotDirection plotDirection()
public RadRect plotArea()
public void snapPointToPlotLine(CategoricalDataPointBase point)
CategoricalDataPoint
to the plot line.point
- The point to snap.public void snapPointToGridLine(CategoricalDataPointBase point)
CategoricalDataPoint
to the nearest grid line.point
- The point to snap.