Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pax.BlazorChartJs v0.6.0 / ChartJs v4.4.0 #358

Merged
merged 1 commit into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pax.dsstats.web/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
builder.Services.AddBlazoredToast();
builder.Services.AddChartJs(options =>
{
options.ChartJsLocation = "/_content/sc2dsstats.razorlib/js/chart.umd.js";
options.ChartJsLocation = "/_content/sc2dsstats.razorlib/js/chart.js";
options.ChartJsPluginDatalabelsLocation = "/_content/sc2dsstats.razorlib/js/chartjs-plugin-datalabels.min.js";
//options.ChartJsLocation = "/js/chart.js";
//options.ChartJsPluginDatalabelsLocation = "/js/chartjs-plugin-datalabels.js";
Expand Down
2 changes: 1 addition & 1 deletion src/sc2dsstats.maui/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static MauiApp CreateMauiApp()
builder.Services.AddBlazoredToast();
builder.Services.AddChartJs(options =>
{
options.ChartJsLocation = "/_content/sc2dsstats.razorlib/js/chart.umd.js";
options.ChartJsLocation = "/_content/sc2dsstats.razorlib/js/chart.js";
options.ChartJsPluginDatalabelsLocation = "/_content/sc2dsstats.razorlib/js/chartjs-plugin-datalabels.min.js";
});

Expand Down
2 changes: 1 addition & 1 deletion src/sc2dsstats.razorlib/Stats/StatsChartComponent.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ private bool SetRadarChartConfig(StatsRequest statsRequest)
{
R = new LinearRadialAxis()
{
AngelLines = new AngelLines()
AngleLines = new AngleLines()
{
Display = true,
Color = "#f2f2f233"
Expand Down
2 changes: 1 addition & 1 deletion src/sc2dsstats.razorlib/Stats/Synergy/SynergyChart.razor
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
{
R = new LinearRadialAxis()
{
AngelLines = new AngelLines()
AngleLines = new AngleLines()
{
Display = true,
Color = "#f2f2f233"
Expand Down
2 changes: 1 addition & 1 deletion src/sc2dsstats.razorlib/sc2dsstats.razorlib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<PackageReference Include="MathNet.Numerics" Version="5.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.0.21" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="6.0.21" />
<PackageReference Include="pax.BlazorChartJs" Version="0.5.1" />
<PackageReference Include="pax.BlazorChartJs" Version="0.6.0" />
</ItemGroup>

<ItemGroup>
Expand Down
20 changes: 20 additions & 0 deletions src/sc2dsstats.razorlib/wwwroot/js/chart.js

Large diffs are not rendered by default.

14 changes: 0 additions & 14 deletions src/sc2dsstats.razorlib/wwwroot/js/chart.umd.js

This file was deleted.