Bug 53489

Summary: FORMATTING: Doubled line in chart after removing line in represented table
Product: LibreOffice Reporter: Samuel V. <green.flash>
Component: ChartAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: markus.mohrhard, stgohi-lobugs
Version: 3.5.5.3 release   
Hardware: Other   
OS: All   
Whiteboard: BSA
i915 platform: i915 features:

Description Samuel V. 2012-08-14 11:37:52 UTC
Problem description: 

Steps to reproduce:
1. Create a table and a chart which is representing this table (linewise)
2. Fill out some values
3. Remove a line in the table

Current behavior:
the line below the deleted line is double-represented in the chart
(Also the things get messed up, if I insert a line in the represented range of the chart, but maybe this will be repaired during fixing THIS bug)

Expected behavior:
line should disappear in the chart


Platform: 
              
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1


At this time I can avoid this bug in my macro with this dirty hack:

' to avoid double categorie when reduced by only 1
' reduce by 2
For i = 12 To 24
	ranges(i).EndRow = ranges(i).EndRow - 2
Next
graph.setRanges(ranges)

' increase by 1
For i = 12 To 24
	ranges(i).EndRow = ranges(i).EndRow + 1
Next
graph.setRanges(ranges)
Comment 1 A (Andy) 2013-02-16 16:54:06 UTC
reproducible with LO 4.0.0.3 (Win7 Home, 64bit)
Comment 2 A (Andy) 2013-02-16 17:04:17 UTC
@Markus: Could this maybe be a bug for you?  Please add yourself to "Assigned To" if you would like to take care about this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.