[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Chart.SharpGraphPropertyHolder

SharpGraphPropertyHolder Class

Stores the top-level appearance and content properties of a chart (backdrop, border, series, areas, legends, titles and global options) on behalf of an ISharpGraph control and acts as the root IGraphItem that owns them. For internal use only.

Inheritance
SharpGraphPropertyHolder
Implements
Namespace: GrapeCity.ActiveReports.Chart
Assembly: MESCIUS.ActiveReports.Chart.dll
Syntax
public class SharpGraphPropertyHolder : IGraphItem, ICloneable
Remarks

As the root graph item, this holder propagates change notifications: assigning a child property attaches it as a parent and marks the chart dirty so it is repainted. Reference-type properties that are set to null are replaced with a fresh default instance to keep the chart in a valid state.

Constructors

Name Description
SharpGraphPropertyHolder(ISharpGraph)

Creates a property holder bound to the specified chart control, which receives invalidation and dirty-state notifications when the held properties change.

Properties

Name Description
AutoRefresh

Gets or sets a value indicating whether the chart automatically redraws when its data or properties change. Disable to batch many updates and refresh once for better performance.

Backdrop

Gets or sets the backdrop (background fill) drawn behind the entire chart. Setting null restores a default empty backdrop.

Border

Gets or sets the border drawn around the outer edge of the chart. Setting null restores a default border.

ChartAreas

Gets or sets the collection of chart areas (plot regions) the chart is divided into.

ColorPalette

Gets or sets the palette of colors automatically assigned to series and data points. Changing the palette reconfigures the custom properties of every existing series.

Culture

Gets the culture used by the owning control to format and parse the chart's text, numbers and dates.

DeviceMode

Gets or sets the rendering device mode that determines how the chart is drawn.

GridLayout

Gets or sets the layout that arranges multiple chart areas in a grid. Setting null restores a default layout.

Legends

Gets or sets the collection of legends displayed on the chart.

Series

Gets or sets the collection of data series plotted on the chart.

SeriesLine

Gets or sets the default line style applied to series that do not specify their own. Setting null restores a default line.

Titles

Gets or sets the collection of titles displayed on the chart.

UIOptions

Gets or sets the options that control end-user interaction with the chart, such as zooming and selection.

Methods

Name Description
Clone()

Not supported. The property holder is the root of the chart and cannot be cloned.