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)

Syntax

'Declaration
Public NotInheritable Class Chart _
    Inherits DataRegion
'Usage
Dim instance As Chart
public sealed class Chart : DataRegion
public ref class Chart sealed : public DataRegion
[<SealedAttribute>]
type Chart =  
    class
        inherit DataRegion
    end
public final class Chart extends DataRegion

The Chart type exposes the following members.

Properties

  Name Description
Public property Bookmark Gets an expression that evaluates to a bookmark that can be linked to via a bookmark action. (Inherited from ReportItem.)
Public property BorderSkin Gets the border skin of the entire chart image.
Public property Categories Gets the number of categories in the chart (equals the number of leaf-members in the category hierarchy).
Public property CategoryHierarchy Gets the category hierarchy.
Public property ChartAreas Gets the set of chart areas for the chart.
Public property ChartData Gets the data values for the chart.
Public property CustomPaletteColors Gets the custom palette colors.
Public property CustomProperties Gets the custom information to be handed to the report rendering component. (Inherited from ReportItem.)
Public property DataElementName Gets the name to use for the data element/attribute for this report item. (Inherited from ReportItem.)
Public property DataElementOutput Gets a value that indicates whether the item should appear in a data rendering. (Inherited from ReportItem.)
Public property DataSetName Gets the data set to use for this data region. (Inherited from DataRegion.)
Public property 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".
Public property DefinitionPath Gets the path to this report definition object in the report definition. (Inherited from ReportItem.)
Public property 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.)
Public property DynamicHeight Gets an expression that evaluates to the height to which the chart should grow/shrink.
Public property DynamicWidth Gets an expression that evaluates to the width to which the chart should grow/shrink.
Public property Height Gets the height of the item. (Inherited from ReportItem.)
Public property ID Gets the unique identifier for this report definition object. (Inherited from ReportItem.)
Public property Instance Gets the report instance object that contains the calculated values of this report definition object. (Inherited from ReportItem.)
Public property Left Gets the distance of the item from the left of the containing object. (Inherited from ReportItem.)
Public property Legends Gets the chart legends.
Public property 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.)
Public property Name Gets the description. (Inherited from ReportItem.)
Public property NoDataMessage Gets the message that is displayed when the chart contains no data.
Public property NoRowsMessage Gets the message to display in the data region when it contains no rows. (Inherited from DataRegion.)
Public property PageBreak Gets the page break behavior for the data region. (Inherited from DataRegion.)
Public property PageName Gets the page name. (Inherited from DataRegion.)
Public property Palette Gets an expression that evaluates to the color palette for the chart items.
Public property PaletteHatchBehavior Gets an expression that evaluates to a value that indicates whether hatching should be automatically applied to data points in the chart.
Public property ParentDefinitionPath Gets the path to report definition object's parent in the report definition. (Inherited from ReportElement.)
Public property RepeatedSibling Gets a Boolean value that indicates whether this report item has a specified RepeatWith property. (Inherited from ReportItem.)
Public property 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.)
Public property Series Gets the number of series in the chart.
Public property SeriesHierarchy Gets the series hierarchy.
Public property SpecialBorderHandling Indicates whether the chart report item is using a special skin that overrides border settings.
Public property Style Gets the style properties of this report definition object. (Inherited from ReportItem.)
Public property Titles Gets the chart titles.
Public property 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.)
Public property Top Gets the distance of the item from the top of the containing object. (Inherited from ReportItem.)
Public property Visibility Gets the current visibility state of this report object. (Inherited from DataRegion.)
Public property Width Gets the width of the item. Negative sizes allowed only for lines. (Inherited from ReportItem.)
Public property 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.)

Top

Methods

  Name Description
Public method 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.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method 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.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_bookmark Infrastructure. (Inherited from ReportItem.)
Protected field m_cachedHeight Infrastructure. (Inherited from ReportItem.)
Protected field m_cachedWidth Infrastructure. (Inherited from ReportItem.)
Protected field m_definitionPath Infrastructure. (Inherited from ReportItem.)
Protected field m_documentMapLabel Infrastructure. (Inherited from ReportItem.)
Protected field m_instance Infrastructure. (Inherited from ReportItem.)
Protected field m_inSubtotal Infrastructure. (Inherited from ReportItem.)
Protected field m_isListContentsRectangle Infrastructure. (Inherited from ReportItem.)
Protected field m_isOldSnapshot Infrastructure. (Inherited from ReportElement.)
Protected field m_parentDefinitionPath Infrastructure. (Inherited from ReportElement.)
Protected field m_startHidden Infrastructure. (Inherited from ReportItem.)
Protected field m_style Infrastructure. (Inherited from ReportElement.)
Protected field m_toolTip Infrastructure. (Inherited from ReportItem.)

Top

Thread Safety

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