mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -05:00
30 lines
534 B
JavaScript
30 lines
534 B
JavaScript
import React from 'react';
|
|
|
|
import {
|
|
Grid,
|
|
Card,
|
|
} from '@nebula.js/ui/components';
|
|
|
|
import Chart from './Chart';
|
|
|
|
export default function ({
|
|
object,
|
|
onSelected,
|
|
}) {
|
|
return (
|
|
<Card style={{ minHeight: 400, position: 'relative', overflow: 'visible' }}>
|
|
<Grid
|
|
container
|
|
style={{
|
|
position: 'absolute',
|
|
height: '100%',
|
|
}}
|
|
>
|
|
<Grid item xs={12}>
|
|
<Chart id={object.qInfo.qId} onSelected={onSelected} />
|
|
</Grid>
|
|
</Grid>
|
|
</Card>
|
|
);
|
|
}
|