Skip to content

Commit

Permalink
Merge pull request #176 from MPapst/feature/net-7-compatability
Browse files Browse the repository at this point in the history
allow yAxis Label formatting in .NET 7.0 WASM
  • Loading branch information
joadan authored Nov 19, 2022
2 parents f658cda + 7d6a072 commit 9a6e48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Blazor-ApexCharts/wwwroot/js/blazor-apex-charts.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

getYAxisLabel(value, index, w) {

if (window.wasmBinaryFile === undefined) {
if (window.wasmBinaryFile === undefined && window.WebAssembly === undefined) {
console.warn("YAxis labels is only supported in Blazor WASM");
return value;
}
Expand Down

0 comments on commit 9a6e48c

Please sign in to comment.