Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2009
Bar Chart - Series label text is not showing in full
posted

Hi,

 I am creating a Bar Chart and setting its series label. But the series label text is somehow truncated.

The code and the generated chart is as follows:

NumericSeries numSeries = new NumericSeries();
       
numSeries.Points.Add(new NumericDataPoint(Convert.ToDouble(45), "Pass", false));
numSeries.Points.Add(new NumericDataPoint(Convert.ToDouble(75), "Unknown", false));
numSeries.Points.Add(new NumericDataPoint(Convert.ToDouble(45), "Fail", false));
numSeries.Label = "Y Axis Text";
myInfraChart.Series.Add(numSeries);

I want my series label text to always appear even if text labels are very large (they will be trunctaed in that case) and even when chart is 3D.

Thanks.

Parents
No Data
Reply Children