Compartilhar via


ChartInstance Class

Definition

Represents an instance type of the Chart class and contains the calculated values of the properties in Chart.

public ref class ChartInstance sealed : Microsoft::ReportingServices::OnDemandReportRendering::DynamicImageInstance, Microsoft::ReportingServices::OnDemandReportRendering::IDynamicImageInstance
public sealed class ChartInstance : Microsoft.ReportingServices.OnDemandReportRendering.DynamicImageInstance, Microsoft.ReportingServices.OnDemandReportRendering.IDynamicImageInstance
type ChartInstance = class
    inherit DynamicImageInstance
    interface IDynamicImageInstance
Public NotInheritable Class ChartInstance
Inherits DynamicImageInstance
Implements IDynamicImageInstance
Inheritance
Implements

Fields

m_dpiX

Specifies the image resolution in DPI measured along the X-axis.

(Inherited from DynamicImageInstance)
m_dpiY

Specifies the image resolution in DPI measured along the Y-axis.

(Inherited from DynamicImageInstance)
m_heightOverride

Specifies the height override.

(Inherited from DynamicImageInstance)
m_reportElementDef

Specifies the report element definition that defines this instance.

(Inherited from ReportElementInstance)
m_style

Specifies the style properties of this report element object.

(Inherited from ReportElementInstance)
m_uniqueName

Specifies the unique identifier of this instance object.

(Inherited from ReportItemInstance)
m_visibility

Specifies the visibility of the report item.

(Inherited from ReportItemInstance)
m_widthOverride

Defines the m_widthOverride.

(Inherited from DynamicImageInstance)

Properties

Bookmark

Gets the calculated value of the Bookmark property in a ReportItem class.

(Inherited from ReportItemInstance)
DocumentMapLabel

Gets the calculated value of the DocumentMapLabel property in a ReportItem class.

(Inherited from ReportItemInstance)
DynamicHeight

Gets the calculated value of the DynamicHeight property in a Chart class.

DynamicWidth

Gets the calculated value of the DynamicWidth property in a Chart class.

HeightInPixels

Gets or sets the height in pixels of the current image instance.

(Inherited from DynamicImageInstance)
NoRows

Gets a Boolean value that indicates whether this DataRegionInstance contains any data rows.

(Inherited from DataRegionInstance)
NoRowsMessage

Gets the calculated value of the NoRowsMessage property in a DataRegion class.

(Inherited from DataRegionInstance)
PageName

Gets the calculated value of the PageName property in a DataRegion class.

(Inherited from DataRegionInstance)
Palette

Gets the calculated value of the Palette property in a Chart class.

PaletteHatchBehavior

Gets the calculated value of the PaletteHatchBehavior property in a Chart class.

Style

Gets the calculated value of the Style property in a ReportElement class.

(Inherited from ReportElementInstance)
ToolTip

Gets the calculated value of the ToolTip property in a ReportItem class.

(Inherited from ReportItemInstance)
UniqueName

Gets the unique identifier of this instance object.

(Inherited from ReportItemInstance)
Visibility

Gets the calculated value of the Visibility property in a DataRegion class.

(Inherited from DataRegionInstance)
WidthInPixels

Gets or sets the width in pixels of the current image instance.

(Inherited from DynamicImageInstance)

Methods

CreateExceptionImage(Exception)

Creates memory stream that represents the bitmap image of the specified exception.

(Inherited from DynamicImageInstance)
GetCoreXml()

Gets the XML representation of the core chart.

GetDefaultFontFamily()

Retrieves the default font family of the item.

(Inherited from ReportItemInstance)
GetImage()

Returns the image of the current instance.

(Inherited from DynamicImageInstance)
GetImage(ActionInfoWithDynamicImageMapCollection)

Returns the image of the current instance and its accompanying ActionInfoWithDynamicImageMapCollection.

(Inherited from DynamicImageInstance)
GetImage(DynamicImageInstance+ImageType, ActionInfoWithDynamicImageMapCollection, Stream)

Returns the image of the current instance and its accompanying ActionInfoWithDynamicImageMapCollection.

(Inherited from DynamicImageInstance)
GetImage(DynamicImageInstance+ImageType, ActionInfoWithDynamicImageMapCollection)

Returns the chart as an image of a specified type along with its image map.

GetImage(DynamicImageInstance+ImageType, Boolean)

Returns the image of the current instance by specifying the type of the rendered image and gets a boolean value indicating wether the image has an associated image map.

(Inherited from DynamicImageInstance)
GetImage(DynamicImageInstance+ImageType)

Returns the image of the current instance by specifying the type of the rendered image.

(Inherited from DynamicImageInstance)
ResetInstanceCache()

Resets the cache of the ReportItemInstance.

(Inherited from ReportItemInstance)
SetDpi(Int32, Int32)

Sets the dot-per-inch (DPI) to be used for generating the chart image.

SetSize(Double, Double)

Sets the size of the image in width and height.

(Inherited from DynamicImageInstance)

Applies to