SurfaceGraphAxisLabels

The graph axis labels properties.

Example

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

    -- Edit 'SurfaceGraphAxisLabels' property

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

Usage locations

The SurfaceGraphAxisLabels 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 SurfaceGraphFontFormat)
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
SurfaceGraphFontFormat
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