# legend_hide.js

var data = [
    {name: "A", value: .0245},
    {name: "B", value: .01492},
    {name: "C", value: .02782},
    {name: "D", value: .04253},
    {name: "E", value: .01},
    {name: "F", value: .02288},
    {name: "G", value: .02015},
    {name: "H", value: .06094},
    {name: "I", value: .5},
];

var options = {
    id: "chart",
    data: {
        plain: data
    },
    legend: {
        show: false
    }
};

var barChart = new C9.BarChart(options);
    barChart.draw();