XY Line Renderer
This renderer is a subtype of XY Renderer used in conjunction with an XY Plot to create line charts. It displays data items by drawing a shape at each data point and/or connecting data points with straight lines.
Properties
Series Lines Visible
The table defining item-to-item line visibility for individual data series.
Property | Name | Type | Description |
Index | index | Integer | Series index. |
Series Lines Visible | seriesLinesVisible | Boolean | Flag controlling visibility of item-to-item lines for the series. |
Property name: seriesLinesVisible
Property type: Data Table
Series Shapes Visible
The table defining item shape visibility for individual data series.
Property | Name | Type | Description |
Index | index | Integer | Series index. |
Series Shapes Visible | seriesShapesVisible | Boolean | Flag controlling visibility of item shapes for the series. |
Property name: seriesShapesVisible
Property type: Data Table
Series Shapes Filled
The table controlling item shape filling for individual data series.
Property | Name | Type | Description |
Index | index | Integer | Series index. |
Series Shapes Filled | seriesShapesFilled | Boolean | Flag controlling filling of item shapes for the series. |
Property name: seriesShapesFilled
Property type: Data Table
Base Lines Visible
Default value for visibility of lines between data items.
Property name: baseLinesVisible
Property type: Boolean
Base Shapes Visible
Default value for item shape visibility.
Property name: baseShapesVisible
Property type: Boolean
Base Shapes Filled
Default setting for filling item shapes.
Property name: baseShapesFilled
Property type: Boolean
Legend Line
This renderer allows a simple customization of the legend display where you can specify the shape (typically a line, but any shape is permitted) that will represent each series in the legend.
Property name: legendLine
Property type: Data Table
Draw Outlines
Flag that controls whether or not outlines are drawn around item shapes.
Property name: drawOutlines
Property type: Boolean
Draw Series Line as Path
It is common to used a dashed stroke to draw the connecting lines between items within a series. An issue arises when the items within a series are close together on the chart, because by default the renderer will draw the connecting line individually for each data item (connecting the current item to the previous item). The stroke pattern for the line is reset for each segment, which can result in the stroke pattern not being visible for the series. A workaround is available, in which the connecting lines for the entire series are drawn as a single line.
Draw Series Line As Path flag that controls whether the connecting lines between the data items are drawn as a path, or individually.
Property name: drawSeriesLineAsPath
Property type: Boolean
Use Fill Paint
Flag that controls whether the series fill paint or the regular series paint is used to fill item shapes.
Property name: useFillPaint
Property type: Boolean
Use Outline Paint
Flag that controls which paint is used for the shape outlines. The renderer uses one of two possible colors for the shape outlines
- The outline paint for the current series, or
- The regular paint for the current series.
Property name: useOutlinePaint
Property type: Boolean
Was this page helpful?