共用方式為


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 命名空間