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
When I customize a tooltip for a series, the tooltip for a marked point is undefined.
Is there a way to hide the tooltip or define it seperately for the marked point? Example:
max <- list( name = "Max", type = "max" ) USArrests |> e_charts(Assault) |> e_scatter(Murder) |> e_tooltip(formatter = htmlwidgets::JS(" function(params){ return('Assault: ' + params.value[0] + '<br />Murder: ' + params.value[1]) } ") ) |> e_mark_point(data = max)
The text was updated successfully, but these errors were encountered:
@awcm0n I have no clear explanation about the why, but this seems to solve your issue:
max <- list( name = "Max", type = "max" ) USArrests |> e_charts(Assault) |> e_scatter(Murder) |> e_tooltip(formatter = htmlwidgets::JS(" function(params){ return('Assault: ' + params.value[0] + '<br />Murder: ' + params.value[1]) } ") ) |> e_mark_point(data = max, tooltip = list(formatter = ""))
Sorry, something went wrong.
@rdatasculptor Thanks for the solution.
No branches or pull requests
When I customize a tooltip for a series, the tooltip for a marked point is undefined.
Is there a way to hide the tooltip or define it seperately for the marked point? Example:
The text was updated successfully, but these errors were encountered: