web_chart Shortcode

The web_chart shortcode renders the chart component.

The attributes below match the current Page Builder controls and public output. Use raw syntax only for reviewed content that cannot be maintained through the visual controls.

Usage

[web_chart]

Attributes

Attribute Default Accepted values Purpose
type line line, bar, horizontalBar, radar, pie, doughnut, polarArea Selects the rendering or behavior variant consumed by the shortcode.
data String unless stated otherwise You must include a valid JSON wrapped in {} keys.
options String unless stated otherwise You must include a valid JSON wrapped in {} keys.
height 400 String unless stated otherwise Height in pixels.
width 800 String unless stated otherwise Width in pixels.
device_visibility String unless stated otherwise Applies the selected responsive visibility rule.
el_class String unless stated otherwise If you wish to style a particular content element differently, then use this field to add a class name and then refer to it in your CSS file.

Verification

Verify web_chart with representative content, its empty state and every enabled responsive range. Pay particular attention to type and data.