Apache OpenOffice (AOO) Bugzilla – Issue 111487
Add support for constant B-spline (zero order hold)
Last modified: 2017-05-20 10:03:58 UTC
When drawing an X-Y type diagram it is possible to configure the order of the B-spline for smooth lines. Currently the minimum order of the B-spline is 1. However, there are cases when the constant B-spline is wanted. This would be a B-spline with order 0, see also http://en.wikipedia.org/wiki/B-spline#Constant_B-spline . In other places this is called zero order hold, see http://en.wikipedia.org/wiki/Zero_Order_Hold . Imagine a data series where the first column contains a timestamp in seconds and the second column contains the current state of a switch: 0 or 1. The data series only contains the point where a change happened in the switch. In this case the chart to be drawn should be a constant line starting at the first timestamp value, then jump to the next constant value at the following timestamp.
@iha:one for you. kla
This is not possible, because the calculation of the knots uses the degree p as denominator. The way, a B-spline is calculated is specified in the OASIS norm, see http://docs.oasis-open.org/office/v1.2/OpenDocument-v1.2-part1.odt You can sent a request to http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office
Please have a look whether the chart types 'step-start', 'step-end, 'step-center-x', or 'step-center-y' in Gnumeric would meet your requirement. [Gnumeric is free software.] There is a request to the OASIS TC to include this kind of interpolation into the next version of ODF standard.
Please attach example.
No info from author.