anychart.onDocumentReady(function () {
var chart = anychart.area(data);
chart.listen("click", function () {
chart.shareWithFacebook("Sharing with Facebook sample", "anychart.com", "AnyChart Area Chart", "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");