Charts / Area
Same data shape as line. Fills below the line to emphasise cumulative volume over time.
Pass this structure to the
:data prop.
[
['label' => 'Jan', 'value' => 1200],
['label' => 'Feb', 'value' => 1800],
['label' => 'Mar', 'value' => 1500],
]
<x-tayo::chart
type="area"
:data="$data"
:height="420"
colors="default"
/>