Fixed bug in flot library causing superimposing rather than stacking

14/10/16

Permalink 11:11:52 am, by sarneil, 99 words, 110 views   English (CA)
Categories: Activity Log; Mins. worked: 3600

Fixed bug in flot library causing superimposing rather than stacking

After many hours of labourious testing of the chart query and the code processing that into json data structures and then processing those for use by the flot library, I could confirm that I had an instance of the bug described at https://github.com/flot/flot/issues/1076 and working through that found the solution at
http://www.2general.com/blog/2012/05/30/flot_stacked_bar_chart.html
and the code snippet I needed at https://code.google.com/archive/p/flot/issues/247

I have patched the jquery.flot.stack.js file as instructed there, and the stacking now works properly.

Pingbacks:

No Pingbacks for this post yet...

Capital Trials at the Old Bailey

Simon Devereaux has approximately 10,000 records of people convicted in potentially capital cases between 1710 and 1840 in London heard at the Old Bailey court. This project will create a web-based database which will allow interested researchers and members of the public to compose queries on that data (e.g. women charged with robbery 1710-1720). It must be able to support a range of queries and produce output allowing researchers to identify trends in judicial practice over that time.

Reports

XML Feeds