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
namestringThe item name.
dataSetNamestringThe dataset, or null.
typestringOne of ChartTypes.
subtypestringOne of ChartSubtypes.
categoryFieldstringThe category field, or null for a single static category.
seriesFieldsIReadOnlyList<string>The fields to plot, each as
Sum; empty plots a zero series.titlestringThe title caption, or null for none.
widthintThe width in twips.
heightintThe height in twips.
Returns
- RdlElement
The element.