Skip to content

How do I add a JS-callback function? #7

@ChessSpider

Description

@ChessSpider

Hi, loving the work. Simple & effective. I hope you'll continue working on this. I was making some silly mistakes as get_datasets() only a DataSet instead of a [DataSet, ] and everything just failed silently. Maybe in a future version you could make it throw an error or whatever.

But I have a real question. Chart.JS supports events/callback methods. How can I define a JS-callback function for a chart in the Python code?
http://www.chartjs.org/docs/latest/general/interactions/events.html

Thx,

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions