Skip to content

Function: supplyDefaults() ​

ts
function supplyDefaults(figure, registry, options?): SupplyDefaultsResult;

Compute fullData, fullLayout and fullConfig for a figure.

Parameters ​

ParameterType
figureAnyFigure
registryRegistry
optionsSupplyDefaultsOptions

Returns ​

SupplyDefaultsResult

Throws ​

In config.strict mode, on the first validation issue that is not a deprecation notice. Otherwise issues are passed to options.onIssue (default: warn once per path).

Released under the MIT License.