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

Heatmap custom colors #449

Closed
Dave3of5 opened this issue Mar 10, 2016 · 4 comments
Closed

Heatmap custom colors #449

Dave3of5 opened this issue Mar 10, 2016 · 4 comments

Comments

@Dave3of5
Copy link

Anyone know if there is an easy way to define custom colors for the heatmap render?

I've never used d3 / c3 unfortunately.

@nicolaskruchten
Copy link
Owner

There is no particularly easy way other than editing the heatmap function at the bottom of pivot.coffee

@nicolaskruchten
Copy link
Owner

(which is not written in c3/d3, but rather jQuery)

@Dave3of5
Copy link
Author

Ok thanks I see this now :-).

@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