Hopefully this is appropriate for stackexchange. If not, my apologies.
Anyway, I have a set of data that is essentially a list of projects, the person tied to each project, and a year in which the project was started. What I'd like to do is render a bar chart that shows a total count of projects per individual, but somehow maintain the year in which an individual project was started so I can create a slider filter.
That sounds confusing, writing it out. The data looks like this:
[
['Project','PM','Year'],
['PRJ0001','John Doe','2012'],
['PRJ0002','John Doe','2012'],
['PRJ0003','Jackie Johnson','2013'],
Etc, etc,
]
I have no problem creating a count by project manager name, but I "lose" the year as a metric on which I can filter. Anyone have any ideas?
draw each control separately
use
data.group
to get counts per person and draw chartdraw the slider with the original data (need to change column type for
NumberRangeFilter
)redraw the chart on slider
'statechange'
using slider low / high values to build a view using
getFilteredRows
see following working snippet...