Apache OpenOffice (AOO) Bugzilla – Issue 115845
autotests for date axis in charts
Last modified: 2017-05-20 11:41:53 UTC
In CWS chart46 date axis are introduced for charts (with feature issue 25706). For charts of type bar, column, line, area, stock and column&line it is now possible to use date values as categories. If so by default the x-axis is automatically switched to a date axis. The user can make some additional settings on the scale tab page of the axis. With the 'resolution' list box the user can choose the smallest time interval to be shown on the axis ( days, months or years). For the major and minor interval the user also can choose typical time intervals: x days, months or years. Specification: http://specs.openoffice.org/chart/ChartAxisScale.odt For charts with own data the Chart Data Table dialog has gotten an additional button to switch between date and text axis. Specification: http://specs.openoffice.org/chart/ChartDataDialog.odt The new feature and the new controls might need an adaption of the automatic tests. Thanks a lot in advance!
The first control on the axis scale tab page (the check box 'Reverse direction') has gotten different HelpIds for different types of axis. This allows for separate documentations for the different axis types: For normal value axis (typically the y-axis, but also the x-axis in a xy chart): chart2:CheckBox:TP_SCALE:CBX_REVERSE:ValueAxis For category axis, that also might be date axis (those are the x-axis within the following chart types: bar, column, area, line, stock und column&line): chart2:CheckBox:TP_SCALE:CBX_REVERSE:MayBeDateAxis Otherwise (x-axis of net chart): chart2:CheckBox:TP_SCALE:CBX_REVERSE:Category
The previously used HelpId chart2:CheckBox:TP_SCALE:CBX_REVERSE is not used within the charts dialogs anymore. Please remove references to it.
The behavior of the charts own data table has been changed again. The toggle button has been removed. See issue 116467.
fixed in cws chart46. Testcase added in ch2_updt_calc.bas and fixes in ch2_flexible_source_range_selection.bas
verified in internal build cws_chart46