[수정] 일간 메모리 개별 카테고리 데이터 하나만 나옴

dev_bert
isol2011 3 years ago
parent e653bee47d
commit efe099b2b8

@ -74,7 +74,7 @@
<div class="container"> <div class="container">
<!-- conic-gradient(from 시작각도deg, 색상, 범위각도deg, 배경색(투명) 0) --> <!-- conic-gradient(from 시작각도deg, 색상, 범위각도deg, 배경색(투명) 0) -->
<#list model['time_list'] as item> <#list model['time_list'] as item>
<div id="p_${item['category']?replace("#", "")}" name="p_pie_color" class="data" style="background: conic-gradient(from ${item['start_degree']!}deg,${item['category']!} ${item['add_degree']!}deg, #00ff0000 0)"></div> <div id="p_${item['category']?replace("#", "")}" name="p_pie_color" class="data ${item['category']?replace("#", "")}" style="background: conic-gradient(from ${item['start_degree']!}deg,${item['category']!} ${item['add_degree']!}deg, #00ff0000 0)"></div>
</#list> </#list>
<span class="center"></span> <span class="center"></span>
</div> </div>
@ -138,7 +138,7 @@
var attr_id = $(e).attr("id"); var attr_id = $(e).attr("id");
$("div[name='p_pie_color']").hide(); $("div[name='p_pie_color']").hide();
$("#p_" + attr_id).show(); $("." + attr_id).show();
} }
function fncAllShowCategory(e) { function fncAllShowCategory(e) {

Loading…
Cancel
Save