Пример #1
0
 private void Chart1_CustomizeMapAreas(object sender, CustomizeMapAreasEventArgs e)
 {
     // Remove all tooltips of the data points with negative Y values
     if (ShowCustomized.Checked)
     {
         foreach (MapArea item in e.MapAreaItems)
         {
             if (item.ToolTip.StartsWith("-"))
             {
                 item.ToolTip = "(" + item.ToolTip.Substring(1) + ")";
             }
         }
     }
 }
 private void Chart1_CustomizeMapAreas(object sender, CustomizeMapAreasEventArgs e)
 {
     // Remove all tooltips of the data points with negative Y values
     if(ShowCustomized.Checked)
     {
         foreach(MapArea item in e.MapAreaItems)
         {
             if(item.ToolTip.StartsWith("-"))
             {
                 item.ToolTip = "(" + item.ToolTip.Substring(1) + ")";
             }
         }
     }
 }
 protected void Chart1_CustomizeMapAreas(object sender, CustomizeMapAreasEventArgs e)
 {
     foreach (MapArea m in e.MapAreaItems)
     {
     }
 }