This element is compatible with Polymer 0.5.
copied this guy: http://bl.ocks.org/tjdecke/5558084
Example:
<tcg-heatmap
yAxisLabels="{{ yAxisLabels }}"
xAxisLabels="{{ xAxisLabels }}"
bgColors="{{ bgColors }}"
textColors="{{ textColors }}"
data="{{ data }}"></tcg-heatmap>
Object to set margin around the heatmap. This will leave space for the axis labels and color key.
Number for the width of the entire element
Number for the height of the entire element
Number in milliseconds for the animation time
String for the class name
String for the class name
String for the class name
String for the class name
String for the class name
Array of strings for the x axis labels
Array of strings for the y axis labels
Array of strings for the heatmap cell colors. Ordered by smallest value to largest value
Array of strings for the heatmap text colors. Ordered by smallest value to largest value
Array: Example [{x: 0, y: 0, value: 20}]