C#原生柏拉图画法,带源码,调用简单,也可以自己改造。
DataTable tb = new DataTable();
tb.Columns.Add("ITEM_NAME", typeof(string));
tb.Columns.Add("ITEM_VALUE", typeof(decimal));
tb.DefaultView.Sort = "item_value desc";
tb.Rows.Add(new object[] { "服务态度", 7.89 });
tb.Rows.Add(new object[] { "配合主动性", 6.82 });
tb.Rows.Add(new object[] { "工作认真严肃性", 3.2 });
tb.Rows.Add(new object[] { "工作时在位情况", 5.3 });
tb.Rows.Add(new object[] { "无菌操作的规范性", 2.84 });
tb.Rows.Add(new object[] { "手术物品准备", 4.89 });
tb.Rows.Add(new object[] { "抢救病人的应急能力", 5.89 });
tb.Rows.Add(new object[] { "对待病人的服务态度", 3.89 });
tb.Rows.Add(new object[] { "手术室管理", 2.2 });
this.ucPerato1.ReporTitle = "2018年下半年手术室护理工作问卷调查扣分率-柏拉图分析法";
this.ucPerato1.DataSource = tb;
this.ucPerato1.RefreshPerato();
1