ComponentOne Chart 8.0 for ActiveX
Chart2D Object Members

 

Chart2D Object Members

Chart2D Object Properties

 

ActionMaps

The action maps for the control

AllowUserChanges

Specifies whether the end-user is to be permitted to pop up the property page at runtime.

Border

The border around the entire control.

CausesValidation

Returns/sets whether validation occurs on the control which lost focus.

Cborder

The border around the entire control.

ChartArea

The region of the chart containing the data and axes.

ChartGroups

The collection of data, styles, series/point labels.

ChartLabels

Text annotations within the chart.

Container

Returns the container of an object.

DataBindings

Returns/sets a DataBindings collection object that collects the bindable properties that are available to the developer.

DataPath

Specifies a URL containing chart data to load at runtime.

DataSource

The data control through which the current control is bound to a database.

DragIcon

Returns/sets the icon to be displayed as the pointer in a drag-and-drop operation.

DragMode

Returns/sets a value that determines whether manual or automatic drag mode is used.

ErrorOffset

The value to be added to each 2D Chart error number (to ensure uniqueness).

Footer

The footer of the chart.

Header

The header of the chart.

Height

Returns/sets the height of an object.

HelpContextID

Specifies the default Help file context ID for an object.

hWnd

The window handle for the control.

Index

Returns/sets the number identifying a control in a control array.

Interior

The background/foreground colors and image for the chart element.

IsBatched

Determines whether changes to chart properties are shown.

IsDoubleBuffered

Determines how chart updates appear to the user.

Left

Returns/sets the distance between the internal left edge of an object and the left edge of its container.

Legend

The legend of the chart.

Name

Returns the name used in code to identify an object.

Object

Returns an object in a control.

Parent

Returns the object on which this object is located.

PropertyPageHelpFile

Specifies an alternate path and filename to the runtime property pages.

 

Chart2D Object Methods

 

AboutBox

Displays an About box.

CallAction

Calls an action.

CopyToClipboard

Copies the chart to the clipboard.

DrawToDC

Draws the chart on a specified device.

DrawToFile

Draws the chart into a file.

IsChartEditorElementVisible

Returns the state of the Property Editor element.

Load

Loads a chart description from a file.

LoadURL

Loads a chart Description (an .OC2 file) from a URL.

PrintChart

Prints the chart using the Windows dialog box.

Refresh

Repaints the chart.

Reset

The default state is the property settings and data values that appear in the chart when it is first dropped on a form.

Save

Saves a chart description to a file.

SaveImageAsDibBytes

Saves a bitmap (device independent bitmap) to a Byte array if successful or Empty if it fails.

SaveImageAsJpeg

Saves the chart as a JPEG image file.

SaveImageAsJpegBytes

Performs the same as the existing function SaveImageAsJpeg() except that the image data is not saved to a file, but is returned in a Byte array (memory only) if successful and Empty if it fails.

SaveImageAsPng

Saves the chart as a PNG image file.

SaveImageAsPngBytes

Performs the same as the existing functions SaveImageAsPng() except that the image data is not saved to a file, but is returned in a Byte array (memory only) if successful and Empty if it fails.

ShowChartEditorElement

Determines if a Property Editor tab is shown or not.

 

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback