Skip to content

Documentation / @ripl/vue-charts / RiplAnyChart

Type Alias: RiplAnyChart ​

RiplAnyChart = Chart<BaseChartOptions, EventMap>

Defined in: vue-charts/src/core/injection.ts:22

Any chart, whatever its option and event types.

EventBus holds its listeners in a Map keyed by the event map, which makes two charts with different event maps mutually unassignable however narrow the base — so nothing is a real supertype of every chart, and chartFactory bridges the gap with a single cast.