mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-09-12 19:51:00 +05:00
Merge pull request #5019 from Dokploy/fix/chart-animation-4414
Some checks are pending
Auto PR to main when version changes / create-pr (push) Waiting to run
Build Docker images / build-and-push-cloud-image (push) Waiting to run
Build Docker images / build-and-push-schedule-image (push) Waiting to run
Build Docker images / build-and-push-server-image (push) Waiting to run
Dokploy Docker Build / docker-amd (push) Waiting to run
Dokploy Docker Build / docker-arm (push) Waiting to run
Dokploy Docker Build / combine-manifests (push) Blocked by required conditions
Dokploy Docker Build / generate-release (push) Blocked by required conditions
Dokploy Docker Build / sync-version (push) Blocked by required conditions
autofix.ci / format (push) Waiting to run
Dokploy Monitoring Build / docker-amd (push) Waiting to run
Dokploy Monitoring Build / docker-arm (push) Waiting to run
Dokploy Monitoring Build / combine-manifests (push) Blocked by required conditions
Some checks are pending
Auto PR to main when version changes / create-pr (push) Waiting to run
Build Docker images / build-and-push-cloud-image (push) Waiting to run
Build Docker images / build-and-push-schedule-image (push) Waiting to run
Build Docker images / build-and-push-server-image (push) Waiting to run
Dokploy Docker Build / docker-amd (push) Waiting to run
Dokploy Docker Build / docker-arm (push) Waiting to run
Dokploy Docker Build / combine-manifests (push) Blocked by required conditions
Dokploy Docker Build / generate-release (push) Blocked by required conditions
Dokploy Docker Build / sync-version (push) Blocked by required conditions
autofix.ci / format (push) Waiting to run
Dokploy Monitoring Build / docker-amd (push) Waiting to run
Dokploy Monitoring Build / docker-arm (push) Waiting to run
Dokploy Monitoring Build / combine-manifests (push) Blocked by required conditions
fix: disable recharts animation on monitoring charts
This commit is contained in:
commit
ef0272a4ec
@ -85,6 +85,7 @@ export const DockerBlockChart = ({ accumulativeData }: Props) => {
|
||||
/>
|
||||
<Area
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
dataKey="readMb"
|
||||
stroke="var(--color-readMb)"
|
||||
fill="url(#fillBlockRead)"
|
||||
@ -92,6 +93,7 @@ export const DockerBlockChart = ({ accumulativeData }: Props) => {
|
||||
/>
|
||||
<Area
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
dataKey="writeMb"
|
||||
stroke="var(--color-writeMb)"
|
||||
fill="url(#fillBlockWrite)"
|
||||
|
||||
@ -69,6 +69,7 @@ export const DockerCpuChart = ({ accumulativeData }: Props) => {
|
||||
/>
|
||||
<Area
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
dataKey="usage"
|
||||
stroke="var(--color-usage)"
|
||||
fill="url(#fillCpu)"
|
||||
|
||||
@ -71,6 +71,7 @@ export const DockerDiskChart = ({ accumulativeData, diskTotal }: Props) => {
|
||||
/>
|
||||
<Area
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
dataKey="usedGb"
|
||||
stroke="var(--color-usedGb)"
|
||||
fill="url(#fillDiskUsed)"
|
||||
|
||||
@ -75,6 +75,7 @@ export const DockerMemoryChart = ({
|
||||
/>
|
||||
<Area
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
dataKey="usage"
|
||||
stroke="var(--color-usage)"
|
||||
fill="url(#fillMemory)"
|
||||
|
||||
@ -81,6 +81,7 @@ export const DockerNetworkChart = ({ accumulativeData }: Props) => {
|
||||
/>
|
||||
<Area
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
dataKey="inMB"
|
||||
stroke="var(--color-inMB)"
|
||||
fill="url(#fillNetIn)"
|
||||
@ -88,6 +89,7 @@ export const DockerNetworkChart = ({ accumulativeData }: Props) => {
|
||||
/>
|
||||
<Area
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
dataKey="outMB"
|
||||
stroke="var(--color-outMB)"
|
||||
fill="url(#fillNetOut)"
|
||||
|
||||
@ -154,6 +154,7 @@ export const ContainerBlockChart = ({ data }: Props) => {
|
||||
name="Write"
|
||||
dataKey="write"
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
fill="url(#fillWrite)"
|
||||
stroke="hsl(142, 71%, 45%)"
|
||||
strokeWidth={2}
|
||||
@ -163,6 +164,7 @@ export const ContainerBlockChart = ({ data }: Props) => {
|
||||
name="Read"
|
||||
dataKey="read"
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
fill="url(#fillRead)"
|
||||
stroke="hsl(217, 91%, 60%)"
|
||||
strokeWidth={2}
|
||||
|
||||
@ -111,6 +111,7 @@ export const ContainerCPUChart = ({ data }: Props) => {
|
||||
name="CPU"
|
||||
dataKey="cpu"
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
fill="url(#fillCPU)"
|
||||
stroke="hsl(var(--chart-1))"
|
||||
strokeWidth={2}
|
||||
|
||||
@ -132,6 +132,7 @@ export const ContainerMemoryChart = ({ data }: Props) => {
|
||||
name="Memory"
|
||||
dataKey="memory"
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
fill="url(#fillMemory)"
|
||||
stroke="hsl(var(--chart-2))"
|
||||
strokeWidth={2}
|
||||
|
||||
@ -161,6 +161,7 @@ export const ContainerNetworkChart = ({ data }: Props) => {
|
||||
name="Input"
|
||||
dataKey="input"
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
fill="url(#fillInput)"
|
||||
stroke="hsl(var(--chart-3))"
|
||||
strokeWidth={2}
|
||||
@ -169,6 +170,7 @@ export const ContainerNetworkChart = ({ data }: Props) => {
|
||||
name="Output"
|
||||
dataKey="output"
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
fill="url(#fillOutput)"
|
||||
stroke="hsl(var(--chart-4))"
|
||||
strokeWidth={2}
|
||||
|
||||
@ -98,6 +98,7 @@ export function CPUChart({ data }: CPUChartProps) {
|
||||
name="CPU"
|
||||
dataKey="cpu"
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
fill="url(#fillCPU)"
|
||||
stroke="hsl(var(--chart-1))"
|
||||
strokeWidth={2}
|
||||
|
||||
@ -115,6 +115,7 @@ export function MemoryChart({ data }: MemoryChartProps) {
|
||||
yAxisId="left"
|
||||
dataKey="memUsed"
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
fill="url(#fillMemory)"
|
||||
stroke="hsl(var(--chart-2))"
|
||||
strokeWidth={2}
|
||||
|
||||
@ -120,6 +120,7 @@ export function NetworkChart({ data }: NetworkChartProps) {
|
||||
name="Network In"
|
||||
dataKey="networkIn"
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
fill="url(#fillNetworkIn)"
|
||||
stroke="hsl(var(--chart-3))"
|
||||
strokeWidth={2}
|
||||
@ -128,6 +129,7 @@ export function NetworkChart({ data }: NetworkChartProps) {
|
||||
name="Network Out"
|
||||
dataKey="networkOut"
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
fill="url(#fillNetworkOut)"
|
||||
stroke="hsl(var(--chart-4))"
|
||||
strokeWidth={2}
|
||||
|
||||
@ -91,6 +91,7 @@ export const RequestDistributionChart = ({
|
||||
<Area
|
||||
dataKey="count"
|
||||
type="monotone"
|
||||
isAnimationActive={false}
|
||||
fill="hsl(var(--chart-1))"
|
||||
fillOpacity={0.4}
|
||||
stroke="hsl(var(--chart-1))"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user