👍:0
Sure, just use another if statement, for example:
tooltipTemplate: "<%if(label){%><%=label%> <%}%>(<%=value%>
<%if(value != 1){%>votes<%}else{%>vote<%}%>)"
👍:0
Sure, just use another if statement, for example:
tooltipTemplate: "<%if(label){%><%=label%> <%}%>(<%=value%>
<%if(value != 1){%>votes<%}else{%>vote<%}%>)"