Pass isInteractive to each graph separately
This commit is contained in:
parent
c9f2320fc5
commit
6fff9f9feb
|
@ -61,7 +61,7 @@ const DeviceCPULoad = ({ load }: DeviceCPULoadProps) => {
|
|||
}}
|
||||
>
|
||||
<div style={{ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0 }}>
|
||||
<StandartLineChart data={chartData} />
|
||||
<StandartLineChart data={chartData} isInteractive={false} />
|
||||
</div>
|
||||
<YStack space={'$3'}>
|
||||
<Text size={15} weight={'semibold'}>
|
||||
|
|
|
@ -66,7 +66,7 @@ const DeviceMemoryHealth = ({ currentMemory, maxMemory }: DeviceMemoryHealthProp
|
|||
}}
|
||||
>
|
||||
<div style={{ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0 }}>
|
||||
<StandartLineChart data={chartData} />
|
||||
<StandartLineChart data={chartData} isInteractive={false} />
|
||||
</div>
|
||||
<YStack space={'$3'}>
|
||||
<Text size={15} weight={'semibold'}>
|
||||
|
|
|
@ -67,7 +67,7 @@ const DeviceNetworkHealth = ({ latency }: DeviceNetworkHealthProps) => {
|
|||
}}
|
||||
>
|
||||
<div style={{ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0 }}>
|
||||
<StandartLineChart data={chartData} />
|
||||
<StandartLineChart data={chartData} isInteractive={false} />
|
||||
</div>
|
||||
<YStack space={'$3'}>
|
||||
<Text size={15} weight={'semibold'}>
|
||||
|
|
|
@ -64,7 +64,7 @@ const DeviceStorageHealth = ({ storage, maxStorage }: DeviceStorageHealthProps)
|
|||
height: '4.75rem',
|
||||
}}
|
||||
>
|
||||
<StandardGauge data={data(free)} />
|
||||
<StandardGauge data={data(free)} isInteractive={false}/>
|
||||
</Stack>
|
||||
<YStack space={'$3'}>
|
||||
<Text size={15} weight={'semibold'}>
|
||||
|
|
Loading…
Reference in New Issue