Skip to content

Commit

Permalink
Change character of holiday
Browse files Browse the repository at this point in the history
  • Loading branch information
yuecen committed Dec 27, 2014
1 parent ca732c8 commit 2ca577d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions lib/cal-heatmap/cal-heatmap.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
}

.subdomain-text {
font-size: 8px;
font-weight: bold;
fill: #ae5fae;
font-size: 7px;
/*font-weight: bold;*/
fill: #b51c7c;
pointer-events: none
}

Expand Down
8 changes: 4 additions & 4 deletions router.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,14 @@ myapp.directive('resizable', function($window, $timeout) {
tooltip: true,
subDomainTitleFormat: {
empty: "沒有數據, {date}",
filled: "流量:{people} <BR>日期:{date} <BR><font color=#ae5fae>{holiday_name}</font>"
filled: "流量:{people} <BR>日期:{date} <BR><font color=#b51c7c>{holiday_name}</font>"
},
subDomainDateFormat: function(date) {
return date.getFullYear() + "/" + (date.getMonth() + 1) + '/' + date.getDate();
},
subDomainTextFormat: function(date ,value) {
if (holiday[date.getFullYear() + "/" + (date.getMonth() + 1) + '/' + date.getDate()] != null) {
return "";
return "";
}
}
});
Expand Down Expand Up @@ -192,14 +192,14 @@ myapp.controller('day_ctrl', function ($http, $q, $window) {
tooltip: true,
subDomainTitleFormat: {
empty: "沒有數據, {date}",
filled: "流量:{people} <BR>日期:{date} <BR><font color=#ae5fae>{holiday_name}</font>"
filled: "流量:{people} <BR>日期:{date} <BR><font color=#b51c7c>{holiday_name}</font>"
},
subDomainDateFormat: function(date) {
return date.getFullYear() + "/" + (date.getMonth() + 1) + '/' + date.getDate();
},
subDomainTextFormat: function(date ,value) {
if (holiday[date.getFullYear() + "/" + (date.getMonth() + 1) + '/' + date.getDate()] != null) {
return "";
return "";
}
}
});
Expand Down

0 comments on commit 2ca577d

Please sign in to comment.