Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pivot table heatmaps #338

Closed
jason2591 opened this issue Jun 1, 2015 · 2 comments
Closed

pivot table heatmaps #338

jason2591 opened this issue Jun 1, 2015 · 2 comments

Comments

@jason2591
Copy link

I need to modify the heat maps colors for the pivot table and give a custom threshold value for the pivot table values. I have tried trolling through the pivot.js scripts but cant seem to find the function you are using to set the threshold values.

@nicolaskruchten
Copy link
Owner

The heatmap()function is here: https://github.com/nicolaskruchten/pivottable/blob/master/pivot.coffee#L867 but I'm not sure what you mean about "threshold" values... The system interpolates white to red between the highest and lowest values.

@nicolaskruchten
Copy link
Owner

You can now specify a custom color scale function, see the example here: http://nicolas.kruchten.com/pivottable/examples/montreal_2014.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants