Updating Mudblazor Version
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
index++;
|
||||
|
||||
<div style="width: 0; height: @chart.ValueDisplayMax.ToString()px">
|
||||
<div style="left: calc(-@width.ToString()px / 2); position: relative; border: 2px solid gray; border-radius:2px; width: @chart.IntervalDisplayMax.ToString()px; height: @chart.ValueDisplayMax.ToString()px">
|
||||
<div
|
||||
style="left: calc(-@width.ToString()px / 2); position: relative; border: 2px solid gray; border-radius:2px; width: @chart.IntervalDisplayMax.ToString()px; height: @chart.ValueDisplayMax.ToString()px">
|
||||
@foreach (var point in chart.Points)
|
||||
{
|
||||
var xCoord = point.GetInterval(chart.HighestIntervalPoint, chart.IntervalDisplayMax);
|
||||
@@ -24,11 +25,12 @@
|
||||
if (show == player)
|
||||
{
|
||||
<div style="position: absolute;
|
||||
bottom:@point.GetValue(highestAlloyPoint, chart.ValueDisplayMax)px;
|
||||
left:@point.GetInterval(chart.HighestIntervalPoint, chart.IntervalDisplayMax)px;
|
||||
width: 0px;
|
||||
height: 0px;">
|
||||
<div style="width:1px; height: 1px; border-top-right-radius:10px; border-top-left-radius:10px; border: 2px solid @chart.ChartColor; background-color:@chart.ChartColor">
|
||||
bottom:@point.GetValue(highestAlloyPoint, chart.ValueDisplayMax)px;
|
||||
left:@point.GetInterval(chart.HighestIntervalPoint, chart.IntervalDisplayMax)px;
|
||||
width: 0px;
|
||||
height: 0px;">
|
||||
<div
|
||||
style="width:1px; height: 1px; border-top-right-radius:10px; border-top-left-radius:10px; border: 2px solid @chart.ChartColor; background-color:@chart.ChartColor">
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@@ -46,7 +48,7 @@
|
||||
justify-content: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
@code {
|
||||
@@ -57,7 +59,7 @@
|
||||
private List<ChartModel> charts = new();
|
||||
|
||||
|
||||
float highestAlloyPoint = 0;
|
||||
float highestAlloyPoint;
|
||||
|
||||
|
||||
protected override void OnInitialized()
|
||||
|
||||
Reference in New Issue
Block a user