2011-03-11 4 views

答えて

1

イベント(OnCustomize = "chart_Customize")をカスタマイズチャートを使用します。

protected void monthchart_Customize(object source, EventArgs e) 
{ 
    foreach (CustomLabel cl in chart.ChartAreas[0].AxisX.CustomLabels) 
    { 
     if (cl.Text == "rightcolumnname") 
     { 
      cl.ForeColor = Color.Gold; 
     } 
    } 

}