Closed HeuristicLab-Trac-Bot closed 7 years ago
r14435 Added new
ToolStripMenuItem
to the chart forDataTableView
andScatterPlotView
to open the configuration dialog.
r14436 Pre-commited changes of VS auto-generated code for easier review later. (re-ordering of control initialization, ...)
r14437 Added a "isVisibleInLegendCheckBox" for data rows in
DataTables
.
r14438 Hide the chart-title if the title is empty (to avoid unnecessary empty space)
r14439 Moved the charting logic out of
DataTableView
andScatterPlotView
into newDataTableControl
andScatterPlotControl
. This way, the new controls can be reused without the name-textbox etc from theNamedItemView
base class.
r14493 Added option in the
ScatterPlotControl
to show a regression curve for aScatterPlotDataRow
(linear, poly, exp, log, pow).
r14516 Fixed a charting issue that wrongly interprets scatterplot data if all x-values are zero.
r14519 Fixed an issue with
ObjectDisposedExceptions
by using aAsynchronousContentView
as base class instead of aUserControl
.
Reviewed r14435: The tool strip menu item should read "Configure Chart...". The points indicate that an application modal dialog is going to be opened.
Reviewed r14493: The scatter plot will display an error if there are negative y values and you're using Logarithmic regression. There is nothing displayed if Exponential regression is chosen. Also given the script below, the regression line is not drawn up to the last point, if e.g. Polynomial or Linear regression is chosen:
#!csharp var dt = new ScatterPlot("Table", ""); var row # new ScatterPlotDataRow() { Name"Row", VisualProperties # { PointSize8 }}; row.Points.AddRange(new [] { new Point2D<double>(0, -3), new Point2D<double>(1, -2), new Point2D<double>(2, -1), new Point2D<double>(3, -0.5), new Point2D<double>(4, -0.25), new Point2D<double>(5, -0.125) }); dt.Rows.Add(row); vars.dt = dt;
Reviewed r14516: ok
Reviewed r14519: Maybe you can add IConfigureableView to DataTableControl and ScatterPlotControl now that it is an AsynchronousContentView? It's also rather unique to have a content view that has neither a view nor a content attribute. Thus, I think it is better to derive DataTableView from DataTableControl instead of NamedItemView and reimplement the name/description handling.
r14982 Reverted the separation of the
DataTable/ScatterPlotView
in -View and -Control. Instead, aShowName
property is added to control whether the name-textbox and the info-label from theNamedItemView
are shown.
- Fixed problems with negative values for some regression types.
- Fixed issue where the regression line was not drawn up to the last point.
- Tool strip now reads "Configure Chart...".
r14992 Fixed a potential infinite loop that creates infinite datapoints.
Reviewed r14982:
- I think ShowName can throw an IllegalCrossThreadException if accessed from a Non-UI thread.
- The new property is called ShowName, but actually is implemented to show only the chart and hide everything else (also controls added by a potential derived view). I would thus suggest to rename it to "ShowOnlyChart" or "ShowChartOnly". Also I would use a private backing field for the property instead of accessing UI controls in the getter or setter. Introduce a method for performing the setter action and check for invoke required there.
r15042 Renamed
ShowName
toShowChartOnly
, added a backing field and introduced a method to perform the visibility changes of the controls.
ok
In r14982, I accidentally included some changes of #2715 in the change (moved the whole file); thus, this ticket will be released after #2715.
Due to a svn-move operation of DataTable/ScatterPlotControl -> DataTable/ScatterPlotView (in r14982), changes of multiple tickets (#2713, #2715, #2765) were included in a single revision. Instead of a manually extracting the changes from that files, all three tickets will be merged and released simultaneously.
r15097: Merged to stable
- 14435-14439,14493,14516,14519,14982,14987,14992,15042 (from #2713)
- 14457-14458,14508,14582,14740,14984,15068,15095 (from #2715)
- 14860-14861 (from #2765)
Issue migrated from trac ticket # 2713
milestone: HeuristicLab 3.3.15 | component: Analysis.Views | priority: medium | resolution: done
2016-12-01 15:43:46: @NimZwei created the issue