Chart: Sample 2nd Dataset
This commit is contained in:
@ -126,7 +126,8 @@
|
||||
string[] colors = new string[] { "#FF0000", "#FF8000", "#FFFF00", "#00FF00", "#00FFFF", "#0080FF", "#0000FF", "#8000FF", "#FF00FF", "#CCCCCC" };
|
||||
|
||||
labels.AddRange("Zusage", "Absage");
|
||||
datasets.Add(new { label = "DS1", data = new int[] { _responses.Count(r => r.ResponseType == true), _responses.Count(r => r.ResponseType == false) }, fill = false, backgroundColor = colors });
|
||||
datasets.Add(new { label = "ALL", data = new int[] { _responses.Count(r => r.ResponseType == true), _responses.Count(r => r.ResponseType == false) }, fill = false, backgroundColor = colors });
|
||||
// datasets.Add(new { label = "2024", data = new int[] { 1, 1 }, fill = false, backgroundColor = colors });
|
||||
object options = new { maintainAspectRatio = false, legend = new { display = true, position = "bottom", labels = new { fontColor = "white", fontSize = 16 } } };
|
||||
|
||||
var interop = new Interop(JSRuntime);
|
||||
|
||||
Reference in New Issue
Block a user