We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In my usecase i want to add a custom link in every legend so that clicking on the hyperlink any one can be routed to a specific pages.
.
No response
The text was updated successfully, but these errors were encountered:
Hi @sudip10028 , I think you can register the event listener to achieve this on js level such as windows.open, more event type see events.
event listener
windows.open
pie := charts.NewPie() const handler = ` (params) => { // I get the legend selected event in Console now console.log(params); } ` pie.SetGlobalOptions( charts.WithTitleOpts(opts.Title{Title: "label options"}), charts.WithEventListeners(event.Listener{ EventName: "legendselectchanged", Handler: opts.FuncOpts(handler), }), )
Sorry, something went wrong.
No branches or pull requests
Describe your proposal
In my usecase i want to add a custom link in every legend so that clicking on the hyperlink any one can be routed to a specific pages.
What the feature/improvement it should looks like?
.
Other information
No response
Willing to implement it?
The text was updated successfully, but these errors were encountered: