ClickAction Not Triggering
See original GitHub issueI have tried setting up the ClickAction event on multiple chart types and cannot get the event to invoke. Could we please get an example on how this parameter is meant to be implemented? I assumed it would be something like the following but have had no luck.
<PlotlyChart Id="TestId" Config="config" Layout="layout" Data="data" @ref="chart" ClickAction="PieClick"/>
public void PieClick(Object x, Object y)
{
//Do something with x & y
}
Issue Analytics
- State:
- Created 8 months ago
- Comments:5
Top Results From Across the Web
android - Firebase click_action not working
I've got a problem with FCM, as documented by the Firebase Team: click_action: Indicates the action associated with a user click on the ......
Read more >click_action does not work · Issue #64 · kreait/laravel-firebase
I've tried triggering this raw using my postman with my firebase key, and the click_action works fine.
Read more >clickAction URL for notification not working with passed in ...
I have an RSS feed and I'm trying to use node red + notifications to send a link directly to my phone. The...
Read more >Click action on layout not working - Xibo Player for Windows
Player Version R300.5 Issue I have add a click action to the entire layout in layout A to navigate to another layout (layout...
Read more >Notify clickAction in automation - Configuration
I'm using latest HASSIO version and having problem with sending a clickable notification to my android phone through the android home assistant ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Released.
Should be similar to the hover event. See Plotly.Blazor.Examples/Components/Hover.razor
You create a reference to the chart using @ref and then call the subscribe method. You can use the AfterRender-Method, provided by the chart component, to subscribe after the chart has been rendered.
I think the return type of the values (X and Y) is JsonElement, so you have to parse it too.
In my opinion, the event mechanism and return values should be overhauled and extended to all/more event arguments.