Jonathan Diaz

heatmap with color ranges for each row

Recommended Posts


I would like to make a heat map that calculates the color ranges for each row separately



As shown in the image, that row number 1 has its own color range and row number 2 also has its own color range.

Ya que el rango de colores que me muestra es general toma en cuenta las dos filas.


Share this post

Link to post
Share on other sites



The Heatmap cells color is determined by the "colorRange" object that you define in your dataSource. Check this sample fiddle for reference :
Or you can explicitly set the color of the cells by defining the "color" configuration attribute within the individual "data" objects as below :
"rowid": "Samsung Galaxy S5",
"columnid": "Processor",
"value": "8.7",
"tllabel": "Quad Core 2.5 GHz",
"trlabel": "OS : Android 4.4 Kitkat",
"color": "#FF0000"




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now