|
|
|
@ -74,7 +74,7 @@
|
|
|
|
|
<div class="container">
|
|
|
|
|
<!-- conic-gradient(from 시작각도deg, 색상, 범위각도deg, 배경색(투명) 0) -->
|
|
|
|
|
<#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>
|
|
|
|
|
<span class="center"></span>
|
|
|
|
|
</div>
|
|
|
|
@ -138,7 +138,7 @@
|
|
|
|
|
var attr_id = $(e).attr("id");
|
|
|
|
|
|
|
|
|
|
$("div[name='p_pie_color']").hide();
|
|
|
|
|
$("#p_" + attr_id).show();
|
|
|
|
|
$("." + attr_id).show();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function fncAllShowCategory(e) {
|
|
|
|
|