Table of Contents

Class Slice

Namespace
PDFjet.NET
Assembly
PDFjet.dll

A slice of a DonutChart: a value, a color and a label. The slice's share of the sum of the values of the chart sets its angle.

public class Slice
Inheritance
Slice
Inherited Members

Constructors

Slice(float, int, string)

Creates a slice.

public Slice(float value, int color, string text)

Parameters

value float

the value of the slice, above 0; the chart draws its share of the sum.

color int

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

text string

the label drawn next to the slice.