Issue 116999 - xlsx: Missing bubbles in a bubble chart
Summary: xlsx: Missing bubbles in a bubble chart
Status: CLOSED DUPLICATE of issue 64821
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 13:43 UTC by tora3
Modified: 2013-02-24 21:22 UTC (History)
2 users (show)

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


Attachments
a bugdoc (11.34 KB, application/vnd.ms-excel)
2011-02-17 13:44 UTC, tora3
no flags Details
a snapshot of Excel 2007 (139.64 KB, image/png)
2011-02-17 13:45 UTC, tora3
no flags Details
a snapshot of OOo 3.3.0 (115.64 KB, image/png)
2011-02-17 13:46 UTC, tora3
no flags Details
an internal file of the .xlsx bugdoc (6.33 KB, text/xml)
2011-02-17 13:56 UTC, tora3
no flags Details
a range of bubble size is specified by hand. (11.42 KB, application/vnd.ms-excel)
2011-02-17 20:27 UTC, tora3
no flags Details
output of gdiff -r -u bubble-chart-with-constant-bubble-size-2011-02-17-/ bubble-chart-with-constant-bubble-size-2011-02-17-bubble-size-range-specified/ (11.53 KB, text/plain)
2011-02-17 20:31 UTC, tora3
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description tora3 2011-02-17 13:43:00 UTC
Reproduction
1. Start Excel 2007.
2. Prepare data for Scatter chart.
3. Select the data area and insert an Scatter chart.
4. Change chart type from X Y (Scatter) chart to Bubble chart.
5. Confirm series bubble size by choosing Select Data Source - Edit.
   It should be ={1,1,1, ...} instead of a range like C1:C9.
6. Save the workbook into .xlsx.
7. Open the file with OpenOffiec.org 3.3.0.

Expectation
 Bubbles in the bubble chart appear.

Reality
 Bubbles in the bubble chart are missing.
Comment 1 tora3 2011-02-17 13:44:42 UTC
Created attachment 75858 [details]
a bugdoc
Comment 2 tora3 2011-02-17 13:45:46 UTC
Created attachment 75859 [details]
a snapshot of Excel 2007
Comment 3 tora3 2011-02-17 13:46:54 UTC
Created attachment 75860 [details]
a snapshot of OOo 3.3.0
Comment 4 tora3 2011-02-17 13:56:46 UTC
Created attachment 75861 [details]
an internal file of the .xlsx bugdoc
Comment 5 tora3 2011-02-17 13:59:40 UTC
The internal file xl/charts/chart2.xml includes:

     <c:bubbleSize>
      <c:numLit>
       <c:formatCode>General</c:formatCode>
       <c:ptCount val="12"/>
       <c:pt idx="0">
	<c:v>1</c:v>
       </c:pt>

As seen, the sizes of bubble are an constant value, instead of a range.
Comment 6 tora3 2011-02-17 20:27:54 UTC
Created attachment 75868 [details]
a range of bubble size is specified by hand.
Comment 7 tora3 2011-02-17 20:30:06 UTC
1. Download a Perl script odf-ooxml-unzip.pl from
   https://bitbucket.org/tora/tools/src/tip/odf/odf-ooxml-unzip/odf-ooxml-unzip.pl

2. perl odf-ooxml-unzip.pl
bubble-chart-with-constant-bubble-size-2011-02-17-.xlsx
bubble-chart-with-constant-bubble-size-2011-02-17-bubble-size-range-specified.xlsx

3. gdiff -r -u bubble-chart-with-constant-bubble-size-2011-02-17-/
bubble-chart-with-constant-bubble-size-2011-02-17-bubble-size-range-specified/ >
d.diff

--- bubble-chart-with-constant-bubble-size-2011-02-17-/xl/charts/chart2.xml
2011-02-18 05:16:35.377608212 +0900
+++
bubble-chart-with-constant-bubble-size-2011-02-17-bubble-size-range-specified/xl/charts/chart2.xml
2011-02-18 05:16:36.725331645 +0900
@@ -114,46 +114,49 @@
             </c:numRef>
           </c:yVal>
           <c:bubbleSize>
-            <c:numLit>
-              <c:formatCode>General</c:formatCode>
-              <c:ptCount val="12"/>
-              <c:pt idx="0">
-                <c:v>1</c:v>
-              </c:pt>

.....

+            <c:numRef>
+              <c:f>Sheet1!$B$4:$M$4</c:f>
+              <c:numCache>
+                <c:formatCode>General</c:formatCode>
+                <c:ptCount val="12"/>
+                <c:pt idx="0">
+                  <c:v>1</c:v>
+                </c:pt>

I hope this help to devise cool solutions.
Comment 8 tora3 2011-02-17 20:31:19 UTC
Created attachment 75869 [details]
output of gdiff -r -u bubble-chart-with-constant-bubble-size-2011-02-17-/ bubble-chart-with-constant-bubble-size-2011-02-17-bubble-size-range-specified/
Comment 9 IngridvdM 2011-03-07 12:55:23 UTC
This is a missing feature already requested in issue 64821.

*** This issue has been marked as a duplicate of issue 64821 ***