shutterstock / rickshaw

JavaScript toolkit for creating interactive real-time graphs
https://shutterstock.github.io/rickshaw
MIT License
6.53k stars 941 forks source link

Highlight a certain point by Javascript? #593

Open BorisKrones opened 7 years ago

BorisKrones commented 7 years ago

Hi there,

is there a method to highlight a certain point (or to move the highlighter to that point), for example:

graph.highlight(series, point.x, point.y) or something like that?

Best regards Boris

RichardLitt commented 7 years ago

What do you mean by highlight? What interaction are you looking for - a color change? There's a color palette that will probably work for your purposes, there.

BorisKrones commented 7 years ago

Hi Richard,

thank you for your reply.

I mean something like change the color of a single bar (by index, if using bar chart) or much better, to move the highlighter tooltip to the position of a data point (move highlighter tooltip to point with index x for example).

Best regards from germany Boris

RichardLitt commented 7 years ago

At the moment, I don't know. Until someone else can weigh in on this, I'm going to keep this open as a possible enhancement. It would be great to add this functionality.