File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed
Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 2222 <span class =" oi oi-arrow-thick-right" ></span >
2323 </button >
2424 </h3 >
25- <Line Data =" day.WattPeaks" Config =" config " />
25+ <Area Data =" day.WattPeaks" Config =" aConf " />
2626 <h4 class =" bg-light text-center p-3" >
2727 Total Generation : <b >@day.TotalKiloWattHours </b > kWh
2828 </h4 >
3232@code {
3333 private PVDay ? day ;
3434
35- private LineConfig config = new ()
35+ private AreaConfig aConf = new ()
3636 {
37- Title = new (),
3837 Padding = " auto" ,
39- ForceFit = true ,
38+ AutoFit = true ,
4039 XField = " Time" ,
4140 YField = " Watts" ,
42- Smooth = false
41+ Smooth = false ,
42+ Line = new ()
43+ {
44+ Size = 1 ,
45+ Color = " #5598d7"
46+ },
47+ AreaStyle = new ()
48+ {
49+ Fill = " l(270) 0:#ffffff 0.5:#7ec2f3 1:#1890ff" ,
50+ }
4351 };
4452
4553 protected override async Task OnInitializedAsync ()
Original file line number Diff line number Diff line change 11## changelog
22- disable buttons in settings page until data is loaded in (applies only to trouble mode)
3- - pre-allocate pv graph slots
3+ - pre-allocate pv graph slots
4+ - change pv graph style
You can’t perform that action at this time.
0 commit comments