#include <XLChart.hpp>
◆ XLAxis() [1/2]
| OpenXLSX::XLAxis::XLAxis |
( |
| ) |
|
|
default |
◆ XLAxis() [2/2]
| OpenXLSX::XLAxis::XLAxis |
( |
const XMLNode & |
node | ) |
|
|
explicit |
◆ clearMaxBounds()
| void OpenXLSX::XLAxis::clearMaxBounds |
( |
| ) |
|
◆ clearMinBounds()
| void OpenXLSX::XLAxis::clearMinBounds |
( |
| ) |
|
◆ setCrosses()
Set the axis crossing mode.
- Parameters
-
◆ setCrossesAt()
| void OpenXLSX::XLAxis::setCrossesAt |
( |
double |
value | ) |
|
Set the axis to cross at a specific value.
- Parameters
-
| value | The value at which the axis should cross. |
◆ setDateAxis()
| void OpenXLSX::XLAxis::setDateAxis |
( |
bool |
isDateAxis | ) |
|
Convert this axis to a date axis or back to a category axis.
- Parameters
-
| isDateAxis | If true, the axis becomes a c:dateAx. If false, it reverts to c:catAx. |
◆ setLogScale()
| void OpenXLSX::XLAxis::setLogScale |
( |
double |
base | ) |
|
Set the axis to use a logarithmic scale.
- Parameters
-
| base | The base of the logarithm (e.g. 10). If 0 or less, the logarithmic scale is removed. |
◆ setMajorGridlines()
| void OpenXLSX::XLAxis::setMajorGridlines |
( |
bool |
show | ) |
|
◆ setMajorUnit()
| void OpenXLSX::XLAxis::setMajorUnit |
( |
double |
unit | ) |
|
Set the major unit (interval between major tick marks) for the axis.
- Parameters
-
◆ setMaxBounds()
| void OpenXLSX::XLAxis::setMaxBounds |
( |
double |
max | ) |
|
◆ setMinBounds()
| void OpenXLSX::XLAxis::setMinBounds |
( |
double |
min | ) |
|
◆ setMinorGridlines()
| void OpenXLSX::XLAxis::setMinorGridlines |
( |
bool |
show | ) |
|
◆ setMinorUnit()
| void OpenXLSX::XLAxis::setMinorUnit |
( |
double |
unit | ) |
|
Set the minor unit (interval between minor tick marks) for the axis.
- Parameters
-
◆ setNumberFormat()
| void OpenXLSX::XLAxis::setNumberFormat |
( |
std::string_view |
formatCode, |
|
|
bool |
sourceLinked = false |
|
) |
| |
Set the number format for axis tick labels.
- Parameters
-
| formatCode | Excel number format code, e.g. "0.00%" or "#,##0". |
| sourceLinked | If true, the format follows the source data format. |
◆ setOrientation()
Set the orientation of the axis (normal or reverse).
- Parameters
-
◆ setTitle()
| void OpenXLSX::XLAxis::setTitle |
( |
std::string_view |
title | ) |
|
The documentation for this class was generated from the following file:
- /home/runner/work/OpenXLSX-NX/OpenXLSX-NX/OpenXLSX/headers/XLChart.hpp