When specifying a custom tooltip formatter using ApexChartOptions<T>.Legend.TooltipHoverFormatter, the browser throws an exception when the user tries to hover over the area chart, as it tries to call a string like a function.
The problem comes from blazor-apexcharts.js that has custom logic for evaluating function-like string parameters coming from .NET, but it doesn't include TooltipHoverFormatter. I think the solution is as simple as adding || key === 'tooltipHoverFormatter' at the end of that if statement.
When specifying a custom tooltip formatter using
ApexChartOptions<T>.Legend.TooltipHoverFormatter
, the browser throws an exception when the user tries to hover over the area chart, as it tries to call a string like a function.The problem comes from
blazor-apexcharts.js
that has custom logic for evaluating function-like string parameters coming from .NET, but it doesn't include TooltipHoverFormatter. I think the solution is as simple as adding|| key === 'tooltipHoverFormatter'
at the end of that if statement.