https://bugs.kde.org/show_bug.cgi?id=525066

            Bug ID: 525066
           Summary: Mask spreadsheet cell value does not recalculate
                    column statistics when bar chart contains error bars
    Classification: Applications
           Product: LabPlot2
      Version First latest
       Reported In:
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Data
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
        Depends on: 525057
  Target Milestone: ---

TL;DR

1) Mask spreadsheet value when displaying Average bar chart with error bars.
Result:   AV chart shows old mean value.
Expected: Mean should be recalculated instantly.


========================================

1) Create spreadsheet and fill one column with example values:
    1
    2
    3
    4

2) In project explorer or on Spreadsheet area:
     Right click → Columns Statistics Spreadsheet

3) From Statistics Spreadsheet plot column:
"ArithmeticMean {Double} [Y]" Right click → Plot Data → Bar Plots → Bar Plot

4) Set Error Bars:
e.g.:
"StandardDeviation {Double} [Y]"

5) Click on spreadsheet cell or select range: 
    Selection → Mask
e.g.
    1
    2
    3
   [4]  <--- masked

Actual Result:
ArithmeticMean and bar chart indicate old average AV of {1,2,3,4} = 2.5.

Expected:
Values should be recalculated instantly and automatically whenever mask is
applied.
Resulting with:
AV of {1,2,3} = 2.0.

Additional info:
Removing mask recalculates statistics and plot correctly. But applying mask
does not recalculate related project entities.


Release build 5d639e3
Aug 28 2026, 08:28:40

System: Windows 11 Version 25H2
Locale: Polish, Poland
Number Format: 1,000.01 (Updated on restart)
Architecture: x86_64-little_endian-llp64
Kernel: winnt 10.0.26200


Referenced Bugs:

https://bugs.kde.org/show_bug.cgi?id=525057
[Bug 525057] Enable LabPlot to submit bug report via 'Help → Report bug...'
-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to