# cee::plt::AxisSettings

class `AxisSettings`

  Axis settings for an OverlayPlot object.

  See also

  OverlayPlot

  Public Functions

  Color3f `axisColor`() const

    Returns the color of the axes.

  void `setAxisColor`(const Color3f &color)

    Sets the axis color.

  Str `xAxisTitle`() const

    Returns the title of the x axis.

  void `setXAxisTitle`(const Str &title)

    Sets the title of the x axis.

  Str `yAxisTitle`() const

    Returns the title of the y axis.

  void `setYAxisTitle`(const Str &title)

    Sets the title of the y axis.

  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.

  Color3f `gridLinesColor`() const

    Returns the grid line color.

  void `setGridLinesColor`(const Color3f &color)

    Sets the grid line color.

  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())

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Desktop or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...