Changeset 9149
- Timestamp:
- 01/11/13 17:28:51 (12 years ago)
- Location:
- branches/CMAES/HeuristicLab.Analysis.Views/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CMAES/HeuristicLab.Analysis.Views/3.3/DataTableView.cs
r9141 r9149 505 505 break; 506 506 default: { 507 bool yLogarithmic = series.YAxisType == AxisType.Primary 508 ? Content.VisualProperties.YAxisLogScale 509 : Content.VisualProperties.SecondYAxisLogScale; 510 bool xLogarithmic = series.XAxisType == AxisType.Primary 511 ? Content.VisualProperties.XAxisLogScale 512 : Content.VisualProperties.SecondXAxisLogScale; 507 513 for (int i = 0; i < row.Values.Count; i++) { 508 514 var value = row.Values[i]; 509 DataPointpoint = new DataPoint();510 point.XValue = row.VisualProperties.StartIndexZero ? i : i + 1;511 if (IsInvalidValue(value) )515 var point = new DataPoint(); 516 point.XValue = row.VisualProperties.StartIndexZero && !xLogarithmic ? i : i + 1; 517 if (IsInvalidValue(value) || (yLogarithmic && value <= 0)) 512 518 point.IsEmpty = true; 513 519 else -
branches/CMAES/HeuristicLab.Analysis.Views/3.3/HeuristicLab.Analysis.Views-3.3.csproj
r9141 r9149 184 184 <DependentUpon>ScatterPlotDataRowVisualPropertiesControl.cs</DependentUpon> 185 185 </Compile> 186 <Compile Include="ScatterPlotView.cs"> 187 <SubType>UserControl</SubType> 188 </Compile> 186 <Compile Include="ScatterPlotView.cs" /> 189 187 <Compile Include="ScatterPlotView.Designer.cs"> 190 188 <DependentUpon>ScatterPlotView.cs</DependentUpon> 191 189 </Compile> 192 <Compile Include="ScatterPlotHistoryView.cs"> 193 <SubType>UserControl</SubType> 194 </Compile> 190 <Compile Include="ScatterPlotHistoryView.cs" /> 195 191 <Compile Include="ScatterPlotHistoryView.Designer.cs"> 196 192 <DependentUpon>ScatterPlotHistoryView.cs</DependentUpon> 197 193 </Compile> 198 194 <None Include="Plugin.cs.frame" /> 199 <Compile Include="AlleleFrequencyCollectionView.cs"> 200 <SubType>UserControl</SubType> 201 </Compile> 195 <Compile Include="AlleleFrequencyCollectionView.cs" /> 202 196 <Compile Include="AlleleFrequencyCollectionView.Designer.cs"> 203 197 <DependentUpon>AlleleFrequencyCollectionView.cs</DependentUpon> … … 221 215 <DependentUpon>DataTableVisualPropertiesDialog.cs</DependentUpon> 222 216 </Compile> 223 <Compile Include="HeatMapHistoryView.cs"> 224 <SubType>UserControl</SubType> 225 </Compile> 217 <Compile Include="HeatMapHistoryView.cs" /> 226 218 <Compile Include="HeatMapHistoryView.Designer.cs"> 227 219 <DependentUpon>HeatMapHistoryView.cs</DependentUpon> 228 220 </Compile> 229 <Compile Include="DataTableHistoryView.cs"> 230 <SubType>UserControl</SubType> 231 </Compile> 221 <Compile Include="DataTableHistoryView.cs" /> 232 222 <Compile Include="DataTableHistoryView.Designer.cs"> 233 223 <DependentUpon>DataTableHistoryView.cs</DependentUpon> 234 224 </Compile> 235 <Compile Include="HeatMapView.cs"> 236 <SubType>UserControl</SubType> 237 </Compile> 225 <Compile Include="HeatMapView.cs" /> 238 226 <Compile Include="HeatMapView.Designer.cs"> 239 227 <DependentUpon>HeatMapView.cs</DependentUpon> 240 228 </Compile> 241 <Compile Include="AlleleFrequencyView.cs"> 242 <SubType>UserControl</SubType> 243 </Compile> 229 <Compile Include="AlleleFrequencyView.cs" /> 244 230 <Compile Include="AlleleFrequencyView.Designer.cs"> 245 231 <DependentUpon>AlleleFrequencyView.cs</DependentUpon> 246 232 </Compile> 247 <Compile Include="AlleleFrequencyCollectionHistoryView.cs"> 248 <SubType>UserControl</SubType> 249 </Compile> 233 <Compile Include="AlleleFrequencyCollectionHistoryView.cs" /> 250 234 <Compile Include="AlleleFrequencyCollectionHistoryView.Designer.cs"> 251 235 <DependentUpon>AlleleFrequencyCollectionHistoryView.cs</DependentUpon> … … 253 237 <Compile Include="Plugin.cs" /> 254 238 <Compile Include="Properties\AssemblyInfo.cs" /> 255 <Compile Include="DataTableView.cs"> 256 <SubType>UserControl</SubType> 257 </Compile> 239 <Compile Include="DataTableView.cs" /> 258 240 <Compile Include="DataTableView.Designer.cs"> 259 241 <DependentUpon>DataTableView.cs</DependentUpon>
Note: See TracChangeset
for help on using the changeset viewer.