Defaults
Set default panel configuration for child panels.
Use this component to apply consistent defaults to all panels within its scope. Defaults can be nested - inner defaults merge with and override outer defaults.
Set defaults for all panels in a section
Section titled “Set defaults for all panels in a section”<Defaults colorMode="continuous-BlPu" axisBorderShow={true}> <Timeseries title="Panel 1" /> <Timeseries title="Panel 2" colorMode="fixed" color="red" /></Defaults>Nested defaults
Section titled “Nested defaults”<Defaults colorMode="palette-classic"> <Timeseries title="Uses palette-classic" /> <Defaults axisBorderShow={true}> <Timeseries title="Uses palette-classic AND axisBorderShow" /> </Defaults></Defaults>| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | - | Child components that will inherit these defaults |
Inherits from PanelDefaults