how can I change forecolor of a chart label?
问题 how can i change the fore color of the chart labels? here's a screenshot of the chart i tried using the chart1.series[0].FontForeColor = color.white; but the entire chart turns white. 回答1: Try this: this.chart1.BackColor = Color.AliceBlue; this.chart1.ChartAreas[0].AxisX.LineColor = Color.Red; this.chart1.ChartAreas[0].AxisX.MajorGrid.LineColor = Color.Red; this.chart1.ChartAreas[0].AxisX.LabelStyle.ForeColor = Color.Red; this.chart1.ChartAreas[0].AxisY.LineColor = Color.Red; this.chart1