NEW: Zusagen / Absagen Chart (PoC)

This commit is contained in:
2025-12-04 22:57:22 +01:00
parent ab237de4c8
commit a31292e476
6 changed files with 138 additions and 103 deletions

View File

@ -11,5 +11,20 @@ namespace SZUAbsolventenverein.Module.EventRegistration
{
_jsRuntime = jsRuntime;
}
public async Task CreateChart(string divid, string type, string[] labels, object[] datasets, object options)
{
try
{
await _jsRuntime.InvokeVoidAsync(
"SZUAbsolventenverein.EventRegistration.createChart",
divid, type, (object) labels, (object) datasets, options);
}
catch
{
// handle exception
}
}
}
}