Skip to content

Get data from charts upon mouse move and click #378

Description

@gokulchittaranjan

Description

The events currently supported in utils.py does not include mouse_move and click.
This is useful, for example, to get the OHLC data upon click, so that external action can be performed.

Code example

figures[idx].events.click += self.ui_on_graph_click

Should, for example, call the method self.ui_on_graph_click upon clicking the graph.

Method of implementation

Add relevant JS method to utils.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions