ComponentOne Chart 8.0 for ActiveX
FormatAxisAnno Event

 

FormatAxisAnno Event

Allows full customization of axis annotations.

Example

Private Sub Chart2D1_FormatAxisAnno(ByVal axis As Integer, ByVal Value As Double, Label As String, Color As stdole.OLE_COLOR)

Remarks

Part

Type

Description

axis

Integer

The number of the axis firing the event.  The axis number is defined by its element number in the Chart.ChartArea.Axes collection, i.e., Chart.ChartArea.Axes(axis) = axis firing the event. This allows the user to customize the axis annotation string based upon the axis parameters - Min and Max for examples.

Value

Double

The numeric value to be annotated.

Label

String

A string representing the value to be placed in the axis annotation area.  This value may be modified by the event as appropriate.  The modified value will be placed in the axis annotation area.

Color

Stdole.OLE_COLOR

The foreground color used to draw the annotation text in the annotation area. This color may be different for each annotation.

 

 


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

Product Support Forum  |  Documentation Feedback