A day of hourly bars that deepen in color toward the peak, with the recommended hours lit in the secondary color, a two-item legend and time ticks underneath.
The import and the props worth knowing about, in one place.
import { Chart10 } from "@/components/beste/piece/chart10";
<Chart10
label="Tomorrow"
legend={{
"series": "Solar",
"best": "Best time to use"
}}
bars={[
{
"value": 6
},
{
"value": 14
},
{
"value": 28
},
{
"value": 46
},
{
"value": 66
},
{
"value": 84,
"best": true
},
{
"value": 96,
"best": true
},
{
"value": 100,
"best": true
},
{
"value": 88
},
{
"value": 70
},
{
"value": 48
},
{
"value": 26
},
{
"value": 10
}
]}
ticks={[
"06:00",
"09:00",
"12:00",
"15:00",
"18:00"
]}
bordered={false}
/>