Closed HeuristicLab-Trac-Bot closed 12 years ago
QualityChartBug.hl
(507.2 KiB)I've also encountered this problem when working with older GP algorithm runs. It occurs when displaying all data tables and not only with the quality chart and that's why I think it is related to the changes in the
EnhancedChart
or theDataTableView
.
Thanks for reporting this issue. I looked into the problem and think I've found the cause. Actually the defect was introduced with changes made back in May. In the problematic change which is related to ticket #1465 I've added several visual properties to the
DataTable
, set to specific default values. I've missed adding these initializations to the storable constructor as well, as the deserializer does not use the default constructor for object initialization. All the new visual properties are set to their .Net defaults which creates an illegal configuration (axis interval set to 0-0). The storable constructor would need to also assign the default values. However another problem is that if you resaved such aDataTable
these values are now stored within the file. So, I would fix this in an AfterDeserialization hook and check if the respective properties are all set to their defaults in which case I can then reset them to the default values that they should have.I'll try to test and commit this tomorrow.
- Added some range checks in the
DataRowVisualPropertiesControl
- Added a check to prevent axis minimum and maximum equality to avoid a crash
- Added AfterDeserialization hooks to the visual properties to detect the illegal .Net default configuration
Thx for correcting this bug; everything works as expected.
Issue migrated from trac ticket # 1623
milestone: HeuristicLab 3.3.6 | component: Analysis | priority: highest | resolution: done
2011-08-18 16:33:25: @discostu105 created the issue