Table of Contents

Class Series

Namespace
PDFjet.NET
Assembly
PDFjet.dll

One series of a Chart: its points, the line that connects them when it is drawn, and the marker of the points added by their coordinates. A series is created with Chart.AddSeries; its name is listed in the legend of the chart. See Example_26.

public class Series
Inheritance
Series
Inherited Members

Methods

AddPoint(Point)

Adds a point with its own marker: its shape, radius and colors. A point without a stroke color is drawn in the color of the series.

public Series AddPoint(Point point)

Parameters

point Point

the point.

Returns

Series

this Series object.

AddPoint(float, float)

Adds a point with the marker of this series, the one it has when the chart is drawn.

public Series AddPoint(float x, float y)

Parameters

x float

the x value.

y float

the y value.

Returns

Series

this Series object.

SetDrawPath(bool)

Sets whether the points are connected with a line, in the order they were added. The default is false: only the markers are drawn.

public Series SetDrawPath(bool drawPath)

Parameters

drawPath bool

true to draw the line.

Returns

Series

this Series object.

SetRadius(float)

Sets the radius of the marker of the points added by their coordinates. The default is 2.

public Series SetRadius(float radius)

Parameters

radius float

the radius.

Returns

Series

this Series object.

SetShape(Shape)

Sets the shape of the marker of the points added by their coordinates. The default is Shape.CIRCLE; Shape.INVISIBLE draws no markers.

public Series SetShape(Shape shape)

Parameters

shape Shape

the shape.

Returns

Series

this Series object.

SetStrokeColor(int)

Sets the color of the line and of the markers that have no color of their own. Without it the series has the next color of the palette. Color.transparent leaves it unchanged.

public Series SetStrokeColor(int color)

Parameters

color int

the color as a 0xRRGGBB value, for example Color.blue.

Returns

Series

this Series object.

SetStrokeDashPattern(string)

Sets the dash pattern of the line, for example "[3 3] 0". The default is a solid line.

public Series SetStrokeDashPattern(string strokeDashPattern)

Parameters

strokeDashPattern string

the dash pattern.

Returns

Series

this Series object.

SetStrokeWidth(float)

Sets the width of the line. The default is 1.

public Series SetStrokeWidth(float strokeWidth)

Parameters

strokeWidth float

the line width.

Returns

Series

this Series object.