# axis_label.js

var data1 = [
    {"name": "Jose", "value": 70},
    {"name": "Ronald", "value": 97},
    {"name": "Mark", "value": 36},
    {"name": "Denise", "value": 99},
    {"name": "Kelly", "value": 43},
    {"name": "Annie", "value": 88},
    {"name": "Pamela", "value": 50},
    {"name": "Lois", "value": 80},
    {"name": "Cheryl", "value": 43},
    {"name": "Brian", "value": 42}
];            

var options1 = {
    id: "chart",
    data: {
        plain: data1,
    }, 
    axis: {
        x: {
            label: {
                text: 'Username'
            }
        },
        y: {
            label: {
                text: 'Salary'
            }
        }
    },
};
var barChart = new C9.BarChart(options1);
barChart.draw();