ShiboBrady / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

Serie index in response object from getXAxes() #648

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Calling flotChartInstance.getXAxes() returns an array of objects where each 
object represents a x axis. In this object it would be useful if it had an 
attribute refering to the serie(s) index it is representing. Ex.:
{serieIndex:[0, 2]}
This would mean that a x axis is representing series in position 0 and 2 in the 
array return by flotChartInstance.getData().

Original issue reported on code.google.com by mail.rol...@gmail.com on 6 Dec 2011 at 10:17

GoogleCodeExporter commented 8 years ago
It's fairly easy to do this by iterating over the series as returned by 
getData.  So although I understand the request, I don't think it's worth adding 
clutter to the core library for this.

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 9:03