Hi Nick,

We don't have any direct support for heatmaps in Google Charts.  However,
it is similar to a stacked column chart, with bar.gap = 0.  You'd have to
specify the color of each cell since it wouldn't do that itself.  We also
don't have any colorbar available independent of the few charts that
support it.

Another option is to use the Graph3d charts documented here:
http://almende.github.io/chap-links-library/js/graph3d/doc/
These use the Google Charts data structures and API for setting up the
datatable and options.   Using the 3D surface plot, turn off the
perspective, and rotate the view until it is on top of the z axis and you
get a heatmap.


On Mon, Sep 18, 2017 at 2:10 PM, Nick Dunbar <[email protected]> wrote:

> Hi,
>
> Is there any way of adapting the existing API to produce a heatmap like
> the attached image? I'm sure this must be possible somehow.
>
> All suggestions appreciated.
>
> Nick
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to google-visualization-api@
> googlegroups.com.
> Visit this group at https://groups.google.com/
> group/google-visualization-api.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-visualization-api/49cbafdd-7679-4bff-bc98-
> 726c72216f4e%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/49cbafdd-7679-4bff-bc98-726c72216f4e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   5CC, Cambridge MA

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJM4QZKHWBUsk0j%3D0QDGzjUSbucxg14JXEwddD%3DVROt9WA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to