dgets / lasttime

Keep track of date/dosage of medication administration history
4 stars 0 forks source link

Label graphs' horizontal axes correctly #106

Open dgets opened 5 years ago

dgets commented 5 years ago

Need to do a little bit more research on D3.js, I believe. The horizontal axes for the different graphed data are currently all just numbered with the integers starting at 1. While this is sufficient for anybody that's doing their own tabulation alongside whatever is displayed on the screen, there should definitely be some effort put into tagging, for instance, the applicable dates for each total dosage in the constrained per-diem dataview, along the horizontal axes.

dgets commented 5 years ago

Forgot to mention in the primary issue that the axes need to be labelled properly in the other, previously existing dataview views, as well. What's there really isn't cutting it (just an arbitrary numbering scheme). These usages should be labelled with date and time, or, in the case of the day-constrained view, just the date.

It'd be really nice at some point to be able to add the functionality to be able to color the bars in multiple colors to indicate what portion of the bar was at a different particular administration, but that will take some more in-depth research into D3.js, as well. Not even sure if it has that capability; should probably check to see if there's a D3 channel on IRC via freenode or something.