Line properties for line graphs
The line of an ILPlot2dGraph is realized and described by a class called
ILLineProperties. Line properties are accessed by the ILPlot2DGraph.Line
property and can be configured in a very flexible way. The following table gives an overview.
| Line Property | Description |
|---|---|
Antialiasing |
Draw the line smoothed. This works best for line width ≥ 2 |
Color |
Line color |
Style |
Sets the pattern for the line to some predefined value. |
Pattern |
Specifies a user defined stipple pattern. |
PatternScale |
Stretch or shrink the pattern by a factor. |
Visible |
Switch the visibility for the line on/off. |
Width |
Line width. |
Most lines in
ILPanel are represented by ILLineProperties
and can be configured this way. Examples are the grid lines for axis or the axis
bounding box lines.How to use those properties is demonstrated in the 2D line graph example
.