public class CartesianChartGridContext extends Object
Constructor and Description |
---|
CartesianChartGridContext(RadRect availableRect,
ChartView view,
AxisModel axis)
Creates a new instance of the
CartesianChartGridContext class. |
Modifier and Type | Method and Description |
---|---|
RadRect |
availableRect()
Gets the available rect.
|
AxisModel |
axis()
Gets the axis.
|
Iterable<AxisTickModel> |
majorTicks()
Gets the major ticks.
|
int |
majorTicksCount()
Gets the major tick count.
|
float |
tickThickness()
Gets the tick thickness.
|
ChartView |
view()
Gets the chart view.
|
public CartesianChartGridContext(RadRect availableRect, ChartView view, AxisModel axis)
CartesianChartGridContext
class.availableRect
- The layout rect of the grid.view
- The chart of the grid.axis
- The grid axis on which the grid will plot grid lines.public AxisModel axis()
public RadRect availableRect()
public ChartView view()
public Iterable<AxisTickModel> majorTicks()
public int majorTicksCount()
public float tickThickness()