Change trackFormatter so that mouse over the pie-chart color shows the domain/TLD name also with the value. Thanks to Jeetendra Poojari for the patch.

This commit is contained in:
Darold Gilles 2013-12-02 19:15:01 +01:00
parent 6cc9a81d4b
commit 2982b80964

View File

@ -3702,7 +3702,7 @@ sub flotr2_piegraph
}, },
mouse: { mouse: {
track: true, track: true,
trackFormatter: function(obj){ return obj.y }, trackFormatter: function(obj){ return obj.series.label +' (' + obj.y +')'; },
}, },
legend: { legend: {
position: "sw", position: "sw",