udpate line graph

This commit is contained in:
Samuele Locatelli
2022-02-26 12:58:27 +01:00
parent 0e8fa72f36
commit f16d3a3275
5 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -31,7 +31,7 @@
public string MinValue { get; set; } = "0";
[Parameter]
public string MaxValue { get; set; } = "100";
public string MaxValue { get; set; } = "0";
[Parameter]
public int lTens { get; set; } = 0;
@@ -79,8 +79,8 @@
{
maxTicksLimit = 10
},
suggestedMin = MinValue,
suggestedMax = MaxValue
suggestedMin = MinValue != MaxValue ? MinValue : "auto",
suggestedMax = MinValue != MaxValue ? MaxValue : "auto"
},
xAxes = new
{
@@ -95,7 +95,7 @@
{
//labels = Labels.ToArray(),
datasets = new[]
{
{
new
{
data = DataTS,