[]
        
(Showing Draft Content)

C1.Win.FlexReport.ChartField

ChartField Class

Represents a report field with a chart.

Inheritance
ChartField
Namespace: C1.Win.FlexReport
Assembly: C1.Win.FlexReport.8.dll
Syntax
[TypeConverter(typeof(ChartFieldTypeConverter))]
public class ChartField : FieldBase

Constructors

Name Description
ChartField()

Initializes a new instance of ChartField object.

Fields

Name Description
s_PropsTable

Properties

Name Description
ChartArea2D

Gets the chart area of a 2D chart.

ChartArea3D

Gets the chart area of a 3D chart.

ChartGroups2D

Gets the chart groups of a 2D chart.

ChartGroups3D

Gets the chart groups of a 3D chart.

ChartLabels

Gets the ChartLabels object.

ColorGeneration

Gets or sets the theme for automatic color generation.

DataColor

Gets or sets the color for the chart bars, lines, symbols, or pie slices.

DataSource

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.

DefaultLabelStyle

Gets the ChartLabels default style. (This is a shortcut to ChartLabels.DefaultLabelStyle.)

DefaultStyle

Gets the chart style.

FilterExpression

Gets or sets the data source filter expression (only available when a non-default data source is used).

Gets the footer object.

FooterStyle

Gets the Footer style. (This is a shortcut to Footer.Style.)

Header

Gets the header object.

HeaderStyle

Gets the Header style. (This is a shortcut to Header.Style.)

ImageType

Gets or sets the type of image generated by the chart.

Legend

Gets the legend object.

LegendStyle

Gets the Legend style. (This is a shortcut to Legend.Style.)

Palette

Gets or sets the collection of colors to be used for each series (or pie slices).

UseAntiAliasedGraphics

Gets or sets a value indicating whether to use anti-aliasing while rendering chart graphics (only).

UseAntiAliasedText

Gets or sets a value indicating whether to use anti-aliasing while rendering chart text (only).

UseGrayscale

Gets or sets a value indicating whether to render the chart in grayscale instead of in color.

VisualEffects

Gets the ChartVisualEffects object.

VisualizationType

Gets or sets the chart visualization type (2D or 3D).

Methods

Name Description
AfterRender()

Called when report rendering finished. Can be used to finalize object after rendering, release all resources using during rendering.

AssignFrom(ReportObject, bool)

Assigns (copies) properties from another ChartField to the current object.

BeforeRender()

Called where report rendering starts. Can be used to initialize object before rendering.

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.

GetPropsTable()
Import(XmlNodeWrapperBase)
InternalBuildBrick(SubSectionBrick)

Creates BrickBase descendant which passed to the C1FlexReport rendering engine to put on the pages.

InternalRefreshBrick(FieldBrickBase)
ResetState()

Called when C1FlexReport starts calculation of the section containing this FieldBase. Resets internal state of the field.