- Timestamp:
- 07/31/15 08:36:14 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PerformanceComparison/HeuristicLab.Analysis.Views/3.3/IndexedDataTableView.cs
r12808 r12822 55 55 chart.CustomizeAllChartAreas(); 56 56 chart.ChartAreas[0].CursorX.Interval = 1; 57 chart.SuppressExceptions = true; 57 58 } 58 59 … … 246 247 a.Maximum = double.NaN; 247 248 } 248 // chart controls handle log scaling problems not in a graceful way 249 if (chart.Series.Any(x => x. XAxisType == AxisType.Primary && (x.Points.Count == 0 || x.Points.Any(y => y.XValue <= 0))))249 250 if (chart.Series.Any(x => x.Enabled && x.XAxisType == AxisType.Primary && (x.Points.Count == 0 || x.Points.Any(y => y.XValue <= 0)))) 250 251 area.AxisX.IsLogarithmic = false; 251 252 else area.AxisX.IsLogarithmic = Content.VisualProperties.XAxisLogScale; 252 if (chart.Series.Any(x => x. XAxisType == AxisType.Secondary && (x.Points.Count == 0 || x.Points.Any(y => y.XValue <= 0))))253 if (chart.Series.Any(x => x.Enabled && x.XAxisType == AxisType.Secondary && (x.Points.Count == 0 || x.Points.Any(y => y.XValue <= 0)))) 253 254 area.AxisX2.IsLogarithmic = false; 254 255 else area.AxisX2.IsLogarithmic = Content.VisualProperties.SecondXAxisLogScale; 255 256 256 if (chart.Series.Any(x => x. YAxisType == AxisType.Primary && (x.Points.Count == 0 || x.Points.Any(y => y.YValues.Min() <= 0))))257 if (chart.Series.Any(x => x.Enabled && x.YAxisType == AxisType.Primary && (x.Points.Count == 0 || x.Points.Any(y => y.YValues.Min() <= 0)))) 257 258 area.AxisY.IsLogarithmic = false; 258 259 else area.AxisY.IsLogarithmic = Content.VisualProperties.YAxisLogScale; 259 if (chart.Series.Any(x => x. YAxisType == AxisType.Secondary && (x.Points.Count == 0 || x.Points.Any(y => y.YValues.Min() <= 0))))260 if (chart.Series.Any(x => x.Enabled && x.YAxisType == AxisType.Secondary && (x.Points.Count == 0 || x.Points.Any(y => y.YValues.Min() <= 0)))) 260 261 area.AxisY2.IsLogarithmic = false; 261 262 else area.AxisY2.IsLogarithmic = Content.VisualProperties.SecondYAxisLogScale;
Note: See TracChangeset
for help on using the changeset viewer.