Apurva

Heatmap with Null/blank values

Recommended Posts

Hi Team, 

I'm using heatmap with% values and get blank Or null values where Numerator/denominator= 0/0 =null, I want to see these nulls having a color say Grey Or a text that says 'NA'. I even added 'NA' in the my dataset for nulls but still heatmap shows a blank cell. Please suggest a solution. 

Thanks

Apurva

Edited by Apurva
Spelling mistake

Share this post


Link to post
Share on other sites
On 5/12/2021 at 9:28 PM, Apurva said:

Thank you Akash for quick response! 

I've gone through the documentation and unterstood the concept but I need to show a value inside the blank cell for users to know it's a blank/null value. 

Is there a way to show some text or anything inside blank cell? 

 

On 5/12/2021 at 9:28 PM, Apurva said:

 

Thanks

Apurva

 

Share this post


Link to post
Share on other sites

Hi Apurva,

 

You can set "showValue" to "1" for the cells you want to show values. Also there is an option to set any custom string for individual cells by defining the "displayValue" configuration attribute within each "data" objects.

Sample fiddle for reference : http://jsfiddle.net/akp3mwj5/3/

 

Thanks,

Akash.

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