Hi,
I need to draw an horizontal 2d bar in a table cell with MigraDoc 1.32.
I didn't find the proper way to draw an horizontal bar so i've cheated and i've created a 2d bar with a width of 100 points and a height of 9 points.
Is there another way to draw an horizontal bar ? also I didn't find a way to put a border around my 2d bar, How can i do that ?
Here is what i've done so far :
Code:
Table table = doc.LastSection.LastTable;
Chart chart = table.Rows[1].Cells[2].AddChart(MigraDoc.DocumentObjectModel.Shapes.Charts.ChartType.Bar2D);
chart.Width = Unit.FromPoint(100);
chart.Height = Unit.FromPoint(9);
chart.FillFormat.Color = Colors.MediumSeaGreen;
thank you in advance for your help