所以这是我的div我需要“数据百分比”把php文件输出
<div data-ui-jp="easyPieChart" class="easyPieChart" data-redraw='true' data-percent="1" data-ui-options="{
percent: 100,
lineWidth: 10,
trackColor: 'rgba(0,0,0,0.05)',
barColor: '#4BC0C0',
scaleColor: 'transparent',
size: 250,
scaleLength: 0,
lineCap: 'butt',
animate:{
duration:10,
enabled:true
}
}">
但是,当我这样做只是螺丝一切行动,将文件输出的PHP文件从0-100号码,以便我能有这样
本的替代方案是什么,我试图
data-percent=" <?php include('tlp.php');?>"
TLP.php文件代码:
http://pastebin.com/d3EPGT6j
你试过什么? –
显示您的'tlp.php'文件代码 – Afsar
这很好,你包括在数据百分比,也许你是小数点后得到更多然后2digits,所以围绕价值 – Afsar