Files
grafana/packages/grafana-ui/src/components/uPlot/geometries/Line.tsx
Dominik Prokop b995381816 Proposal: Declarative API for axes, scales and series configuration in Graph NG (#27862)
* Fix gdev dashboard

* API for declarative Axis, Series and Scales configuration

* Bring back time zone change support

* Update tests and fix type errors

* Review comments and fixes
2020-09-29 13:25:10 +02:00

14 lines
347 B
TypeScript

import React from 'react';
import { getLineConfig } from './configGetters';
import { useSeriesGeometry } from './SeriesGeometry';
import { LineProps } from './types';
export const Line: React.FC<LineProps> = props => {
const getConfig = () => getLineConfig(props);
useSeriesGeometry(getConfig);
return null;
};
Line.displayName = 'Line';