anychart.onDocumentReady(function () {
{x: "2010", y: "A", heat: 15},
{x: "2011", y: "A", heat: 17},
{x: "2012", y: "A", heat: 21},
{x: "2013", y: "A", heat: 23},
{x: "2010", y: "B", heat: 34},
{x: "2011", y: "B", heat: 33},
{x: "2012", y: "B", heat: 32},
{x: "2013", y: "B", heat: 30},
{x: "2010", y: "C", heat: 43},
{x: "2011", y: "C", heat: 42},
{x: "2012", y: "C", heat: 40},
{x: "2013", y: "C", heat: 38},
{x: "2010", y: "D", heat: 8},
{x: "2011", y: "D", heat: 8},
{x: "2012", y: "D", heat: 7},
{x: "2013", y: "D", heat: 8}
var chart = anychart.heatMap(data);
var customColorScale = anychart.scales.ordinalColor();
customColorScale.ranges([
customColorScale.colors(["lightgray", "#00ccff", "#ffcc00"]);
chart.colorScale(customColorScale);
chart.title("Heat Map: Color Scale (Ordinal)");
chart.container("container");