- edited description
WASH Dashboard display broken
Seems also related to the onChange events
Comments (7)
-
reporter -
repo owner Please check this one too - see also
#884where I have made some substantive improvements to toilets component.The data strategy is changed - using the new
crossfilter.allFiltered()
see#842Also introduced
AnnotatedCrossfilter
class to package a cross filter with accessor functions - this can be supplied toRolColChart
as its data - so we just have totouch
to update the chart on an option change.So - considerably less code in here now! :)
-
repo owner - changed status to open
-
reporter Great stuff, is this something I should create an issue to port to other places (e.g. wash water component?!)
-
repo owner Yes, I hope you’d say that… ! The Washdashboard class is already setting up
xf3
, a crosstab based n the water table, and also setting up the filters on that. So, you can use that xf3 crossfilter to make yourAnnotatedCrossfilter
. Most of the refactoring will involve the specifi log to extract values, that now lives inmakeChartdata
, and move that to the valueAccessor function.You’ll probably notice I have been getting into the habit of strongly-typing more things, and annnotating class and members with comments, so the development experience is cleaner and easier.
-
reporter -
assigned issue to
-
assigned issue to
-
reporter - changed status to resolved
refactor(Charts): refactored WaterBySchool component to use AnnotatedCrossFilter
Resolves
#881→ <<cset 4768d4d8a6dd>>
- Log in to comment