Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const ModelBounds: FC = ({ modelData }) => {
const model = modelData === undefined ? [] : modelData;
return (
);
};const lineSeries = locationDurationLines.map(line => {
const locationSpecId = getSpecId('loc-avg' + line.name);
return (
[x || 0, microsToMillis(y)])}
id={locationSpecId}
key={`locline-${line.name}`}
name={line.name}
xAccessor={0}
xScaleType={ScaleType.Time}
yAccessors={[1]}
yScaleToDataExtent={false}
yScaleType={ScaleType.Linear}
/>
);
});export const Scatter: FC = ({ chartData }) => {
return (
);
};export const Line: FC = ({ chartData }) => {
return (
);
};