Chart 类

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.

继承层次结构

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.ReportElement
        Microsoft.ReportingServices.RdlObjectModel.ReportItem
          Microsoft.ReportingServices.RdlObjectModel.DataRegion
            Microsoft.ReportingServices.RdlObjectModel.Chart

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public Class Chart _
    Inherits DataRegion
用法
Dim instance As Chart
public class Chart : DataRegion
public ref class Chart : public DataRegion
type Chart =  
    class 
        inherit DataRegion 
    end
public class Chart extends DataRegion

Chart 类型公开以下成员。

构造函数

  名称 说明
公共方法 Chart Creates a new instance of the Chart class.

页首

属性

  名称 说明
公共属性 ActionInfo Gets or sets the actions that are associated with the ReportItem. (从 ReportItem 继承。)
公共属性 AllGroups 基础结构。Gets or sets all groups that this chart belongs to. (覆盖 DataRegion.AllGroups。)
公共属性 AllowInHeaderFooter When overridden in a derived class, gets a value that indicates whether the data region is allowed in header or footer. (从 DataRegion 继承。)
公共属性 Bookmark Gets or sets a bookmark that can be linked to by using a Bookmark action. (从 ReportItem 继承。)
公共属性 ChartAreas Gets or sets the set of chart areas for the chart.
公共属性 ChartBorderSkin Gets or sets a border skin for the chart.
公共属性 ChartCategoryHierarchy Gets or sets the hierarchy of category members for the chart.
公共属性 ChartCustomPaletteColors Gets or sets the list of colors in the custom palette.
公共属性 ChartData Gets or sets the data values for the chart.
公共属性 ChartLegends Gets or sets the set of legends for the chart.
公共属性 ChartNoDataMessage Gets or sets the title to display if the chart contains no data.
公共属性 ChartSeriesHierarchy Gets or sets the hierarchy of series members for the chart.
公共属性 ChartTitles Gets or sets the set of titles for the chart.
公共属性 ComponentMetadata Gets or sets the component metadata. (从 ReportObject 继承。)
公共属性 ContainedReportItems 基础结构。Gets or sets the sub-items contained in this report item. (从 ReportItem 继承。)
公共属性 CustomProperties Gets or sets the custom information to be handed to the report rendering component. (从 ReportItem 继承。)
公共属性 DataElementName Gets or sets the name to use for the data element/attribute for this report item. (从 ReportItem 继承。)
公共属性 DataElementOutput Gets or sets a value that indicates whether the item should appear in a data rendering. (从 ReportItem 继承。)
公共属性 DataSetName Gets or sets a value that indicates which dataset to use for this data region. (从 DataRegion 继承。)
公共属性 DesignerMode 基础结构。Gets or sets the designer mode for the chart.
公共属性 DocumentMapLabel Gets or sets a label to identify an instance of a report item within the client UI, This provides a user-friendly label for searching. (从 ReportItem 继承。)
公共属性 DocumentMapLabelLocID Gets or sets the unique identifier for the DocumentMapLabel property. (从 ReportItem 继承。)
公共属性 DynamicHeight Gets or sets the height to which the chart should grow or shrink.
公共属性 DynamicWidth Gets or sets the width to which the chart should grow or shrink.
公共属性 Filters Gets or sets the filters to apply to each row of data in the data region. (从 DataRegion 继承。)
公共属性 Height Gets or sets the height of the item. (从 ReportItem 继承。)
公共属性 KeepTogether Gets or sets a value that indicates whether all sections of the data region are kept together on one page, if possible. (从 DataRegion 继承。)
公共属性 Left Gets or sets the distance of the item from the left of the containing object. (从 ReportItem 继承。)
公共属性 Name Gets or sets the name of the report item. (从 ReportItem 继承。)
公共属性 NoRowsMessage Gets or sets the message to display in the data region when it contains no rows. (从 DataRegion 继承。)
公共属性 PageBreak Gets or sets the page break behavior for the data region (从 DataRegion 继承。)
公共属性 PageName Gets or sets the page name for the data region. (从 DataRegion 继承。)
公共属性 Palette Gets or sets the color palette for the chart items.
公共属性 PaletteHatchBehavior Gets or sets a value that indicates whether hatching should be automatically applied to data points in the chart.
公共属性 Parent The parent of this report object. (从 ReportObjectBase 继承。)
公共属性 RepeatWith Gets or sets the name of a data region that this report item should be repeated with if that data region spans multiple pages. (从 ReportItem 继承。)
公共属性 Site 基础结构。Gets or sets the site associated with the ReportObject object. (从 ReportObject 继承。)
公共属性 SortExpressions Gets or sets the expressions by which to sort the rows of data in the data region. (从 DataRegion 继承。)
公共属性 Style Gets the style properties of this report definition object. (从 ReportElement 继承。)
公共属性 ToolTip Gets or sets a textual label for the report item. Used for such things as rendering TITLE and ALT attributes in HTML reports. (从 ReportItem 继承。)
公共属性 ToolTipLocID Gets or sets the unique identifier for the ToolTip property. (从 ReportItem 继承。)
公共属性 Top Gets or sets the distance of the item from the top of the containing object. (从 ReportItem 继承。)
公共属性 Visibility Gets or sets the current visibility state of this report object. (从 ReportItem 继承。)
公共属性 Width Gets or sets the width of the item. Negative sizes allowed only for lines. (从 ReportItem 继承。)
公共属性 ZIndex Gets or sets the drawing order of the report item within the containing object. (从 ReportItem 继承。)

页首

方法

  名称 说明
公共方法 DeepClone Returns a deep clone of this ReportObject instance. (从 ReportObject 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetContainingDataScopes 基础结构。Returns the list of report object that contains data scopes. (从 ReportObject 继承。)
受保护方法 GetDataScopesForDefaultImpl 基础结构。Returns the data scopes for default implementation. (从 ReportObject 继承。)
受保护方法 GetDependenciesCore 基础结构。Returns the list of dependency objects embedded in the data region. (从 DataRegion 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 Initialize Initializes an instance of the Chart class. (覆盖 DataRegion.Initialize()。)
受保护方法 InitializeForDesigner 基础结构。Initializes the properties of an instance of the ReportItem class for the designer. (从 ReportItem 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 OnChildPropertyChanged 基础结构。Raises an event when the property of the child was changed. (从 ReportObject 继承。)
受保护方法 OnPropertyChanged 基础结构。Raises an event when the property was changed. (从 ReportObject 继承。)
受保护方法 RdlSemanticEqualsCore 基础结构。Returns whether the report definition language semantic is the same with the core object. (从 ReportObject 继承。)
受保护方法 SavePropertyValue<T> 基础结构。Saves the property value of the report object. (从 ReportObject 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IDisposable.Dispose 基础结构。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (从 ReportObject 继承。)
显式接口实现私有事件 IComponent.Disposed 基础结构。Occurs when the ReportObject object is disposed. (从 ReportObject 继承。)
显式接口实现私有属性 IDataScope.Group 基础结构。Gets the group of the data for the data region. (从 DataRegion 继承。)
显式接口实现私有方法 IDataScopeService.GetDataScopesFor 基础结构。Gets the data scopes for the data region. (从 DataRegion 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.ReportingServices.RdlObjectModel 命名空间