Hi,
How can I set the width of data label.
For example, in these charts, I want the 260;44% in a single line, but I don't know how set the width.
I try this:
IOfficeChartSerie serie = chart.Series.Add("Serie");
serie.Values = chart.ChartData[2, 2, tmpDatosChart.Count + 2, 2];
serie.CategoryLabels = chart.ChartData[2, 1, tmpDatosChart.Count + 2, 1];
serie.DataPoints.DefaultDataPoint.DataLabels.Layout.ManualLayout.WidthMode = LayoutModes.factor;
serie.DataPoints.DefaultDataPoint.DataLabels.Layout.ManualLayout.Width = 400;
But I doesn't work
Thanks