Documentation / @ripl/charts / createTrendChart
Function: createTrendChart() ​
createTrendChart<
TData>(target,options):TrendChart<TData>
Defined in: charts/src/charts/trend.ts:783
Factory function that creates a new TrendChart instance.
Type Parameters ​
| Type Parameter | Default type |
|---|---|
TData | unknown |
Parameters ​
| Parameter | Type |
|---|---|
target | string | Context<Element, Record<string, unknown>> | HTMLElement |
options | TrendChartOptions<TData> |
Returns ​
TrendChart<TData>