smallAreaHealthStatisticsUnit / rapidInquiryFacility

The Rapid Inquiry Facility (RIF) helps epidemiologists and public health researchers in environmental health activities.
GNU Lesser General Public License v3.0
14 stars 5 forks source link

D3 graphs; todo #134

Open peterhambly opened 5 years ago

peterhambly commented 5 years ago

Still to do:

  1. Convert to info and viewer risk graphs to using common version with a single data source. Rename rifd-util-d3riskGraph3.js to rifd-util-d3riskGraph.js and remove rifd-util-d3riskGraph2.js;
  2. Fix info scaler to use d3.select("#???????").node().getBoundingClientRect().height/width. This removes a known bug. Also test with window resizing;
  3. Remove non d3 code from rifs-util-d3charts.js (functionality now in rifd-util-d3riskGraph3.js), rename to rifs-util-d3riskgraph.js;
  4. Convert rr-zoom, dist-histo and pyramid directive so the d3 code is in a utils service and now use same the methods as rifd-util-d3riskGraph.js. Resizing should now work!
  5. Remove rrZoomReset anti memory leak functionality. It should no longer be needed;
  6. Multiple redraws in the mapping panes should be remove when the fetch code is all converted to use promises;
  7. Add rr-zoom, dist-histo and pyramid to the info modal;
  8. Add "NONE" to second gender selector in info risk graph. The work around is to set both to the same;