We recommend using Visual Studio 2017

Chart Class

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.

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

public sealed class Chart : DataRegion

The Chart type exposes the following members.

Public propertyBookmarkGets an expression that evaluates to a bookmark that can be linked to via a bookmark action. (Inherited from ReportItem.)
Public propertyBorderSkinGets the border skin of the entire chart image.
Public propertyCategoriesGets the number of categories in the chart (equals the number of leaf-members in the category hierarchy).
Public propertyCategoryHierarchyGets the category hierarchy.
Public propertyChartAreasGets the set of chart areas for the chart.
Public propertyChartDataGets the data values for the chart.
Public propertyCustomPaletteColorsGets the custom palette colors.
Public propertyCustomPropertiesGets the custom information to be handed to the report rendering component. (Inherited from ReportItem.)
Public propertyDataElementNameGets the name to use for the data element/attribute for this report item. (Inherited from ReportItem.)
Public propertyDataElementOutputGets a value that indicates whether the item should appear in a data rendering. (Inherited from ReportItem.)
Public propertyDataSetNameGets the data set to use for this data region. (Inherited from DataRegion.)
Public propertyDataValueSequenceRenderingGets 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".
Public propertyDefinitionPathGets the path to this report definition object in the report definition. (Inherited from ReportItem.)
Public propertyDocumentMapLabelGets 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.)
Public propertyDynamicHeightGets an expression that evaluates to the height to which the chart should grow/shrink.
Public propertyDynamicWidthGets an expression that evaluates to the width to which the chart should grow/shrink.
Public propertyHeightGets the height of the item. (Inherited from ReportItem.)
Public propertyIDGets the unique identifier for this report definition object. (Inherited from ReportItem.)
Public propertyInstanceGets the report instance object that contains the calculated values of this report definition object. (Inherited from ReportItem.)
Public propertyLeftGets the distance of the item from the left of the containing object. (Inherited from ReportItem.)
Public propertyLegendsGets the chart legends.
Public propertyLinkToChildGets the index of the report item that should be linked to, using the document map, instead of the current item. (Inherited from ReportItem.)
Public propertyNameGets the description. (Inherited from ReportItem.)
Public propertyNoDataMessageGets the message that is displayed when the chart contains no data.
Public propertyNoRowsMessageGets the message to display in the data region when it contains no rows. (Inherited from DataRegion.)
Public propertyPageBreakGets the page break behavior for the data region. (Inherited from DataRegion.)
Public propertyPageNameGets the page name. (Inherited from DataRegion.)
Public propertyPaletteGets an expression that evaluates to the color palette for the chart items.
Public propertyPaletteHatchBehaviorGets an expression that evaluates to a value that indicates whether hatching should be automatically applied to data points in the chart.
Public propertyParentDefinitionPathGets the path to report definition object's parent in the report definition. (Inherited from ReportElement.)
Public propertyRepeatedSiblingGets a Boolean value that indicates whether this report item has a specified RepeatWith property. (Inherited from ReportItem.)
Public propertyRepeatWithGets the name of a data region that this report item should be repeated with if that data region spans multiple pages. (Inherited from ReportItem.)
Public propertySeriesGets the number of series in the chart.
Public propertySeriesHierarchyGets the series hierarchy.
Public propertySpecialBorderHandlingIndicates whether the chart report item is using a special skin that overrides border settings.
Public propertyStyleGets the style properties of this report definition object. (Inherited from ReportItem.)
Public propertyTitlesGets the chart titles.
Public propertyToolTipGets 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.)
Public propertyTopGets the distance of the item from the top of the containing object. (Inherited from ReportItem.)
Public propertyVisibilityGets the current visibility state of this report object. (Inherited from DataRegion.)
Public propertyWidthGets the width of the item. Negative sizes allowed only for lines. (Inherited from ReportItem.)
Public propertyZIndexGets 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.)

Public methodCreateCustomPropertyCreates a new custom property and adds it to the custom properties collection of the report item. Used in custom report items. (Inherited from ReportItem.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetRepeatSiblingsGets 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.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Protected fieldm_bookmarkInfrastructure. (Inherited from ReportItem.)
Protected fieldm_cachedHeightInfrastructure. (Inherited from ReportItem.)
Protected fieldm_cachedWidthInfrastructure. (Inherited from ReportItem.)
Protected fieldm_definitionPathInfrastructure. (Inherited from ReportItem.)
Protected fieldm_documentMapLabelInfrastructure. (Inherited from ReportItem.)
Protected fieldm_instanceInfrastructure. (Inherited from ReportItem.)
Protected fieldm_inSubtotalInfrastructure. (Inherited from ReportItem.)
Protected fieldm_isListContentsRectangleInfrastructure. (Inherited from ReportItem.)
Protected fieldm_isOldSnapshotInfrastructure. (Inherited from ReportElement.)
Protected fieldm_parentDefinitionPathInfrastructure. (Inherited from ReportElement.)
Protected fieldm_startHiddenInfrastructure. (Inherited from ReportItem.)
Protected fieldm_styleInfrastructure. (Inherited from ReportElement.)
Protected fieldm_toolTipInfrastructure. (Inherited from ReportItem.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions