Skip to content

Commit

Permalink
Releasing 3.3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Dec 3, 2013
1 parent 12ebf1f commit da6b304
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog

## v3.3.10 [2013-12-03]

* [fix] Fix #58 Legend colors are shifted
* [fix] Fix #62 Bug when calendar container already have a style attribute

## v3.3.9 [2013-11-24]

* [new] Fix hidden day cells for leap year in some domain/subDomainc configuration
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Expand Up @@ -7,7 +7,7 @@
"d3js",
"heat map"
],
"version": "3.3.9",
"version": "3.3.10",
"main": ["./cal-heatmap.js", "./cal-heatmap.css"],
"dependencies": {
"d3": ">= v3.0.6"
Expand Down
9 changes: 6 additions & 3 deletions cal-heatmap.js
@@ -1,4 +1,4 @@
/*! cal-heatmap v3.3.9 (Sun Nov 24 2013 15:00:55)
/*! cal-heatmap v3.3.10 (Tue Dec 03 2013 19:30:01)
* ---------------------------------------------
* Cal-Heatmap is a javascript module to create calendar heatmap to visualize time series data
* https://github.com/kamisama/cal-heatmap
Expand Down Expand Up @@ -589,7 +589,10 @@ var CalHeatMap = function() {
self.root = d3.select(self.options.itemSelector).append("svg").attr("class", "cal-heatmap-container");

self.tooltip = d3.select(self.options.itemSelector)
.attr("style", d3.select(self.options.itemSelector).attr("style") + "position:relative;")
.attr("style", function() {
var current = d3.select(self.options.itemSelector).attr("style");
return (current !== null ? current : "") + "position:relative;";
})
.append("div")
.attr("class", "ch-tooltip")
;
Expand Down Expand Up @@ -1372,7 +1375,7 @@ CalHeatMap.prototype = {
return options.legendColors.overflow;
}

return parent.legendScale(Math.min(d.v, options.legend[options.legend.length-2]));
return parent.legendScale(Math.min(d.v, options.legend[options.legend.length-1]));
});
}

Expand Down
6 changes: 3 additions & 3 deletions cal-heatmap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cal-heatmap.source-map.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "cal-heatmap",
"version": "3.3.9",
"version": "3.3.10",
"description": "Cal-Heatmap is a javascript module to create calendar heatmap to visualize time series data",
"keywords": [
"calendar",
Expand Down Expand Up @@ -28,7 +28,6 @@
"karma-qunit": "~0.1.0",
"grunt-karma-coveralls": "~2.0.2",
"grunt-contrib-watch": "~0.5.3",
"karma-phantomjs-launcher": "0.0.2",
"phantomjs": "~1.9.1-0",
"grunt-contrib-qunit": "~0.3.0"
},
Expand Down

0 comments on commit da6b304

Please sign in to comment.