共用方式為


Chart Class

Definition

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.

public ref class Chart : Microsoft::ReportingServices::RdlObjectModel::DataRegion
public class Chart : Microsoft.ReportingServices.RdlObjectModel.DataRegion
type Chart = class
    inherit DataRegion
Public Class Chart
Inherits DataRegion
Inheritance

Constructors

Chart()

Creates a new instance of the Chart class.

Fields

AllowTypeInHeaderFooter

Specifies whether the data region allows type in header or footer.

(Inherited from DataRegion)

Properties

ActionInfo

Gets or sets the actions that are associated with the ReportItem.

(Inherited from ReportItem)
AllGroups

Gets or sets all groups that this chart belongs to.

AllowInHeaderFooter

When overridden in a derived class, gets a value that indicates whether the data region is allowed in header or footer.

(Inherited from DataRegion)
Bookmark

Gets or sets a bookmark that can be linked to by using a Bookmark action.

(Inherited from 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.

(Inherited from ReportObject)
ContainedReportItems

Gets or sets the sub-items contained in this report item.

(Inherited from ReportItem)
CustomProperties

Gets or sets the custom information to be handed to the report rendering component.

(Inherited from ReportItem)
DataElementName

Gets or sets the name to use for the data element/attribute for this report item.

(Inherited from ReportItem)
DataElementOutput

Gets or sets a value that indicates whether the item should appear in a data rendering.

(Inherited from ReportItem)
DataSetName

Gets or sets a value that indicates which dataset to use for this data region.

(Inherited from 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.

(Inherited from ReportItem)
DocumentMapLabelLocID

Gets or sets the unique identifier for the DocumentMapLabel property.

(Inherited from 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.

(Inherited from DataRegion)
Height

Gets or sets the height of the item.

(Inherited from ReportItem)
KeepTogether

Gets or sets a value that indicates whether all sections of the data region are kept together on one page, if possible.

(Inherited from DataRegion)
Left

Gets or sets the distance of the item from the left of the containing object.

(Inherited from ReportItem)
Name

Gets or sets the name of the report item.

(Inherited from ReportItem)
NoRowsMessage

Gets or sets the message to display in the data region when it contains no rows.

(Inherited from DataRegion)
PageBreak

Gets or sets the page break behavior for the data region

(Inherited from DataRegion)
PageName

Gets or sets the page name for the data region.

(Inherited from 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.

(Inherited from 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.

(Inherited from ReportItem)
Site

Gets or sets the site associated with the ReportObject object.

(Inherited from ReportObject)
SortExpressions

Gets or sets the expressions by which to sort the rows of data in the data region.

(Inherited from DataRegion)
Style

Gets the style properties of this report definition object.

(Inherited from 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.

(Inherited from ReportItem)
ToolTipLocID

Gets or sets the unique identifier for the ToolTip property.

(Inherited from ReportItem)
Top

Gets or sets the distance of the item from the top of the containing object.

(Inherited from ReportItem)
Visibility

Gets or sets the current visibility state of this report object.

(Inherited from ReportItem)
Width

Gets or sets the width of the item. Negative sizes allowed only for lines.

(Inherited from ReportItem)
ZIndex

Gets or sets the drawing order of the report item within the containing object.

(Inherited from ReportItem)

Methods

DeepClone()

Returns a deep clone of this ReportObject instance.

(Inherited from ReportObject)
GetContainingDataScopes()

Returns the list of report object that contains data scopes.

(Inherited from ReportObject)
GetDataScopesForDefaultImpl(IContainedObject)

Returns the data scopes for default implementation.

(Inherited from ReportObject)
GetDependenciesCore(IList<ReportObject>)

Returns the list of dependency objects embedded in the data region.

(Inherited from DataRegion)
Initialize()

Initializes an instance of the Chart class.

InitializeForDesigner()

Initializes the properties of an instance of the ReportItem class for the designer.

(Inherited from ReportItem)
OnChildPropertyChanged(Int32, Object, Object)

Raises an event when the property of the child was changed.

(Inherited from ReportObject)
OnPropertyChanged(Int32, Object, Object)

Raises an event when the property was changed.

(Inherited from ReportObject)
RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)

Returns whether the report definition language semantic is the same with the core object.

(Inherited from ReportObject)
SavePropertyValue<T>(String, T, ReportObject.SwapValue<T>)

Saves the property value of the report object.

(Inherited from ReportObject)

Explicit Interface Implementations

IComponent.Disposed

Occurs when the ReportObject object is disposed.

(Inherited from ReportObject)
IDataScope.Group

Gets the data group.

(Inherited from DataRegion)
IDataScopeService.GetDataScopesFor(IContainedObject)

Gets the data scopes for the data region.

(Inherited from DataRegion)
IDisposable.Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from ReportObject)

Applies to