How to use the @patternfly/react-charts.ChartThemeColor.orange function in @patternfly/react-charts

To help you get started, we’ve selected a few @patternfly/react-charts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github patternfly / patternfly-react / packages / patternfly-4 / react-integration / demo-app-ts / src / components / demos / PieChartDemo / PieOrangeDemo.tsx View on Github external
render() {
    return (
      <div style="{{">
        <div>
           `${datum.x}: ${datum.y}`}
            legendData={[{ name: 'Cats: 35' }, { name: 'Dogs: 55' }, { name: 'Birds: 10' }]}
            legendOrientation="vertical"
            legendPosition="right"
            themeColor={ChartThemeColor.orange}
            width={350}
          /&gt;
        </div>
      </div>
    );
  }
}