Partager via


Classe 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.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.ReportingServices.RdlObjectModel
Assembly :  Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)

Syntaxe

'Déclaration
Public Class Chart _
    Inherits DataRegion
'Utilisation
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

Le type Chart expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique Chart Creates a new instance of the Chart class.

Haut de la page

Propriétés

  Nom Description
Propriété publique ActionInfo Gets or sets the actions that are associated with the ReportItem. (hérité de ReportItem.)
Propriété publique AllGroups Infrastructure. Gets or sets all groups that this chart belongs to. (remplace DataRegion.AllGroups.)
Propriété publique AllowInHeaderFooter When overridden in a derived class, gets a value that indicates whether the data region is allowed in header or footer. (hérité de DataRegion.)
Propriété publique Bookmark Gets or sets a bookmark that can be linked to by using a Bookmark action. (hérité de ReportItem.)
Propriété publique ChartAreas Gets or sets the set of chart areas for the chart.
Propriété publique ChartBorderSkin Gets or sets a border skin for the chart.
Propriété publique ChartCategoryHierarchy Gets or sets the hierarchy of category members for the chart.
Propriété publique ChartCustomPaletteColors Gets or sets the list of colors in the custom palette.
Propriété publique ChartData Gets or sets the data values for the chart.
Propriété publique ChartLegends Gets or sets the set of legends for the chart.
Propriété publique ChartNoDataMessage Gets or sets the title to display if the chart contains no data.
Propriété publique ChartSeriesHierarchy Gets or sets the hierarchy of series members for the chart.
Propriété publique ChartTitles Gets or sets the set of titles for the chart.
Propriété publique ComponentMetadata Gets or sets the component metadata. (hérité de ReportObject.)
Propriété publique ContainedReportItems Infrastructure. Gets or sets the sub-items contained in this report item. (hérité de ReportItem.)
Propriété publique CustomProperties Gets or sets the custom information to be handed to the report rendering component. (hérité de ReportItem.)
Propriété publique DataElementName Gets or sets the name to use for the data element/attribute for this report item. (hérité de ReportItem.)
Propriété publique DataElementOutput Gets or sets a value that indicates whether the item should appear in a data rendering. (hérité de ReportItem.)
Propriété publique DataSetName Gets or sets a value that indicates which dataset to use for this data region. (hérité de DataRegion.)
Propriété publique DesignerMode Infrastructure. Gets or sets the designer mode for the chart.
Propriété publique 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. (hérité de ReportItem.)
Propriété publique DocumentMapLabelLocID Gets or sets the unique identifier for the DocumentMapLabel property. (hérité de ReportItem.)
Propriété publique DynamicHeight Gets or sets the height to which the chart should grow or shrink.
Propriété publique DynamicWidth Gets or sets the width to which the chart should grow or shrink.
Propriété publique Filters Gets or sets the filters to apply to each row of data in the data region. (hérité de DataRegion.)
Propriété publique Height Gets or sets the height of the item. (hérité de ReportItem.)
Propriété publique KeepTogether Gets or sets a value that indicates whether all sections of the data region are kept together on one page, if possible. (hérité de DataRegion.)
Propriété publique Left Gets or sets the distance of the item from the left of the containing object. (hérité de ReportItem.)
Propriété publique Name Gets or sets the name of the report item. (hérité de ReportItem.)
Propriété publique NoRowsMessage Gets or sets the message to display in the data region when it contains no rows. (hérité de DataRegion.)
Propriété publique PageBreak Gets or sets the page break behavior for the data region (hérité de DataRegion.)
Propriété publique PageName Gets or sets the page name for the data region. (hérité de DataRegion.)
Propriété publique Palette Gets or sets the color palette for the chart items.
Propriété publique PaletteHatchBehavior Gets or sets a value that indicates whether hatching should be automatically applied to data points in the chart.
Propriété publique Parent The parent of this report object. (hérité de ReportObjectBase.)
Propriété publique 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. (hérité de ReportItem.)
Propriété publique Site Infrastructure. Gets or sets the site associated with the ReportObject object. (hérité de ReportObject.)
Propriété publique SortExpressions Gets or sets the expressions by which to sort the rows of data in the data region. (hérité de DataRegion.)
Propriété publique Style Gets the style properties of this report definition object. (hérité de ReportElement.)
Propriété publique ToolTip Gets or sets a textual label for the report item. Used for such things as rendering TITLE and ALT attributes in HTML reports. (hérité de ReportItem.)
Propriété publique ToolTipLocID Gets or sets the unique identifier for the ToolTip property. (hérité de ReportItem.)
Propriété publique Top Gets or sets the distance of the item from the top of the containing object. (hérité de ReportItem.)
Propriété publique Visibility Gets or sets the current visibility state of this report object. (hérité de ReportItem.)
Propriété publique Width Gets or sets the width of the item. Negative sizes allowed only for lines. (hérité de ReportItem.)
Propriété publique ZIndex Gets or sets the drawing order of the report item within the containing object. (hérité de ReportItem.)

Haut de la page

Méthodes

  Nom Description
Méthode publique DeepClone Returns a deep clone of this ReportObject instance. (hérité de ReportObject.)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetContainingDataScopes Infrastructure. Returns the list of report object that contains data scopes. (hérité de ReportObject.)
Méthode protégée GetDataScopesForDefaultImpl Infrastructure. Returns the data scopes for default implementation. (hérité de ReportObject.)
Méthode protégée GetDependenciesCore Infrastructure. Returns the list of dependency objects embedded in the data region. (hérité de DataRegion.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique Initialize Initializes an instance of the Chart class. (remplace DataRegion.Initialize().)
Méthode protégée InitializeForDesigner Infrastructure. Initializes the properties of an instance of the ReportItem class for the designer. (hérité de ReportItem.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode protégée OnChildPropertyChanged Infrastructure. Raises an event when the property of the child was changed. (hérité de ReportObject.)
Méthode protégée OnPropertyChanged Infrastructure. Raises an event when the property was changed. (hérité de ReportObject.)
Méthode protégée RdlSemanticEqualsCore Infrastructure. Returns whether the report definition language semantic is the same with the core object. (hérité de ReportObject.)
Méthode protégée SavePropertyValue<T> Infrastructure. Saves the property value of the report object. (hérité de ReportObject.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée IDisposable.Dispose Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (hérité de ReportObject.)
Implémentation d'interface expliciteÉvénement privé IComponent.Disposed Infrastructure. Occurs when the ReportObject object is disposed. (hérité de ReportObject.)
Implémentation d'interface explicitePropriété privée IDataScope.Group Infrastructure. Gets the group of the data for the data region. (hérité de DataRegion.)
Implémentation d'interface expliciteMéthode privée IDataScopeService.GetDataScopesFor Infrastructure. Gets the data scopes for the data region. (hérité de DataRegion.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.ReportingServices.RdlObjectModel