Skip to contentSkip to navigationSkip to topbar
Paste assistant Assistant
Figma
Star

Chart Provider

Version 2.0.1GithubStorybookDesign assets pendingPeer review pending

Chart Provider is a data visualization component used to wrap an individual chart to store and share state to child charting elements.

Installation

Installation page anchor
yarn add @twilio-paste/chart-provider - or - yarn add @twilio-paste/core
import { ChartProvider } from '@twilio-paste/core/chart-provider';

const ChartProviderExample = () => {
  return (
    <ChartProvider {...config}>
      <BaseChart />
    </ChartProvider>
  );
};

ChartProvider

ChartProvider page anchor

highchartsOptions RequiredRequired

Overrides the default element name to apply unique styles with the Customization Provider

Type
Options
Default
null

element

Overrides the default element name to apply unique styles with the Customization Provider

Type
string
Default
'CHART_PROVIDER'

pasteOptions

Type
never