Line chart
A line chart is the default timeseries variant for a hosted event embed. Use it when you want to emphasize trend and rate-of-change over time.
Code
<ChirpierChart
eventId="event_id"
shareToken="share_token"
state={{
view: "timeseries",
variant: "bar",
range: "1w",
aggregate: "average",
compare: true,
}}
/>Additional properties
Configure a line chart by setting state.view to timeseries and state.variant to line.
Supported options:
state.range:1h,1d,1w,1mstate.aggregate:sumoraveragestate.compare:trueto show previous-period comparisonstate.header:falseto hide the hosted event headertheme:light,dark,systemautoResizeorresizeMode: control iframe sizing behavior
Last updated on