我正在处理我希望两个轴都反转的代码。我的代码是
Dictionary<int, string> employees = new Dictionary<int, string>();
employees.Add(5, "Sell");
employees.Add(4, "Your Manegers");
employees.Add(3, "Your Peers");
employees.Add(2, "Your Direct Reports");
employees.Add(1, "Others");
Chart1.Series[0].ChartType = SeriesChartType.Bar;
Chart1.Series[0].Color = System.Drawing.Color.Green;
Chart1.Series[0].BorderColor = System.Drawing.Color.Yellow;
//Chart1.ChartAreas[0].AxisY.IsReversed = true;
Chart1.ChartAreas[0].AxisX.IsReversed = true;
Chart1.Series[0].XAxisType = AxisType.Secondary;
我想要这样的输出: