Revision 5e7343ec
Added by Maria Agaphontzev 12 months ago
webpack/assets/javascripts/react_app/components/common/charts/LineChart/index.js | ||
---|---|---|
|
||
import MessageBox from '../../MessageBox';
|
||
|
||
/* Data format example:
|
||
data={[
|
||
['red', [5, 7, 9], '#AA4643'],
|
||
['green', [2, 4, 6], '#89A54E'],
|
||
['x', [1557014400000, 1559779200000, 1562457600000], null],
|
||
]}
|
||
*/
|
||
const LineChart = ({
|
||
data,
|
||
title,
|
Also available in: Unified diff
Fixes #36439 - remove storybook and update ui docs