Skip to content

[Feature Request] Addition of hover mode button to ModeBar #257

@bvenn

Description

@bvenn

Description

I cannot find an option to activate the mode bar button for multihover.
image

Known workarounds

You easily could set the hover mode in the ChartLayout chart |> Chart.withLayout(Layout.init(HoverMode=HoverMode.X)), but the activation of the button would be beneficial for exploratory analyses.

Solution

Addition of hovermode within the ModeBarButton .

open Plotly.NET

[
	Chart.Point([1,2])
	Chart.Point([1,2])
] 
|> Chart.Combine
|> Chart.withConfig(Config.init(ModeBarButtonsToAdd=[ModeBarButton.HoverMode]))
|> Chart.show

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions