Few dashboard graph improvements.
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