Skip to content

Commit

Permalink
allow yAxis Label formatting in .NET 7.0 WASM
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Papst committed Nov 16, 2022
1 parent f658cda commit 7d6a072
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 7d6a072

Please sign in to comment.