1.0.1 • Published 4 years ago

@cognite/react-timeseries-chart v1.0.1

Weekly downloads
75
License
Apache-2.0
Repository
github
Last release
4 years ago

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)

1.0.1

4 years ago

1.0.0-alpha

4 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago