Table of Contents

Method Chart

Namespace
ReportWright.Design.Visuals
Assembly
ReportWright.Design.dll

Chart(string, string?, string, string, string?, IReadOnlyList<string>, string?, int, int)

A chart with its chrome: one category hierarchy (a group on a field, or one static category), one static series member and one series per field, both axes visible with value gridlines, a legend and a title.

public RdlElement Chart(string name, string? dataSetName, string type, string subtype, string? categoryField, IReadOnlyList<string> seriesFields, string? title, int width, int height)

Parameters

name string

The item name.

dataSetName string

The dataset, or null.

type string

One of ChartTypes.

subtype string

One of ChartSubtypes.

categoryField string

The category field, or null for a single static category.

seriesFields IReadOnlyList<string>

The fields to plot, each as Sum; empty plots a zero series.

title string

The title caption, or null for none.

width int

The width in twips.

height int

The height in twips.

Returns

RdlElement

The element.