Hi,
I'm using MigraDoc document object and I need to add a BarStacked2D in a table cell, but i didn't find a way to do it.
All i have for the moment :
Code:
Chart chart = table.Rows[1].Cells[2].AddChart(ChartType.BarStacked2D);
chart.Width = Unit.FromCentimeter(5);
chart.Height = Unit.FromCentimeter(6);
Series series = chart.SeriesCollection.AddSeries();
series.ChartType = ChartType.BarStacked2D;
series.Add(new double[] { 5});
but this code doesn't show a Barstacked2D, only a Bar 2D.
I also want to know if i can hide the chart.XAxis and chart.YAxis and only display the stacked bar in the cell
Thank you in advance for any help
regards