getTheme
Class: matlab.graphics.chartcontainer.ChartContainer
Namespace: matlab.graphics.chartcontainer
Syntax
Description
returns
the gt = getTheme(obj)GraphicsTheme object for the parent figure of the specified
ChartContainer object. To determine the theme of the figure, query the
BaseColorStyle property of gt.
The update method of the chart container executes when the figure theme
changes, so you can call this method from within the update method of your
subclass to respond to changes in the figure theme.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2025a

