protected override void OnAfterRender() { try { base.OnAfterRender(); JsRuntime.InitializeChart(Config); } catch { } // https://github.com/aspnet/AspNetCore/issues/8327 }