[]
        
(Showing Draft Content)

C1.WPF.Report.FlexChartFieldBase

FlexChartFieldBase Class

Abstract base class for report fields with FlexChart-based charts.

Implements
Namespace: C1.WPF.Report
Assembly: C1.WPF.Report.dll
Syntax
public abstract class FlexChartFieldBase : FieldBase, ICloneable

Constructors

Name Description
FlexChartFieldBase()

Initializes a new instance of the FlexChartFieldBase class.

Properties

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.

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).

Methods

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.

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.