|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | PROPERTY | DETAIL: PROPERTY | |||||||
ilog.views.chart.IlvGrid
public class IlvGrid
Represents a grid that can be associated with a chart axis.
The default implementation of this class draws gridlines that are positioned
at the major and minor steps of the scale connected to the same axis.
You can control the drawing order of the grid with the setDrawOrder
method, which lets you specify whether the grid must be drawn above or below
the chart representations.
CSS example:
chartGrid {
class : "ilog.views.chart.IlvGrid";
drawOrder : "2";
majorLineVisible : "false";
majorPaint : "#000000";
majorStroke : "@#stroke";
minorLineVisible : "false";
minorPaint : "#000000";
minorStroke : "@#stroke";
visible : "false";
}
| Property Summary | |
|---|---|
java.lang.String |
class
Creates a new grid that displays only major gridlines, with the default color. |
int |
drawOrder
Sets the drawing order of this grid. |
boolean |
majorLineVisible
Toggles the visibility of major gridlines. |
Paint |
majorPaint
Sets the paint used to draw major gridlines. |
Stroke |
majorStroke
Sets the stroke used to draw major gridlines. |
boolean |
minorLineVisible
Toggles the visibility of minor gridlines. |
Paint |
minorPaint
Sets the paint used to draw minor gridlines. |
Stroke |
minorStroke
Sets the stroke used to draw minor gridlines. |
boolean |
visible
Toggles the visibility of both major an minor gridlines. |
| Property Detail |
|---|
public java.lang.String class
IlvChart.DRAW_BELOW.
class : "ilog.views.chart.IlvGrid";
public int drawOrder
IlvChart.DRAW_BELOW.
drawOrder : "2";
public boolean majorLineVisible
majorLineVisible : "false";
public Paint majorPaint
majorPaint : "#000000";
public Stroke majorStroke
majorStroke : "@#stroke";BasicStroke for an example of implementing a majorStroke.
public boolean minorLineVisible
minorLineVisible : "false";
public Paint minorPaint
minorPaint : "#000000";
public Stroke minorStroke
minorStroke : "@#stroke";BasicStroke for an example of implementing a minorStroke.
public boolean visible
visible : "false";
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | PROPERTY | DETAIL: PROPERTY | |||||||