Moviri / recline

A simple but powerful library for building data applications in pure Javascript and HTML.
http://reclinejs.com/
MIT License
2 stars 2 forks source link

Filter widget #8

Closed davidemalagoli closed 12 years ago

davidemalagoli commented 12 years ago

A new filter widget has to be created, proposal for interface parameters:

SourceData: is the dataset the filter is built on (e.g. period to be filtered) SourceField: array of field to be used for filtering MappingFieldSourceDestination: { date: "date_sum" } TargetDataset(s): the dataset (model) that receive the filtering (model.queryState.addFilter) ControlType: dropdownlist, multiselect, textbox, legend, slider, slider range, calendar, calendar range Label(s): for single field Title: ShowRecordsCount: based on facets Colors: optional, can be used to realize legend

I think that could be useful to use facets so we can use also dataset not built for filtering

giobaldac commented 12 years ago

Completed. Only color legend is missing, but it has a dedicated ticket