PDA

View Full Version : highlight scatter plot point on click



alex9311
28 Feb 2013, 9:42 AM
I'm having trouble with what I thought would be a simple task. I have a scatter plot and I want to be able to click on a point to highlight it (and for it to remain highlighted). I have a listener for itemclick in my series:

listeners: {
itemclick: function(record, o){
record.series.highlightItem(record);
}


The item does not stay highlighted though... any ideas?

UPDATE
Still havn't figured this out... I'm trying this without success now:

//listener in my series delcaration
listeners: {
itemclick: function(record, o){
record.series.highlightItem(record.storeItem);
}
}