wxMathPlot
Public Attributes | List of all members
mpScale::mpScaleConstraints Struct Reference

Group of properties, derived from the axis step size and range, that control how scale labels are formatted. More...

#include <mathplot.h>

Public Attributes

double step = 0.0
 Step size between axis ticks.
 
double maxAxisValue = 0.0
 Maximum absolute value visible on the axis.
 
bool UseScientific = false
 Whether to use scientific notation.
 
int SignificantDigits = 0
 Significant digits for scientific notation.
 
int DecimalDigits = 0
 Decimal digits for fixed notation.
 
double EpsilonScale = 0.0
 Values with a smaller magnitude are shown as "0".
 

Detailed Description

Group of properties, derived from the axis step size and range, that control how scale labels are formatted.

Compute with mpScale::ComputeScaleConstraints() and pass to mpScale::FormatLabelValue() / mpScale::GetLabelWidth().


The documentation for this struct was generated from the following file: