Opened 9 years ago

Closed 6 years ago

#11705 closed enhancement (wontfix)

[patch][ccla]Heatmap

Reported by: ruanqi Owned by: cjolif
Priority: high Milestone: future
Component: Charting Version: 1.5
Keywords: charting heatmap Cc: Adam Peller, deanw@…, rqruanqi@…, Tom Trenka
Blocked By: Blocking:

Description (last modified by Adam Peller)

A heatmap is a graphical representation of data where the values taken by a variable in a two-dimensional map are represented as colors. Heatmap in this patch only works with canvas-enabled browsers, and shaped heatmap is supported. User can customize color trasition function.

var heatmap = new dojox.geo.charting.Heatmap("map");
var data = [];
for (var i = 0; i < 120; i++) {
    data.push(getPoint());
}
heatmap.setData(data);
heatmap.render();

And there are 2 testcases in the patch.

http://bugs.dojotoolkit.org/raw-attachment/ticket/11705/heatmap.png http://bugs.dojotoolkit.org/raw-attachment/ticket/11705/shape_heatmap.png

Attachments (4)

heatmap.png (71.8 KB) - added by ruanqi 9 years ago.
Normal heatmap
customized_theme.png (67.8 KB) - added by ruanqi 9 years ago.
Heatmap with customized color theme
shape_heatmap.png (61.2 KB) - added by ruanqi 9 years ago.
Heatmap within a USA map shape
dojox-charting-heatmap.patch (7.4 KB) - added by Adam Peller 9 years ago.
updated patch from Rock/Qi? Ruan (IBM, CCLA)

Download all attachments as: .zip

Change History (13)

Changed 9 years ago by ruanqi

Attachment: heatmap.png added

Normal heatmap

Changed 9 years ago by ruanqi

Attachment: customized_theme.png added

Heatmap with customized color theme

Changed 9 years ago by ruanqi

Attachment: shape_heatmap.png added

Heatmap within a USA map shape

comment:1 Changed 9 years ago by Adam Peller

Cc: Adam Peller Tom Trenka added; apeller@… ttrenka@… removed

comment:2 Changed 9 years ago by Adam Peller

update from Rock:

  1. change heatmap to a generic widget, it can be overlaid on normal element by given node/id;
  2. introduce "opacity" parameter to see the node under heatmap;

comment:3 Changed 9 years ago by Adam Peller

Description: modified (diff)

Changed 9 years ago by Adam Peller

updated patch from Rock/Qi? Ruan (IBM, CCLA)

comment:4 Changed 8 years ago by Tom Trenka

Owner: changed from Eugene Lazutkin to Tom Trenka

Didn't quite realize where this patch was, taking it from Eugene.

comment:5 Changed 8 years ago by Tom Trenka

Based on the canvas-only approach, I don't think we can get this out for 1.6, particularly for dojox.charting (for which this was originally written). However, I *can* see taking the basic approach and using it as a basepoint for something a lot more generic.

In the future, I would recommend that if something can't be done using dojox.gfx (in terms of charting)...that we'd find a different place for it to live until it *can* be done using gfx.

comment:6 Changed 8 years ago by bill

Milestone: tbdfuture

Marking for future (i.e. until we get a patch that runs on IE), as per today's meeting discussion.

comment:7 Changed 8 years ago by Chris Mitchell

Owner: changed from Tom Trenka to cjolif

comment:8 Changed 7 years ago by cjolif

As ttrenka said, I think it should be moved out of charting into its own module. It should be moved to AMD as well.

comment:9 Changed 6 years ago by Kitson Kelly

Resolution: wontfix
Status: newclosed

Should be a community module/package instead of being added to DojoX at this point.

Note: See TracTickets for help on using tickets.