From b96d6b4d64c3f8238dacfbf0ae3e699a4699d87c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Dang=C3=A5rden?= Date: Mon, 22 May 2023 21:05:01 +0200 Subject: [PATCH] Updated preformance sample --- .../Properties/launchSettings.json | 1 + .../BlazorApexCharts.Docs.csproj | 11 +++++++---- .../Components/Features/Performance/Basic.razor | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/BlazorApexCharts.Docs.Server/Properties/launchSettings.json b/docs/BlazorApexCharts.Docs.Server/Properties/launchSettings.json index d3cee16b..b0947544 100644 --- a/docs/BlazorApexCharts.Docs.Server/Properties/launchSettings.json +++ b/docs/BlazorApexCharts.Docs.Server/Properties/launchSettings.json @@ -11,6 +11,7 @@ "BlazorApexCharts.Docs.Server": { "commandName": "Project", "launchBrowser": true, + "launchUrl": "features/performance", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, diff --git a/docs/BlazorApexCharts.Docs/BlazorApexCharts.Docs.csproj b/docs/BlazorApexCharts.Docs/BlazorApexCharts.Docs.csproj index cad243e4..cdf26791 100644 --- a/docs/BlazorApexCharts.Docs/BlazorApexCharts.Docs.csproj +++ b/docs/BlazorApexCharts.Docs/BlazorApexCharts.Docs.csproj @@ -4,6 +4,13 @@ net6.0 + + + + + + + @@ -21,8 +28,4 @@ - - - - diff --git a/docs/BlazorApexCharts.Docs/Components/Features/Performance/Basic.razor b/docs/BlazorApexCharts.Docs/Components/Features/Performance/Basic.razor index f3b8e8dc..20083a13 100644 --- a/docs/BlazorApexCharts.Docs/Components/Features/Performance/Basic.razor +++ b/docs/BlazorApexCharts.Docs/Components/Features/Performance/Basic.razor @@ -29,7 +29,7 @@ else @code { private ApexChart chart; - private List points = new List { 100, 1000, 5000, 10000, 15000, 20000 }; + private List points = new List {0, 100, 1000, 5000, 10000, 15000, 20000 }; private int pointsToLoad = 100; private List timeSeries = new TimeSeriesGenerator(25000).TimeSeries; private string message;