Opening the Gaps

removing the clutter

Thu, 13 Jan 2011 12:01:00 +0000

AnyDice uses jqPlot – a neat jQuery plugin – to render its graphs. Unfortunately, one of the things this plugin didn't yet support was gaps in graph lines. My workaround was to collapse the graph lines straight down to zero when a gap starts, and shoot back up when the gap ends. Although this worked, it seriously cluttered the display.

Fortunately, jqPlot has been supporting gaps for a while now, so it's high time I updated AnyDice to take advantage of that. Here's a normal and at-least example of how it looks now.

And here's how it used to be.

Quite an improvement, isn't it?

comments are closed