|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | PROPERTY | DETAIL: PROPERTY | |||||||
ilog.views.chart.hidden.IlvDataPointStyle
public class IlvDataPointStyle
A Bean-compliant class that provides information about the rendering
attributes of a data point. Used as a bridge for styling data points
through the Bean interpretation of CSS declarations.
CSS example:
point {
class : "ilog.views.chart.hidden.IlvDataPointStyle";
annotation : "@#ilvDataLabelAnnotation";
color1 : "#000000";
color2 : "#000000";
endCap : "CAP_BUTT";
lineJoin : "JOIN_BEVEL";
lineStyle : "";
lineWidth : "2.0";
marker : "CIRCLE";
miterLimit : "2.0";
stroke : "@#stroke";
style : "@#ilvStyle";
visible : "false";
}
| Property Summary | |
|---|---|
IlvDataAnnotation |
annotation
Sets the annotation associated with the point. |
java.lang.String |
class
Default constructor. |
Paint |
color1
Sets the primary color. |
Paint |
color2
Sets the secondary color. |
int |
endCap
Sets the end cap. |
int |
lineJoin
Sets the line join. |
float[] |
lineStyle
Sets the line style. |
float |
lineWidth
Sets the line width. |
ilog.views.chart.graphic.IlvMarker |
marker
Sets the marker symbol for this data set. |
float |
miterLimit
Sets the limit of miter joins. |
Stroke |
stroke
Sets the stroke. |
IlvStyle |
style
Sets the rendering style. |
boolean |
visible
Sets whether the point is visible. |
| Property Detail |
|---|
public java.lang.String class
class : "ilog.views.chart.hidden.IlvDataPointStyle";
public IlvDataAnnotation annotation
annotation : "@#ilvDataLabelAnnotation";IlvDataLabelAnnotation for an example of implementing an annotation.
public Paint color1
color1 : "#000000";
public Paint color2
color2 : "#000000";
public int endCap
endCap : "CAP_BUTT";| Allowed values: | ||
CAP_BUTT |
Ends unclosed subpaths and dash segments with no added decoration. | |
CAP_ROUND |
Ends unclosed subpaths and dash segments with a round decoration that has a radius equal to half of the width of the pen. | |
CAP_SQUARE |
Ends unclosed subpaths and dash segments with a square projection that extends beyond the end of the segment to a distance equal to half of the line width. |
public int lineJoin
lineJoin : "JOIN_BEVEL";| Allowed values: | ||
JOIN_BEVEL |
Joins path segments by connecting the outer corners of their wide outlines with a straight segment. | |
JOIN_MITER |
Joins path segments by extending their outside edges until they meet. | |
JOIN_ROUND |
Joins path segments by rounding off the corner at a radius of half the line width. |
public float[] lineStyle
lineStyle : "";| Allowed values: | ||
|
new float[] {} | |
Dot |
new float[] {4.0f,4.0f} | |
Dash |
new float[] {8.0f,8.0f} | |
DashDot |
new float[] {8.0f,4.0f,4.0f,4.0f} | |
DashDoubleDot |
new float[] {8.0f,4.0f,4.0f,4.0f,4.0f} | |
Alternate |
new float[] {1.0f,1.0f} | |
LongDash |
new float[] {12.0f,4.0f} | |
DoubleDot |
new float[] {4.0f,4.0f,4.0f,13.0f} |
public float lineWidth
lineWidth : "2.0";
public ilog.views.chart.graphic.IlvMarker marker
marker : "CIRCLE";| Allowed values: | ||
CIRCLE |
Predefined circle marker type. | |
CROSS |
Predefined cross marker type. | |
DIAMOND |
Predefined diamond marker type. | |
PLUS |
Predefined plus marker type. | |
TRIANGLE |
Predefined triangle marker type. | |
SQUARE |
Predefined square marker type. | |
NONE |
Predefined internal marker type. |
public float miterLimit
miterLimit : "2.0";
public Stroke stroke
stroke : "@#stroke";BasicStroke for an example of implementing a stroke.
public IlvStyle style
style : "@#ilvStyle";IlvStyle for an example of implementing a style.
public boolean visible
visible : "false";
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | PROPERTY | DETAIL: PROPERTY | |||||||