Class ChartEditor
- Namespace
- ReportWright.Design.Visuals
- Assembly
- ReportWright.Design.dll
Edits a chart's data binding and chrome; every operation is one undo entry.
public sealed class ChartEditor
- Inheritance
-
ChartEditor
- Inherited Members
Constructors
- ChartEditor(DesignerDocument, RdlElement)
Initializes an editor.
Properties
- CategoryField
Gets the field the first category member groups on, or null when the category is static.
- Chart
Gets the chart.
- LegendHidden
Gets whether the legend is hidden.
- Palette
Gets the chart's palette, or null for the default.
- Series
Gets the series, in order.
- Subtype
Gets the first series' subtype, or Plain.
- Title
Gets the title caption, or null.
- Type
Gets the first series' type, or Column.
Methods
- AddSeries(string)
Adds a series plotting
Sumof a field, with the chart's current type and subtype, and its legend member.
- FieldOf(string?)
The field a
=Fields!X.Valueor=Sum(Fields!X.Value)expression reads, or null.
- RemoveSeries(string)
Removes a series and its legend member; the last series stays.
- SetAxisVisible(bool, bool)
Shows or hides the first category or value axis.
- SetCategory(string?)
Groups the categories on a field, or makes one static category when the field is null.
- SetLegendHidden(bool)
Hides or shows the legend.
- SetPalette(string?)
Sets the palette, or removes it for the default.
- SetTitle(string?)
Sets the title caption, or removes the title.
- SetType(string, string?)
Sets the type and subtype of every series.