!1449 doc(#I3TJHF): update docs.json file for chart sample code

* doc: 更新示例文档代码配置
* doc: 更正 doughnut 图表文件名
* chore: 移除不使用的依赖包
This commit is contained in:
Argo
2021-05-31 00:14:11 +08:00
parent f1b454a433
commit 4575f060e5
5 changed files with 7 additions and 4 deletions

View File

@@ -20,7 +20,6 @@
<PackageReference Include="BootstrapBlazor.Chart" Version="5.0.19-beta01" />
<PackageReference Include="BootstrapBlazor.Markdown" Version="5.0.19-beta01" />
<PackageReference Include="BootstrapBlazor.TableExport" Version="5.0.19-beta01" />
<PackageReference Include="System.Net.Http.Json" Version="5.0.0" />
</ItemGroup>
<ItemGroup>

View File

@@ -14,7 +14,7 @@ namespace BootstrapBlazor.Shared.Pages.Charts
/// <summary>
///
/// </summary>
public partial class Doughout
public partial class Doughnut
{
private Random Randomer { get; } = new Random();
private int DoughnutDatasetCount = 1;

View File

@@ -38,7 +38,12 @@
"toolbar": "Table/TablesToolbar",
"tree": "Table/TablesTree",
"validateforms": "ValidateForms",
"wrap": "Table/TablesWrap"
"wrap": "Table/TablesWrap",
"line": "Charts/Line",
"bar": "Charts/Bar",
"pie": "Charts/Pie",
"doughnut": "Charts/Doughnut",
"bubble": "Charts/Bubble"
},
"video": {
"autorefresh": "BV1ap4y1x7Qn?p=8",

View File

@@ -9,7 +9,6 @@
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="5.0.6" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Localization" Version="5.0.6" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="5.0.0" />
</ItemGroup>