ComponentOne Chart 8.0 for ActiveX
Navigating the Object Hierarchy

 

Navigating the Object Hierarchy

As with other Visual Basic objects, you can access a specific object by navigating its object hierarchy. For example, the following code retrieves the background color of the main body of the chart:

Dim BackColor As Long

BackColor = Chart2D1.ChartArea.Interior.BackgroundColor

 

 


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

Product Support Forum  |  Documentation Feedback