Wt  4.10.4
Public Attributes | List of all members
Wt::Chart::AxisConfig Struct Reference

Axis configuration. More...

#include <WAxis.h>

Public Attributes

AxisValue side
 The side the axis is drawn on, should be Minimum, Maximum, or Zero.
int zoomLevel
 The zoom level. More...

Detailed Description

Axis configuration.

This describes the configuration of an axis determining how it should be drawn. To be passed into getLabelTicks().

Member Data Documentation

◆ zoomLevel

int Wt::Chart::AxisConfig::zoomLevel

The zoom level.

Different axis labels can be drawn depending on the zoom level. These are requested by WCartesianChart in powers of 2 (1, 2, 4, 8,...)