Changeset 10981
- Timestamp:
- 06/11/14 13:36:16 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/DataCompletenessView.cs
r10979 r10981 39 39 if (Content != null) 40 40 { 41 //chart.PrePaint += chart_PrePaint;42 //chart.CustomizeLegend += chart_CustomizeLegend;43 41 InitData(); 44 42 } … … 46 44 47 45 48 /*49 void chart_CustomizeLegend(object sender, CustomizeLegendEventArgs e)50 {51 foreach (LegendItem li in e.LegendItems)52 {53 int label;54 int.TryParse(li.Cells[0].ToString(), out label);55 56 li.Cells[0].Text = "Banane";57 //li.Cells[0].Text = (label - Content.DataGridLogic.Rows).ToString();58 }59 }*/60 61 46 private void InitData() 62 47 { … … 79 64 { 80 65 chart.Titles.Add("DataCompletenessChart"); 66 chart.EnableDoubleClickResetsZoom = true; 81 67 chart.ChartAreas[0].AxisX.MajorGrid.LineWidth = 0; 82 68 chart.ChartAreas[0].AxisY.MajorGrid.LineWidth = 0; 83 69 chart.ChartAreas[0].AxisX.IsMarginVisible = false; 84 70 chart.ChartAreas[0].AxisY.IsMarginVisible = false; 71 chart.ChartAreas[0].CursorX.IsUserEnabled = true; 72 chart.ChartAreas[0].CursorX.IsUserSelectionEnabled = true; 73 chart.ChartAreas[0].CursorY.IsUserEnabled = true; 74 chart.ChartAreas[0].CursorY.IsUserSelectionEnabled = true; 85 75 //custom x axis label 86 76 double from = 0.5;
Note: See TracChangeset
for help on using the changeset viewer.