Exhibit/BarChart View

Exhibit Reference Home &raquo; To add bar charts to your exhibit, you must include the chart extension (after you include exhibit-api.js): &lt;script src="http://api.simile-widgets.org/exhibit/2.2.0/extensions/chart/chart-extension.js"&gt;&lt;/script&gt;

To include a barchar view, add to your HTML

&lt;div ex:role="view" ex:viewClass="Exhibit.BarChartView" ex:itemTypes=".type" ex:label="Bar Chart Title" ex:x=".aggregation_expression" ex:xLabel="X Axe Label" ex:y=".aggregation_expression" ex:yLabel="Y Axe Label"&gt; &lt;/div&gt; The  can be any valid expression, e.g. typically   or.

For an example see the Nobelist Exhibit.