diff --git a/assets/js/components/Graph.js b/assets/js/components/Graph.js
index 8a4bc43..cf7677f 100644
--- a/assets/js/components/Graph.js
+++ b/assets/js/components/Graph.js
@@ -22,12 +22,12 @@ function Chart(element, showPrimary, showSecondary) {
var pageviewTip = d3.tip()
.attr('class', 'd3-tip')
- .html((d) => '' + numbers.formatWithComma(d.Value) + '' + ' pageviews')
+ .html((d) => '
'+ d.Label +'
' + numbers.formatWithComma(d.Value) + '' + ' pageviews')
.offset([-12, 0]);
var visitorTip = d3.tip()
.attr('class', 'd3-tip')
- .html((d) => '' + numbers.formatWithComma(d.Value) + '' + ' visitors' )
+ .html((d) => ''+ d.Label +'
' + numbers.formatWithComma(d.Value) + '' + ' visitors' )
.offset([-12, 0]);
var graph = d3.select('#graph');
diff --git a/assets/sass/_graphs.scss b/assets/sass/_graphs.scss
index 0cca83e..0e3a803 100644
--- a/assets/sass/_graphs.scss
+++ b/assets/sass/_graphs.scss
@@ -46,6 +46,10 @@ rect:hover {
pointer-events: none;
}
+.d3-tip h5 {
+ color: #CCC;
+}
+
.d3-tip span {
color: lightgreen;
}