https://bugs.documentfoundation.org/show_bug.cgi?id=164111

--- Comment #4 from Devansh Varshney <[email protected]> ---
My immediate thought went for adding this as a new chart type when I skim read
the request. Now, after looking at what this is and Regina's comment -


 < My Understanding >

'Stacked Range' Chart Type displays ranges (start and end values) for each
category instead of stacking values on top of each other.
For example, if our data is [3, 8, 12], each segment of the bar would span from
3 → 8, then 8 → 12, showing the progression or range between consecutive
values. Unlike traditional stacked bars (which sum values), this chart
emphasizes the distance between data points.

 Key Points (Simplified):    

    1 New Chart Type vs. Subtype:    
        - A new chart type  (e.g., loext:min-max-bar) is better than a subtype. 
        - Subtypes risk compatibility issues (other office suite might
misinterpret them).  
        - ODF allows custom extensions (via loext: namespace), so LibreOffice
can define this chart type without breaking standards. (eg - loext:Histogram)


    2 How It Works in ODF:    
        - Use chart:class="loext:min-max-bar" to mark the chart type.  
        - Existing apps unaware of this type will default to a basic chart (no
crashes).


    3 Avoid "Stacked" Terminology:    
        - The term "stacked" implies summed values. This chart shows ranges, so
a new name is needed. "range bars"?


Likely requires a single series where each bar represents a range (e.g., [min,
max] pairs) or multiple series with roles (e.g., values-start/values-end),
similar to stock charts?


It could be added to the LO. I did ask with Quikee too, but his and my priority
right now getting the Histogram Chart working.

After that being done, I can work on adding this.

Will later discuss the specifics of the ODF markup (e.g., using
values-start/values-end roles or a single series with paired data) to finalize
the implementation.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to