How to use the @patternfly/react-charts.ChartThemeColor.cyan 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 / AreaChart / CyanAreaDemo.tsx View on Github external
return (
      <div>
        <div style="{{">
           `${datum.name}: ${datum.y}`} /&gt;}
            legendData={[{ name: 'Cats' }, { name: 'Birds' }, { name: 'Dogs' }]}
            legendOrientation="vertical"
            legendPosition="right"
            height={200}
            padding={{
              bottom: 50,
              left: 50,
              right: 200, // Adjusted to accommodate legend
              top: 50
            }}
            themeColor={ChartThemeColor.cyan}
            width={800}
          &gt;
            
            
            
              
              </div></div>