<dvt:series>

series series


Use the series tag to define a series for a graph. A graph displays series and groups of data. Series and groups are analogous to the rows and columns of a pivot table. So, by default, when you display the same data in a pivot table and in a graph, the rows in the pivot table appear as series in the graph. For most graph types, the columns in the pivot table appear as the groups in a graph.

In most graphs, a series appears as a set of markers that are the same color. For example, in a multiple pie graph, each yellow slice might represent sales of shoes, while each green slice represents the sales of boots.

Relationship with other tags

The series tag is a child tag of the seriesSet tag.

The series tag can have the following child tag: specialEffects.

Example

The following example shows the XML for a series tag that ...


<dvt:graph>
<dvt:seriesSet defaultColor="" defaultMarkerShape="MS_NONE"
defaultMarkerType="MT_DEFAULT" defaultLineWidth="3"
defaultAssignedToY2="DY2_AUTO_ASSIGN" defaultFitlineType="FT_NONE">
<dvt:series id="0" markerType="MT_DEFAULT" markerShape="MS_NONE" lineWidth="3"
assignedToY2="false" color="#336699" fitlineType="FT_NONE"/>
<dvt:series id="1" markerType="MT_DEFAULT" markerShape="MS_NONE" lineWidth="3"
assignedToY2="true" color="#99ccff" fitlineType="FT_NONE"/>
</dvt:seriesSet>
</dvt:graph>

Attributes

Name Type Supports EL? Description
id java.lang.String no Specifies the identifier for this component.
index java.lang.String no Specifies the zero-based index of the series. This is optional. If index is not sepcified, the order of series tags in the jspx page is used as index.
color java.lang.String no
borderColor java.lang.String no Specifies the color of the border for the series. Enter values in RGB hexadecimal. The example color="#000000" specifies black.
borderTransparent boolean no
markerColor java.lang.String no Specifies the color of the markers for line and radar graphs. If this attribute is not set, then the color of the markers is the same as the value of the color attribute.
fitlineType java.lang.String no
lineWidth int no Specifies the width of series lines in pixels.
lineStyle java.lang.String no Specifies the style for the series line. Valid values are: LS_SOLID, LS_DASH, LS_DOTTED, and LS_DASH_DOT.
markerShape java.lang.String no
markerType java.lang.String no
assignedToY2 boolean no
pieSliceExplode int no For the pie graph, specifies whether this slice is separated from the other slices in the pie.