ChartDirector C# Demo

上传者: 21533697 | 上传时间: 2022-05-28 20:22:45 | 文件大小: 1.38MB | 文件类型: RAR
ChartDirector C# Demo 饼图,柱状等 有Demo就是好 // The data for the chart double[] data = {5.5, 3.5, -3.7, 1.7, -1.4, 3.3}; string[] labels = {"Jan", "Feb", "Mar", "Apr", "May", "Jun"}; // Create a XYChart object of size 200 x 190 pixels XYChart c = new XYChart(200, 190); // Set the plot area at (30, 20) and of size 140 x 140 pixels c.setPlotArea(30, 20, 140, 140); // Configure the axis as according to the input parameter if (img == "0") { c.addTitle("No Axis Extension", "Arial", 8); } else if (img == "1") { c.addTitle("Top/Bottom Extensions = 0/0", "Arial", 8); // Reserve 20% margin at top of plot area when auto-scaling c.yAxis().setAutoScale(0, 0); } else if (img == "2") { c.addTitle("Top/Bottom Extensions = 0.2/0.2", "Arial", 8); // Reserve 20% margin at top and bottom of plot area when auto-scaling c.yAxis().setAutoScale(0.2, 0.2); } else if (img == "3") { c.addTitle("Axis Top Margin = 15", "Arial", 8); // Reserve 15 pixels at top of plot area c.yAxis().setMargin(15); } else { c.addTitle("Manual Scale -5 to 10", "Arial", 8); // Set the y axis to scale from -5 to 10, with ticks every 5 units c.yAxis().setLinearScale(-5, 10, 5); } // Set the labels on the x axis c.xAxis().setLabels(labels); // Add a color bar layer using the given data. Use a 1 pixel 3D border for the // bars. c.addBarLayer3(data).setBorderColor(-1, 1); // Output the chart viewer.Image = c.makeWebImage(Chart.PNG); // Include tool tip for the chart viewer.ImageMap = c.getHTMLImageMap("", "", "title='ROI for {xLabel}: {value}%'")

文件下载

资源详情

[{"title":"( 506 个子文件 1.38MB ) ChartDirector C# Demo","children":[{"title":"netchartdir.dll <span style='color:#111;'> 752.00KB </span>","children":null,"spread":false},{"title":"netchartdir.xml <span style='color:#111;'> 842.87KB </span>","children":null,"spread":false},{"title":"web.config <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"jsclick.aspx <span style='color:#111;'> 4.78KB </span>","children":null,"spread":false},{"title":"simpleradar.aspx <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

  • xuxinl :
    说我下过了,好像是没有啥用!!
    2019-04-05
  • cfxing123123 :
    居然是发布后的项目,想学习动态的,没啥用啊
    2016-06-28
  • mengcheng86 :
    不知道为什么,无法下载,点击下载后,分也扣了,就是不弹出下载窗口
    2015-04-25

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明