mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 16:56:30 -06:00
Few dashboard graph improvements.
This commit is contained in:
parent
5f52bb59dd
commit
aeb4867bdf
@ -942,7 +942,7 @@ export function ChartContainer(props) {
|
||||
</Box>} />
|
||||
<CardContent className={classes.chartCardContent}>
|
||||
{!props.errorMsg && !props.isTest && props.children}
|
||||
<EmptyPanelMessage text={props.errorMsg}/>
|
||||
{props.errorMsg && <EmptyPanelMessage text={props.errorMsg}/>}
|
||||
</CardContent>
|
||||
</Card>
|
||||
);
|
||||
|
@ -21,6 +21,7 @@ export default function uplotOverride(theme) {
|
||||
borderRadius: theme.shape.borderRadius,
|
||||
color: theme.palette.background.default,
|
||||
backgroundColor: theme.palette.text.primary,
|
||||
zIndex: 9999,
|
||||
|
||||
'& .uplot-tooltip-label': {
|
||||
display: 'flex',
|
||||
|
@ -69,6 +69,7 @@ export default function StreamingChart({xRange=75, data, options}) {
|
||||
alpha: 0.3,
|
||||
},
|
||||
cursor: {
|
||||
y: false,
|
||||
drag: {
|
||||
setScale: false,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user