GraphAxisLabels

The graph axis labels properties.

Example

app = pf.GetApplication()
app:NewProject()
app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/startup.fek]])
graph = app.CartesianGraphs:Add()

    -- Edit 'GraphAxisLabels' property

graph.HorizontalAxis.Labels.NumberFormat = pf.Enums.NumberFormatEnum.Scientific
graph.HorizontalAxis.Labels.SignificantDigits = 1

Usage locations

The GraphAxisLabels object can be accessed from the following locations:

Property List

AutoSignificantDigitsEnabled
Automatically determine the number of significant digits. (Read/Write boolean)
Font
The font format for the graph axis title. (Read only FontFormat)
NumberFormat
The number format used for axis labels specified by NumberFormatEnum, e.g. Scientific or Decimal. (Read/Write NumberFormatEnum)
SignificantDigits
The number of significant digits of the axis. (Read/Write number)

Property Details

AutoSignificantDigitsEnabled
Automatically determine the number of significant digits.
Type
boolean
Access
Read/Write
Font
The font format for the graph axis title.
Type
FontFormat
Access
Read only
NumberFormat
The number format used for axis labels specified by NumberFormatEnum, e.g. Scientific or Decimal.
Type
NumberFormatEnum
Access
Read/Write
SignificantDigits
The number of significant digits of the axis.
Type
number
Access
Read/Write