Chart Axis

Fully implemented BCGControlBar Pro (MFC)

Fully implemented BCGSuite (MFC)

Not available BCGControlBar for .NET

Name

  • An axis can display or hide its name
  • You can customize the appearance of Axis Name by setting its fill, outline and text colors, as well as the text font and direction

Grid Lines

  • Major Grid Lines for an axis can be shown or hidden
  • Minor Grid Lines for an axis can be shown or hidden
  • The colors of Major and Minor Grid Lines can be customized

Major Grid Line Interlacing

  • The space between Major Grid Lines can be filled by a distinct color (by the default it's taken from the current Color Theme)
  • You can specify the first interval to fill
  • You can specify the fill step (how many intervals are skipped)

Axis Line and Tick Marks

  • Customizable Major and Minor Tick Mark size
  • Major and Minor Tick Marks can be hidden or have one of the following types:
    • Cross the Axis
    • Display outside the Axis
    • Display inside the Axis
  • The outline color, size and stroke style of each Axis Line and Tick Marks can be customized

Axis Labels

  • An Axis supports the following label display modes:
    • No labels
    • Labels next to axis
    • Labels low (outside plot area, near the minimum display value)
    • Labels high (outside plot area, near the maximum display value)
  • Textual labels
  • Custom format for Axis Labels
  • Custom outline, fill and text colors for axis labels as well as custom font size and direction.
  • You can completely customize label drawing by overriding several virtual methods

Date/Time Mode

The X axis can be set to the "date" mode. In this mode it treats the X component from related series as date/time values, calculates the Major Unit and formats the labels accordingly.

Display Data between Tick Marks

This mode can be turned on if the series X component is missing and/or automatically treated as a category index. In this case X coordinates of data points are "shifted" right on half major unit size. This mode is a default for Column and Bar series.

Automatic and Manual Scaling

  • It's possible to specify a fixed Major Unit for an axis
  • You can specify a custom number of Minor Units
  • Axes support a fixed grid size. In this mode you specify the distance between major grid lines in pixels and how many Data Points should be displayed within this interval. It's usable when you create real time charts and/or enable History Mode for series.

Fixed Display Range

  • You can specify a fixed display range for an axis and it will automatically calculate the required scale.
  • You can specify a fixed Maximum Display Value separately
  • You can specify a fixed Minimum Display Value separately

Cross Type

  • It's possible to specify where an Axis crosses its perpendicular axis.
  • There are four supported cross types:
    • Automatic (an axis automatically calculates the most suitable cross value based on perpendicular axis range)
    • Maximum Displayed Value
    • At Value (you can specify the cross value based on application-specific preferences)
    • Ignore (axis is displayed at its default position always)

Logarithmic Scales

Logarithmic scales of any base.

Reverse Order

Any Axis can display values in reverse order

Axis Rotation

Any series type can be displayed correctly when X axis is vertical and Y axis is horizontal.

Secondary Axes

  • The Chart control creates by default four axes - two primaries and two secondary. The default positions for secondary axes are right (Y) and top (X) respectively. You can force to display the secondary axes even they do not display any series.
  • Any series can be displayed on primary or secondary axes and this option can be chosen at the runtime

Multiple Custom Axes

  • It's possible to create and add to a particular chart as many custom axes as you wish.
  • Each axis (including the standard primary and secondary) can be positioned within the plot area using the top and bottom (which will be right or left for horizontal axes) offsets specified in percents.
  • Any series can be assigned a pair of custom axes and thus be displayed in the specified area of the main plot area.
  • Multiple vertical axes may have one horizontal related axis (and vice versa). In this way different series having similar X component (for example, date/time) can be displayed on the same plot area separately.

Axis scale breaks.

Scale breaks can be generated automatically or added manually.

Primary and Secondary Axes:

Primary and Secondary Axes:

Custom Cross Type:

Custom Cross Type:

Multiple Axes:

Multiple Axes: