oesmith/morris.js — Issue #35: Ability to display intervals below x-axis, "units of" and legend
Author: turboteddy
Created: 2012-03-07 20:38:13+00:00
State: open

First of all: Thanks for a great piece of work!

I am currently writing a thesis, and have found morris.js very useful to visualize data along a time axis. However, there are few features that I really miss:

# I'd like to display periodic intervals with a text label. Example: I want to visualize the effect that changing licensing schemes have on community size (number of active community members). Say license A was used for 3 years, license B for 4 years and so on. One alternative would be to display events (i.e. introduction of new license) as a bullet below the x-axis, another to (supplementary) to visualize the intervals somehow (e.g. with borders), and a third to extend the bullets below the x-axis with vertical lines that cross the x-axis and graphs.

#Another nice feature would be if one could display large numbers along small ones (e.g. by displaying the large ones in thousands or millions). Of course, one can manipulate the data before putting them into a js / json format. But then the data becomes harder to use for other purposes, and labels only show values in thousands / millions.

#An optional legend that explains which colored graphs correspond to which types of values (similar to tooltip, but which is displayed regardless of mouse position). This would extend the possible utility to publishing.