cleanop plot

This commit is contained in:
CHIEFSOFT\ameye
2025-09-14 22:45:23 -04:00
parent 6c3f96d9a3
commit 8372209923
+11 -6
View File
@@ -7,13 +7,18 @@ import ReactApexChart from "react-apexcharts";
series: [ series: [
{ {
// name: "High - 2013", // name: "High - 2013",
name: 'High', name: 'Professional Website',
data: [28, 29, 33, 36, 32, 32, 33, 33, 36, 32, 32, 33] data: [28, 29, 33, 36, 32, 32, 33, 33, 36, 32, 32, 33]
}, },
{ {
// name: "Low - 2013", // name: "Low - 2013",
name: 'Low', name: 'Personal Website',
data: [12, 11, 14, 18, 17, 13, 13, 14, 18, 17, 13, 13] data: [12, 11, 14, 18, 17, 13, 13, 14, 18, 17, 13, 13]
},
{
// name: "Low - 2013",
name: 'Personal Forum',
data: [10, 11, 14, 18, 17, 13, 13, 14, 10, 17, 13, 10]
} }
], ],
options: { options: {
@@ -35,7 +40,7 @@ import ReactApexChart from "react-apexcharts";
show: false show: false
} }
}, },
colors: ['#77B6EA', '#545454'], colors: ['#77B6EA', '#545454', '#F50898'],
dataLabels: { dataLabels: {
enabled: true, enabled: true,
}, },
@@ -43,7 +48,7 @@ import ReactApexChart from "react-apexcharts";
curve: 'smooth' curve: 'smooth'
}, },
title: { title: {
text: 'Average High & Low Temperature', text: 'Recent Sites Traffic',
align: 'left' align: 'left'
}, },
grid: { grid: {
@@ -64,7 +69,7 @@ import ReactApexChart from "react-apexcharts";
}, },
yaxis: { yaxis: {
title: { title: {
text: 'Temperature' text: 'Visits'
}, },
min: 5, min: 5,
max: 40 max: 40
@@ -86,7 +91,7 @@ import ReactApexChart from "react-apexcharts";
return ( return (
<div> <div>
<div id="chart"> <div id="chart">
<ReactApexChart options={state.options} series={state.series} type="line" height={350} /> <ReactApexChart options={state.options} series={state.series} type="line" height={450} />
</div> </div>
<div id="html-dist"></div> <div id="html-dist"></div>
</div> </div>