mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 04:39:06 +02:00
no legend yet... :(
This commit is contained in:
parent
df4d2d2594
commit
74d3890ba9
@ -97,18 +97,6 @@
|
|||||||
'<% } %>',
|
'<% } %>',
|
||||||
'<%=value %>'
|
'<%=value %>'
|
||||||
].join(''),
|
].join(''),
|
||||||
legendTemplate: [
|
|
||||||
'<ul class="<% =name.toLowerCase() %>-legend">',
|
|
||||||
' <% for (var i=0; i<datasets.length; i++){ %>',
|
|
||||||
' <li>',
|
|
||||||
' <span style="background-color:<%=datasets[i].borderColor%>"></span>',
|
|
||||||
' <% if(datasets[i].label){ %>',
|
|
||||||
' <%=datasets[i].label %>',
|
|
||||||
' <% } %>',
|
|
||||||
' </li>',
|
|
||||||
' <% } %>',
|
|
||||||
'</ul>',
|
|
||||||
].join(''),
|
|
||||||
multiKeyBackground: '#fff',
|
multiKeyBackground: '#fff',
|
||||||
|
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user