[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.SectionReportModel.ChartControl

ChartControl Class

Wraps the SharpGraph as a ChartControl.

Inheritance
ChartControl
Namespace: GrapeCity.ActiveReports.SectionReportModel
Assembly: MESCIUS.ActiveReports.dll
Syntax
[DefaultSize(3, 1.75)]
public sealed class ChartControl : ARControl, IComponent, IPersistControl, IDisposable, ISupportInitialize

Constructors

Name Description
ChartControl()

Initializes a new instance of the ChartControl class.

Properties

Name Description
AutoRefresh

Gets or sets a value indicating whether the chart will be automatically refreshed (redrawn) for every property change.

Backdrop

Main chart's backdrop, spans all chart control area

BlackAndWhiteMode

Gets or sets a value indicating whether the chart will be drawn in black and white using hatch patterns and line dashing to designate colors.

ChartAreas

A collection of ChartArea objects drawn in the chart control.

ChartBorder

Main chart's border, spans all chart control area

ColorPalette

Gets or sets the color palette enumeration used for the series.

ControlType
Culture

Gets or sets the culture for the chart control.

DataSource

Gets or sets the global data source for the chart.

GridLayout

Gets or sets the GridLayout object for the chart.

ImageType

Sets or returns the type of image to which the chart will be rendered on the report.

Legends

Gets the legend object for the chart control.

Series

Where chart gets it's data to display

Titles

Gets the titles collection for the SharpGraph object.

UIOptions

Gets or sets specific user interface features for the chart.

Methods

Name Description
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

Load(string)

Loads the chart from an xml file

QuickLoad(BinaryReader)

Quick load

QuickSave(BinaryWriter)

Quick Save

ReadXml(XmlNode)

Read the graph layout from rpx

RenderCrossPlatform(DrawCanvas, Rectangle, PointF)
Restart()

Resets the chart data source and restarts chart processing.

Save(string)

Saves the graph layout to a xml file. The layout is inserted between "Sharpgrah" nodes.

WriteXml(XmlElement)

Writes graph layout to rpx

Extension Methods