anychart.onDocumentReady(function () {
var chart = anychart.pareto();
{x: 'Nail polish', value: 14814},
{x: 'Eyebrow pencil', value: 13012},
{x: 'Rouge', value: 16624},
{x: 'Lipstick', value: 8814},
{x: 'Eyeshadows', value: 12998},
{x: 'Eyeliner', value: 17321},
{x: 'Foundation', value: 10342},
{x: 'Lip gloss', value: 22998},
{x: 'Mascara', value: 19261}
var xGrid = chart.xGrid();
chart.title('Get and modify xGrid object');
chart.container('container');