Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //replace line 939 with this for the hunt drop records to show a precision up to 2 decimal places (& the full item name with smaller text, it may be a bit small when there's less items though)
- legendTemplate: "<ul class=\"<%=name.toLowerCase()%>-legend\" style=\"padding:0; text-align:right\"><% for (var i=0; i<segments.length; i++){%><li style=\"margin-left:0px;list-style:none; font-size:9.88px\"><%if(segments[i].label){%><%=segments[i].label%> - <%=(segments[i].value/total*100).toFixed(2)%>%<%}%></li><%}%><br/>Total: <%=total%></ul>"
- //add to line 971, just to make the list & chart a bit more readable by sorting by drop rate
- pieData.sort(function(a,b){return b.value-a.value})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement