Chart Class

Definition

Represents a set of chart areas to be drawn as a single data visualization data region. The chart is defined much like a tablix, but instead of columns, rows, and cells, the chart has categories, series, and data points.

public ref class Chart sealed : Microsoft::ReportingServices::OnDemandReportRendering::DataRegion
public sealed class Chart : Microsoft.ReportingServices.OnDemandReportRendering.DataRegion
type Chart = class
    inherit DataRegion
Public NotInheritable Class Chart
Inherits DataRegion
Inheritance

Fields

m_bookmark

The bookmark item.

(Inherited from ReportItem)
m_cachedHeight

The cached height item.

(Inherited from ReportItem)
m_cachedWidth

The cached width item.

(Inherited from ReportItem)
m_definitionPath

The definition path item.

(Inherited from ReportItem)
m_documentMapLabel

The map label item.

(Inherited from ReportItem)
m_instance

The instance item.

(Inherited from ReportItem)
m_inSubtotal

The subtotal item.

(Inherited from ReportItem)
m_isListContentsRectangle

The list contents rectangle item.

(Inherited from ReportItem)
m_isOldSnapshot

Specifies whether to use the old snapshot of the report element.

(Inherited from ReportElement)
m_parentDefinitionPath

Specifies the path to report definition object's parent in the report definition.

(Inherited from ReportElement)
m_startHidden

The start hidden item.

(Inherited from ReportItem)
m_style

Specifies the style properties of this report definition object.

(Inherited from ReportElement)
m_toolTip

The tootltip item.

(Inherited from ReportItem)

Properties

Bookmark

Gets an expression that evaluates to a bookmark that can be linked to via a bookmark action.

(Inherited from ReportItem)
BorderSkin

Gets the border skin of the entire chart image.

Categories

Gets the number of categories in the chart (equals the number of leaf-members in the category hierarchy).

CategoryHierarchy

Gets the category hierarchy.

ChartAreas

Gets the set of chart areas for the chart.

ChartData

Gets the data values for the chart.

CustomPaletteColors

Gets the custom palette colors.

CustomProperties

Gets the custom information to be handed to the report rendering component.

(Inherited from ReportItem)
DataElementName

Gets the name to use for the data element/attribute for this report item.

(Inherited from ReportItem)
DataElementOutput

Gets a value that indicates whether the item should appear in a data rendering.

(Inherited from ReportItem)
DataSetName

Gets the data set to use for this data region.

(Inherited from DataRegion)
DataValueSequenceRendering

Gets a value that indicates whether the data values should be named sequentially, such as "DataValue0", "DataValue1", and so on. By default, data values are named according to the type of the chart series. For example, data values for a stock chart series are named "High", "Low", "Open", and "Close".

DefinitionPath

Gets the path to this report definition object in the report definition.

(Inherited from ReportItem)
DocumentMapLabel

Gets an expression that evaluates to a label to identify an instance of a report item within the client UI (to provide a user-friendly label for searching).

(Inherited from ReportItem)
DynamicHeight

Gets an expression that evaluates to the height to which the chart should grow/shrink.

DynamicWidth

Gets an expression that evaluates to the width to which the chart should grow/shrink.

Height

Gets the height of the item.

(Inherited from ReportItem)
ID

Gets the unique identifier for this report definition object.

(Inherited from ReportItem)
Instance

Gets the report instance object that contains the calculated values of this report definition object.

(Inherited from ReportItem)
Left

Gets the distance of the item from the left of the containing object.

(Inherited from ReportItem)
Legends

Gets the chart legends.

LinkToChild

Gets the index of the report item that should be linked to, using the document map, instead of the current item.

(Inherited from ReportItem)
Name

Gets the descriptive name of the report item.

(Inherited from ReportItem)
NoDataMessage

Gets the message that is displayed when the chart contains no data.

NoRowsMessage

Gets the message to display in the data region when it contains no rows.

(Inherited from DataRegion)
PageBreak

Gets the page break behavior for the data region.

(Inherited from DataRegion)
PageName

Gets the page name.

(Inherited from DataRegion)
Palette

Gets an expression that evaluates to the color palette for the chart items.

PaletteHatchBehavior

Gets an expression that evaluates to a value that indicates whether hatching should be automatically applied to data points in the chart.

ParentDefinitionPath

Gets the path to report definition object's parent in the report definition.

(Inherited from ReportElement)
RepeatedSibling

Gets a Boolean value that indicates whether this report item has a specified RepeatWith property.

(Inherited from ReportItem)
RepeatWith

Gets the name of a data region that this report item should be repeated with if that data region spans multiple pages.

(Inherited from ReportItem)
Series

Gets the number of series in the chart.

SeriesHierarchy

Gets the series hierarchy.

SpecialBorderHandling

Indicates whether the chart report item is using a special skin that overrides border settings.

Style

Gets the style properties of this report definition object.

(Inherited from ReportItem)
Titles

Gets the chart titles.

ToolTip

Gets an expression that evaluates to a textual label for the report item. Used for such things as rendering TITLE and ALT attributes in HTML reports.

(Inherited from ReportItem)
Top

Gets the distance of the item from the top of the containing object.

(Inherited from ReportItem)
Visibility

Gets the current visibility state of this report object.

(Inherited from DataRegion)
Width

Gets the width of the item. Negative sizes allowed only for lines.

(Inherited from ReportItem)
ZIndex

Gets the drawing order of the report item within the containing object. Items with lower indices should be drawn first (appearing behind items with higher indices).

(Inherited from ReportItem)

Methods

CreateCustomProperty()

Creates a new custom property and adds it to the custom properties collection of the report item. Used in custom report items.

(Inherited from ReportItem)
GetRepeatSiblings()

Gets the indexes to the report items contained in the parent report item collection that should be repeated on the new page, if this data region spans multiple pages.

(Inherited from DataRegion)

Applies to