/**
* Set a new instance of the shortcodes.
*
* @param Shortcodes $shortcodes Shortcodes.
*
* @return void
*
* @access public
*/
public static function setShortcodes($shortcodes): void
Examples
use function Thermage\chart;
use function Thermage\render;
// ...
render(
chart()::setShortcodes(new Shortcodes())
);
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.