# table_show.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,
    },
    table: {
        container: 'table', // id of element contain table
        show: true
    }
};
var barChart = new C9.BarChart(options);
barChart.draw();