anychart.onDocumentReady(function () {
var stage = anychart.graphics.create("container");
var pyramidChart = anychart.pyramid([
{x: "Physical", value: 125},
{x: "Data Link", value: 125},
{x: "Network", value: 125},
{x: "Transport", value: 125},
{x: "Session", value: 125},
{x: "Presentation", value: 125},
{x: "Application", value: 390, label: {anchor: "centerTop"}}
pyramidChart.labels({position: "inside"});
pyramidChart.legend(false);
pyramidChart.bounds(0, 20, "50%", "100%");
pyramidChart.hoverFill(function () {
return "rgba(135," + (40 * (this.index + 1) - 10) + ", 248, 0.6)";
pyramidChart.container(stage);
var funnelChart = anychart.funnel([10, 3, 7, 10, 5]);
funnelChart.labels({position: "inside"});
funnelChart.legend(false);
funnelChart.bounds("50%", 20, "50%", "100%");
var pieChartHoverFill = pyramidChart.hoverFill();
funnelChart.fill(pieChartHoverFill);
funnelChart.container(stage);
var customTitle = anychart.standalones.title();
customTitle.text("Get and use hoverFill.");
customTitle.container(stage);