Vanilla JavaScript web component for beautiful, responsive charts
<sithaso-apex
id="simple-line-chart"
type="line"
title="Website Traffic"
x-axis-title="Days"
y-axis-title="Visitors"
categories='["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]'
data='[{"name": "Daily Visitors", "data": [1200, 1350, 1180, 1420, 1680, 1890, 2100], "color": "#008FFB"}]'
height="350px"
></sithaso-apex>
Click the buttons below to dynamically update chart options using the setter: