[]
Abstract base class for report fields with FlexChart-based charts.
public abstract class FlexChartFieldBase : FieldBase, IScriptContextProvider, ICloneable
Public MustInherit Class FlexChartFieldBase
Inherits FieldBase
Implements IScriptContextProvider, ICloneable
| Name | Description |
|---|---|
| FlexChartFieldBase() | Initializes a new instance of the FlexChartFieldBase class. |
| Name | Description |
|---|---|
| DataSourceName | Gets or sets the name of the data source for the chart. The name must match a name of a data source in the report's DataSources collection. Empty string indicates that the main data source will be used. |
| Font | Gets or sets the default font used in the chart. |
| Footer | Gets the chart footer. |
| Header | Gets the chart header. |
| Legend | Gets the chart legend. |
| Palette | Gets or sets the chart palette. |
| ParentReport | Gets the FlexReport containing this field. |
| PlotStyle | Gets the style of plot area (area inside axes). |
| Name | Description |
|---|---|
| AssignFrom(ReportObject, bool) | Assigns (copies) properties from another FlexChartFieldBase to the current object. |
| BuildFlexChart() | Creates a Chart, adds data to it and sets the property values. |
| GetContentAutoHeight(double) | Override this method to calculate the height of object on basis of its content, this method is called when field can grow or shrink vertically. |
| GetContentAutoSize(out double, out double) | Override this method to calculate sizes of object on basis of its content, this method is called when field can grow or shrink vertically and horizontally. |
| GetContentAutoWidth(double) | Override this method to calculate the width of object on basis of its content, this method is called when field can grow or shrink horizontally. |
| GetDataSource() | Returns DataSource specified for this field in the DataSourceName property, returns null if DataSourceName is null or empty, throws an exception if DataSource with specified name not found. |
| GetDefAutoHeight() | |
| GetDefAutoWidth() | |
| GetDefSplitHorzBehavior() | |
| GetDefSplitVertBehavior() | |
| InternalBuildBrick(SubSectionBrick) | This method should be overriden in descendant classes like Field, BarCodeField, ChartField and so on. |
| InternalRefreshBrick(FieldBrickBase) |