mirror of
https://github.com/openziti/zrok.git
synced 2025-06-20 17:58:50 +02:00
basis, oops (#325)
This commit is contained in:
parent
bb2b7c3da7
commit
4341f60ce6
@ -46,8 +46,8 @@ const SharesTab = (props) => {
|
|||||||
cell: row => {
|
cell: row => {
|
||||||
return <ResponsiveContainer width={"100%"} height={"100%"}>
|
return <ResponsiveContainer width={"100%"} height={"100%"}>
|
||||||
<AreaChart data={row.sparkData}>
|
<AreaChart data={row.sparkData}>
|
||||||
<Area type={"linear"} dataKey={(v) => v.rx ? v.rx : 0} stroke={"#231069"} fill={"#04adef"} isAnimationActive={false} dot={false} />
|
<Area type={"basis"} dataKey={(v) => v.rx ? v.rx : 0} stroke={"#231069"} fill={"#04adef"} isAnimationActive={false} dot={false} />
|
||||||
<Area type={"linear"} dataKey={(v) => v.tx ? v.tx * -1 : 0} stroke={"#231069"} fill={"#9BF316"} isAnimationActive={false} dot={false} />
|
<Area type={"basis"} dataKey={(v) => v.tx ? v.tx * -1 : 0} stroke={"#231069"} fill={"#9BF316"} isAnimationActive={false} dot={false} />
|
||||||
</AreaChart>
|
</AreaChart>
|
||||||
</ResponsiveContainer>
|
</ResponsiveContainer>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user