Question

What I got is this:

enter image description here

But I'd like to have the series name under each boxplot. Any way this can be done?

Boxplot charting with C# is quite frustrating.

Was it helpful?

Solution

Please add this code to the code of your previous question.

Chart.chart_main.ChartAreas["BoxPlot"].AxisX.LabelStyle.Angle = -90;

for (int i = 0; i < xValue.Count; i++)
{
    Chart.chart_main.ChartAreas["BoxPlot"].AxisX.CustomLabels.Add((i + 1)* 2d, 0.0, xValue[i]);
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top