首页 > 慧问 > 频道

XtraReports评估版本的限制是什么?[XtraReports Suite]

发表于2019-05-10 回复:0 查看:1699  |  
XtraReports评估版本的限制是什么?
1个回答
  • 1970-01-01 08:00
    举个例子,自己体会。代码如下: <pre class='brush: csharp'><html> < head> < meta http-equiv="Content-Type" content="text/html; charset=utf-8"> < title>员工统计< /title> < link rel="stylesheet" href="style.css" type="text/css"> < script src="../amcharts/amcharts.js" type="text/javascript">< /script> < script type="text/javascript"> var chart; var chartData = [{ company: "总公司", visits: 654 }, { company: "广州", visits: 425 }, { company: "上海", visits: 209 }, { company: "深圳", visits: 122 }, { company: "长沙", visits: 22 }, { company: "南京", visits: 312 }, { company: "西安", visits: 233 }, { company: "福州", visits: 111 }] AmCharts.ready(function () { // PIE CHART chart = new AmCharts.AmPieChart(); // title of the chart chart.addTitle("员工统计", 16); chart.dataProvider = chartData; chart.titleField = "company"; chart.valueField = "visits"; chart.sequencedAnimation = true; chart.startEffect = "elastic"; chart.innerRadius = "30%"; chart.startDuration = 2; chart.labelRadius = 15; // the following two lines makes the chart 3D chart.depth3D = 10; chart.angle = 15; // WRITE chart.write("chartdiv"); }); < /script> < /head> < body> < div id="chartdiv" style="width:600px; height:400px;">< /div> < /body> < /html></pre>
    1
    回复 举报
回复

登录 慧都网发表评论

扫码咨询


添加微信 立即咨询

电话咨询

客服热线
023-68661681

TOP