cee::plt::AxisSettings
-
class
AxisSettings
Axis settings for an OverlayPlot object.
See also
Public Functions
-
bool
drawGridLines
() const Returns true if grid lines are drawn.
-
void
setDrawGridLines
(bool drawGridLines) Draws grid lines if set to true. Hides them if set two false.
-
bool
showRangeInTitle
() const Returns true if scalar minimum and maximum values should be included int the axis titles.
-
void
setShowRangeInTitle
(bool show) Sets if scalar minimum and maximum values should be included int the axis titles.
-
bool
useAutoRange
() const Returns true if axis range is set using auto range.
-
void
setUseAutoRange
(bool autoRange) Sets the axis range to be set using auto range if set to true.
-
double
xAxisRangeMinimum
() const Returns the minimum range value for the x axis.
-
double
xAxisRangeMaximum
() const Returns the maximum range value for the x axis.
-
void
setXAxisRange
(double min, double max) Sets x axis range.
Will only apply if auto range is toggled off. The manually set range will be reset when auto range is toggled on.
-
double
yAxisRangeMinimum
() const Returns the minimum range value for the y axis.
-
double
yAxisRangeMaximum
() const Returns the maximum range value for the y axis.
-
void
setYAxisRange
(double min, double max) Sets y axis range.
Will only apply if auto range is toggled off. The manually set range will be reset when auto range is toggled on.
-
void
setYAxisUseLogarithmicScale
(bool useLog) If true, uses logarithmic scaling on y axis.
-
bool
yAxisUseLogarithmicScale
() const Returns true if y axis uses logarithmic scaling.
-
void
setXAxisUseLogarithmicScale
(bool useLog) If true, uses logarithmic scaling on y axis.
-
bool
xAxisUseLogarithmicScale
() const Returns true if X axis uses logarithmic scaling.
-
void
forceRangeUpdate
() Recalculates axis ranges.
Used when curve values have been changed manually. (Curve::setValues())
-
bool