Interface: AxesOptions
Defined in: src/mobjects/graphing/Axes.ts:25
Options for creating Axes
Extended by
Properties
axisConfig?
optionalaxisConfig:Partial<NumberLineOptions>
Defined in: src/mobjects/graphing/Axes.ts:37
Common configuration for both axes
color?
optionalcolor:string
Defined in: src/mobjects/graphing/Axes.ts:35
Stroke color for axes. Default: '#ffffff'
tipLength?
optionaltipLength:number
Defined in: src/mobjects/graphing/Axes.ts:45
Length of arrow tips. Default: 0.25
tips?
optionaltips:boolean
Defined in: src/mobjects/graphing/Axes.ts:43
Whether to include arrow tips on axes. Default: true
xAxisConfig?
optionalxAxisConfig:Partial<NumberLineOptions>
Defined in: src/mobjects/graphing/Axes.ts:39
Configuration specific to x-axis (overrides axisConfig)
xLength?
optionalxLength:number
Defined in: src/mobjects/graphing/Axes.ts:31
Visual length of the x-axis. Default: 10
xRange?
optionalxRange: [number,number] | [number,number,number]
Defined in: src/mobjects/graphing/Axes.ts:27
X-axis range as [min, max] or [min, max, step]. Default: [-5, 5, 1]
yAxisConfig?
optionalyAxisConfig:Partial<NumberLineOptions>
Defined in: src/mobjects/graphing/Axes.ts:41
Configuration specific to y-axis (overrides axisConfig)
yLength?
optionalyLength:number
Defined in: src/mobjects/graphing/Axes.ts:33
Visual length of the y-axis. Default: 6
yRange?
optionalyRange: [number,number] | [number,number,number]
Defined in: src/mobjects/graphing/Axes.ts:29
Y-axis range as [min, max] or [min, max, step]. Default: [-3, 3, 1]