NEW: Zusagen / Absagen Chart (PoC)
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user