Added histogram support to the Plotter widget.

The plotter's graphie-related code remains a mess.
Visual feedback appreciated.

Test Plan:
Created items with histograms, saved JSON, successfully reloaded.

Auditors: eater