Search
PerElementSeriesStyle.stroke Method
See Also
 






Implements SeriesStyle.stroke. Returns a Brush from the Strokes list that matches the specified Series and data indices.

Namespace: com.mindfusion.charting
File: com.mindfusion.charting

 Syntax

Java  Copy Code

public Brush stroke (
    int seriesIndex,
    int dataIndex
)

 Parameters

seriesIndex

The zero-based index of the Series.

dataIndex

The zero-based index of the data item in the specified Series.

 Return Value

A Brush instance.

 Remarks

If the count of Brush-instances is less than the count of data items in the Series, the control cycles through them until the right index is reached.

 See Also