anychart.onDocumentReady(function () {
var chart = anychart.area(data);
chart.listen("click", function () {
chart.shareWithFacebook({caption:"Sharing with Facebook sample", link: "anychart.com", name: "AnyChart Area Chart", description: "The sample of an Area Chart created with AnyChart"});
chart.title("Share the chart with Facebook with settings adjusted");
chart.xAxis().title("Month");
chart.yAxis().title("Sales");
chart.container("container");