c# - How to set individual bar color in excel chart using epplus -
i want set individual bar color of bar chart in excel using epplus. please see below code.
excelworksheet wsgraph = pck.workbook.worksheets.add("graph"); wsgraph.cells["d2"].loadfromdatatable(dtgraph, true); excelbarchart chat =(excelbarchart) wsgraph.drawings.addchart("status", echarttype.barclustered); chat.title.text= "tickets status"; chat.setposition(1, 0, 3, 0); chat.setsize(500, 300); chat.series.add(wsgraph.cells["e3:e8"], wsgraph.cells["d3:d8"]);
i want type chart.also set series gap , bar height , width.
Comments
Post a Comment