LayTec-AG / Plotly.Blazor

This library packages the well-known charting library plotly.js into a razor component that can be used in a Blazor project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Click event doesn't work for heatmaps.

BrockLeeBytes opened this issue · comments

The PointNumber property in EventDataPoint is returned as an array when a heat map cell is clicked on. This causes an json parsing error on the client side and the C# click event never actually activates.

I was able to fix this issue relatively easily by adding the Plotly.Blazor source code to my project and changing PointIndex from an int to an object.

Okay, will probably be a breaking change.
Will check it out next week, too.

Integrated in #433