Issue 115845

Summary: autotests for date axis in charts
Product: General Reporter: IngridvdM
Component: chartAssignee: oc
Status: CLOSED FIXED QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: TASK Latest Confirmation in: ---
Developer Difficulty: ---

Description IngridvdM 2010-11-30 18:07:07 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!
Comment 1 IngridvdM 2010-12-01 10:35:32 UTC
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
Comment 2 IngridvdM 2010-12-01 11:00:37 UTC
The previously used HelpId
chart2:CheckBox:TP_SCALE:CBX_REVERSE
is not used within the charts dialogs anymore. Please remove references to it.
Comment 3 IngridvdM 2011-01-19 18:52:42 UTC
The behavior of the charts own data table has been changed again. The toggle
button has been removed. See issue 116467.
Comment 4 oc 2011-01-24 08:50:32 UTC
fixed in cws chart46. Testcase added in ch2_updt_calc.bas and fixes in
ch2_flexible_source_range_selection.bas
Comment 5 oc 2011-01-27 08:24:08 UTC
verified in internal build cws_chart46