Issue 106736 - Chart data ranges messed up,when Stock Chart selected in SRB
Summary: Chart data ranges messed up,when Stock Chart selected in SRB
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: Unknown Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: IngridvdM
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-09 15:25 UTC by r4zoli
Modified: 2013-02-24 21:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
example database created in m4 (739.78 KB, application/vnd.sun.xml.base)
2009-11-09 15:27 UTC, r4zoli
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description r4zoli 2009-11-09 15:25:54 UTC
It is true for OOO320_m4, and DEV300_m63. Not first priority I issued as m63 bug.
It is a part of my testing with Stock Charts, and as I try to find some problems
in more details raised  up in issue:103589.

Preparation:
- Open database file attached to this issue
- Go to the report section
- Create new report in dsign mode, add report header/footer to report,
- Select report footer,
- Click into Report toolbar, select Chart,
- Draw rectangle on Report footer, Chart will be inserted-Open
- Go to the Chart properties Data tab, 
- Select Content type "Table",
- Select "Content" Table1, the chart will show data.
- Double click on Chart, opens in edit mode, check Chart Type = "Bar", and Data
ranges, First Column as label allowed, and Data series tab: all other fields
listed (Volume,Open,Low,High,Close)
- Save it as "Empty", 
- Or open "Empty" Report in attached file.

Bug: 
- Double click on Chart, opens in edit mode, 
- Set chart type to Stock, and select Type "Stock Chart Type1", press OK,
- Open Data ranges, click to the data series, Data series you can find: Low,
Unnamed series; and data ranges messed up.
The changed chart can be found in "NEW_Type1_after_chart_type changes" report.

If you opens "Empty_with_bar_chart", and change Chart type to "Stock Chart
Type2" or "Stock Chart Type3", the data ranges messed up in different way.

Only if you select "Stock Chart Type4" the changes will happens nearly as you
expected. 
(Only thing what is wrong is a data series can not be set as in Chart in Calc,
only selectable from field names, which is a separate issue, and I will submit)
Comment 1 r4zoli 2009-11-09 15:27:57 UTC
Created attachment 66021 [details]
example database created in m4
Comment 2 Frank Schönheit 2009-11-13 10:55:03 UTC
confirming, assigning, targeting
Comment 3 IngridvdM 2009-11-18 13:57:54 UTC
@r4zoli, for stock charts the data has to be arranged in a special way if it
should work out of the box:
stock 1: Low, High, Close
stock 2: Open, Low, High, Close
stock 3: Volume, Low, High, Close
stock 4: Volume, Open, Low, High, Close
So there is no bug here. Just the given data is not suitable for default
creation of a stock 1 chart. The data is only suitable for a stock 4 chart.
Comment 4 IngridvdM 2009-11-18 14:00:20 UTC
->setting to 'works for me'
Comment 5 r4zoli 2009-11-18 14:39:53 UTC
I created queries to arrange data as described by iha, and created new reports
with stock charts, without problems.
Closing.