凡例の系列の順序を変更するにはどうすればよいですか?
Line シリーズは StackedColumn シリーズの前に表示されますが、Column シリーズの後に表示されます。
Chart c = new Chart();
ChartArea ca = c.ChartAreas.Add("main");
Legend lg = c.Legends.Add("mainLegend");
Series s1 = c.Series.Add("s1");
s1.ChartType = ChartType.StackedColumn;
Series s2 = c.Series.Add("s2");
s2.ChartType = ChartType.Column;
Series s3 = c.Series.Add("s3");
s3.ChartType = ChartType.Line;
貧弱な ASCII アートを許してください。しかし、凡例は次のようになります。
……[黄] s2 ……[赤] s3 ……[青] s1 …………
s1、s2、s3の順番で行きたいとき。
何か案は?