@cognite/react-timeseries-chart
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Build Status Storybook

react-timeseries-chart

React timeseries chart implementation based on @cognite/griff-react

How to use

You can add package to your application via yarn:

yarn add @cognite/react-timeseries-chart

Then you can add component to you code importing it:

import React from 'react';
import { TimeseriesChart } from '@cognite/react-timeseries-chart';
import { CogniteClient } from '@cognite/sdk';

const client = new CogniteClient({appId: 'example'});

// ...

const Component = () => {
  return <TimeseriesChart client={client} series={[123]}/>
}

You can check storybook for more examples.

Deployment

To deploy package to npm you should push changes to the master branch with bumped package version (in package.json)

Readme

Keywords

none

Package Sidebar

Install

npm i @cognite/react-timeseries-chart

Weekly Downloads

0

Version

1.0.1

License

Apache-2.0

Unpacked Size

65.6 kB

Total Files

17

Last publish

Collaborators

  • npmwatchtower
  • cognitecicd