Table of Contents

Class ChartDescriptor

Namespace
ReportWright.Design.Items
Assembly
ReportWright.Design.dll

A chart with its chrome: placed with a category group on the first text field and one series per numeric field (the first), drawn as plot frame, axes, gridlines, the series' shapes, a legend naming the series and the title.

public sealed class ChartDescriptor : ReportItemDescriptor
Inheritance
ChartDescriptor
Inherited Members

Constructors

ChartDescriptor(string, string, string, string?)

Initializes the descriptor.

Properties

ChartType

Gets the series type this entry stands for, or null for any chart.

IsPlaceable

Gets whether the palette can place this item in the current designer phase; a descriptor that only draws existing items says false and names the phase in PlaceableNote.

MinimumVersion

Gets the oldest schema version the element exists in; the palette greys the entry out in an older file (decisions, item 2).

PlaceableNote

Gets why the item cannot be placed, for the palette's tooltip; null when it can.

PropertySections

Gets the property sections the grid shows for this kind, from the property catalogue.

Methods

CreateElement(DesignerDocument, string)

Creates the element a placement inserts, without position or size (the document sets those).

Draw(RdlElement, int, int)

Draws the schematic (A.7.3): real geometry where it is cheap, bracketed expression text where a value would be.

Matches(RdlElement)

Whether an element is one of this kind; the default compares the element name, a chart descriptor also reads the chart type.