/**
* Set a new instance of the theme that implements Themes interface.
*
* @param ThemeInterface $theme Theme interface.
*
* @return void
*
* @access public
*/
public static function setTheme(ThemeInterface $theme): void
Examples
use function Thermage\chart;
use function Thermage\render;
// ...
render(
chart()::setTheme(new RadTheme())
);
Getting Started
Methods
- d Set Chart element display style.
- data Set Chart element data.
- getShortcodes Get Chart element shortcodes instance.
- getTheme Get Chart element theme.
- horizontal Set Chart element type horizontal.
- inline Set Chart element type inline.
- render Render Chart element.
- setShortcodes Set Chart element shortcodes instance.
- setTheme Set Chart element theme instance.
- showPercents Set Chart element show percents flag true.
- showValues Set Chart element show values flag true.
- valuesSufix Set Chart element values sufix true.