Skip to content

Commit

Permalink
ChartJs v4.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ipax77 committed Nov 1, 2024
1 parent ba42e38 commit 5febf75
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/dsstats.razorlib/wwwroot/js/chart.umd.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/dsstats.web/dsstats.web.Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@

builder.Services.AddChartJs(options =>
{
options.ChartJsLocation = "/_content/dsstats.razorlib/js/chart.umd.js";
string version = "4.4.6";
options.ChartJsLocation = $"/_content/dsstats.razorlib/js/chart.umd.js?v={version}";
options.ChartJsPluginDatalabelsLocation = "/_content/dsstats.razorlib/js/chartjs-plugin-datalabels.js";
});
builder.Services.AddBlazoredLocalStorage();
Expand Down
3 changes: 2 additions & 1 deletion src/dsstats.web/dsstats.web/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@

builder.Services.AddChartJs(options =>
{
options.ChartJsLocation = "/_content/dsstats.razorlib/js/chart.umd.js";
string version = "4.4.6";
options.ChartJsLocation = $"/_content/dsstats.razorlib/js/chart.umd.js?v={version}";
options.ChartJsPluginDatalabelsLocation = "/_content/dsstats.razorlib/js/chartjs-plugin-datalabels.js";
});
builder.Services.AddBlazoredLocalStorage();
Expand Down

0 comments on commit 5febf75

Please sign in to comment.