so I implemented next curves:
Question is why there is this black area ?
uid: PV_widget_by_ALDA_v2025
tags: []
props:
parameters:
- context: item
label: Grid L1
name: Grid_L1
required: true
type: TEXT
parameterGroups: []
timestamp: Mar 12, 2025, 9:22:15 AM
component: f7-card
config:
style:
background-color: "=props.bgcolor ? props.bgcolor : ''"
border-radius: var(--f7-card-expandable-border-radius)
box-shadow: 5px 5px 10px 1px rgba(0,0,0,0.3)
comment: Definice podkladniho listu
margin-left: 5px
margin-right: 5px
noShadow: false
padding: 0px
slots:
content:
- component: f7-block
config:
style:
display: flex
flex-direction: row
--f7-theme-color: var(--f7-text-color)
margin: 0
padding: 0
slots:
default:
- component: f7-col
config:
style:
width: 150px
slots:
default:
- component: f7-col
config:
style:
border: 2px solid darkgreen
border-radius: 20px
background: yellow
display: flex
flex-direction: column
height: 150px
slots:
default:
- component: Label
config:
style:
font-size: =(device.desktop)?('1.2vw'):('4.0vw')
font-weight: bold
text: C1R1
- component: f7-col
config:
style:
background: red
display: flex
flex-direction: column
height: 50px
slots:
default:
- component: Label
config:
style:
font-size: =(device.desktop)?('1.2vw'):('4.0vw')
font-weight: bold
text: space
- component: f7-col
config:
style:
border: 2px solid darkgreen
border-radius: 20px
background: yellow
display: flex
flex-direction: column
height: 150px
slots:
default:
- component: Label
config:
style:
font-size: =(device.desktop)?('1.2vw'):('4.0vw')
font-weight: bold
text: C1R3
- component: f7-col
config:
style:
width: 50px
slots:
default:
- component: svg
config:
style:
height: 100%
width: 100%
viewBox: 0 0 50 350
xmlns: http://www.w3.org/2000/svg
slots:
default:
- component: path
config:
id: pathGridToCharger
d: M0,75 h 50
stroke: rgba(100, 150, 200, 0.8)
stroke-width: 2
- component: circle
config:
fill: rgba(100, 150, 200, 0.8)
r: 6
stroke-width: 4
slots:
default:
- component: animateMotion
config:
calcMode: linear
dur: 4s
repeatCount: indefinite
slots:
default:
- component: mpath
config:
xlink:href: "#pathGridToCharger"
- component: path
config:
id: pathSolarToBatt
d: M0,275 h 50
stroke: rgba(100, 150, 200, 0.8)
stroke-width: 2
- component: circle
config:
fill: rgba(100, 150, 200, 0.8)
r: 6
stroke-width: 4
slots:
default:
- component: animateMotion
config:
calcMode: linear
dur: 4s
repeatCount: indefinite
slots:
default:
- component: mpath
config:
xlink:href: "#pathSolarToBatt"
- component: path
config:
id: pathSolarToCharger
d: M0,275 c 40,0 10,-200 50,-200
stroke: rgba(100, 150, 200, 0.8)
stroke-width: 2
- component: circle
config:
fill: rgba(100, 150, 200, 0.8)
r: 6
stroke-width: 4
slots:
default:
- component: animateMotion
config:
calcMode: linear
dur: 4s
repeatCount: indefinite
slots:
default:
- component: mpath
config:
xlink:href: "#pathSolarToCharger"
- component: f7-col
config:
style:
width: 150px
slots:
default:
- component: f7-col
config:
style:
border: 2px solid darkgreen
border-radius: 20px
background: yellow
display: flex
flex-direction: column
height: 150px
slots:
default:
- component: Label
config:
style:
font-size: =(device.desktop)?('1.2vw'):('4.0vw')
font-weight: bold
text: C3R1
- component: f7-col
config:
style:
background: red
display: flex
flex-direction: column
height: 50px
slots:
default:
- component: svg
config:
style:
height: 100%
width: 100%
viewBox: 0 0 150 50
xmlns: http://www.w3.org/2000/svg
slots:
default:
- component: path
config:
id: pathCargerToBatt
d: M75,0 v 50
stroke: rgba(100, 150, 200, 0.8)
stroke-width: 2
- component: circle
config:
fill: rgba(100, 150, 200, 0.8)
r: 6
stroke-width: 4
slots:
default:
- component: animateMotion
config:
calcMode: linear
dur: 4s
repeatCount: indefinite
slots:
default:
- component: mpath
config:
xlink:href: "#pathCargerToBatt"
- component: f7-col
config:
style:
border: 2px solid darkgreen
border-radius: 20px
background: yellow
display: flex
flex-direction: column
height: 150px
slots:
default:
- component: Label
config:
style:
font-size: =(device.desktop)?('1.2vw'):('4.0vw')
font-weight: bold
text: C3R3
- component: f7-col
config:
style:
width: 50px
slots:
default:
- component: svg
config:
style:
height: 100%
width: 100%
viewBox: 0 0 50 350
xmlns: http://www.w3.org/2000/svg
slots:
default:
- component: path
config:
id: pathCargerToAC
d: M0,40 h 50
stroke: rgba(100, 150, 200, 0.8)
stroke-width: 2
- component: circle
config:
fill: rgba(100, 150, 200, 0.8)
r: 6
stroke-width: 4
slots:
default:
- component: animateMotion
config:
calcMode: linear
dur: 4s
repeatCount: indefinite
slots:
default:
- component: mpath
config:
xlink:href: "#pathCargerToAC"
- component: f7-col
config:
style:
width: 150px
slots:
default:
- component: f7-col
config:
style:
border: 2px solid darkgreen
border-radius: 20px
background: yellow
display: flex
flex-direction: column
height: 90px
slots:
default:
- component: Label
config:
style:
font-size: =(device.desktop)?('1.2vw'):('4.0vw')
font-weight: bold
text: C5R1
- component: f7-col
config:
style:
background: red
display: flex
flex-direction: column
height: 20px
slots:
default:
- component: Label
config:
style:
font-size: =(device.desktop)?('1.2vw'):('4.0vw')
font-weight: bold
text: space
- component: f7-col
config:
style:
border: 2px solid darkgreen
border-radius: 20px
background: yellow
display: flex
flex-direction: column
height: 120px
slots:
default:
- component: Label
config:
style:
font-size: =(device.desktop)?('1.2vw'):('4.0vw')
font-weight: bold
text: C5R3
- component: f7-col
config:
style:
background: red
display: flex
flex-direction: column
height: 20px
slots:
default:
- component: Label
config:
style:
font-size: =(device.desktop)?('1.2vw'):('4.0vw')
font-weight: bold
text: space
- component: f7-col
config:
style:
border: 2px solid darkgreen
border-radius: 20px
background: yellow
display: flex
flex-direction: column
height: 100px
slots:
default:
- component: Label
config:
style:
font-size: =(device.desktop)?('1.2vw'):('4.0vw')
font-weight: bold
text: C5R5