Function: getNestedScalePropertySafe()
getNestedScalePropertySafe(
config:unknown,axis:"x"|"y",path:string): {exists:boolean;validPath:string[];value:unknown; }
Defined in: src/utils/chartUtils.ts:119
Enhanced nested property access with detailed path information.
Parametersโ
configโ
unknown
Chart configuration
axisโ
Axis name ("x" or "y")
"x" | "y"
pathโ
string
Property path (e.g., "title.text")
Returnsโ
Detailed property access result.
existsโ
exists:
boolean
Whether the property path exists
validPathโ
validPath:
string[]
The path that was successfully traversed
valueโ
value:
unknown
The retrieved value