As also mentioned on https://wiki.documentfoundation.org/Development/Crazy_Ideas#.27Stepped_lines.27_option_in_Calc_charts, it would be nice for LO to contain a 'stepped line' type of curve next to straight lines and smooth lines.
I have already implemented a first change to actually draw this type of lines. This still has to be discussed on by people more expert than I ;-) and see how the UI and fileformat should be changed.
Created attachment 75133 [details] Patch for adding the actual stepped line code
From the mailing list, it was pointed out that Gnumeric already has this feature. I have created screenshots comparing what Gnumeric does and what my code does at the moment. Also, the used test documents are added. Eric
Created attachment 75201 [details] Screenshot of the result of stepped interpolation lines in Gnumeric
Created attachment 75202 [details] Screenshot how my code shows it at the moment in LO
Created attachment 75203 [details] ODS file saved by Gnumeric with stepped lines
I have created a first part of the code so we can read the types provided by Gnumeric and also the ones defined by ODF1.3 (https://gerrit.libreoffice.org/2476). I still need to add the UI elements for this.
Created attachment 75983 [details] Current Chart Wizard dialog The current dialog for scatter charts. It's similar for line charts.
Created attachment 75984 [details] Mockup of new interface Mockup of proposal for new interface. With Straight lines, the Properties button should be disabled.
Created attachment 75985 [details] Mockup of new interface with dropdown opened Mockup with the dropdown opened. When an item is selected, the graph glyphs should be changed accordingly. As options in the properties for stepped lines, we should have 4 types: - step at beginning - step at end - step at half X - step to half Y with corresponding glyphs of course.
Comment on attachment 75984 [details] Mockup of new interface Oops, wrong image for this one.
Created attachment 75987 [details] Mockup of new interface with dropdown closed Mockup of the changes to the dialog box. Similar changes would happen for the Line type. When having straight lines selected, the Properties button should be disabled.
Comment on attachment 75202 [details] Screenshot how my code shows it at the moment in LO I now support the exact same types as Gnumeric which also look the same.
Created attachment 75989 [details] The code for drawing the stepped lines
EricSeynaeve committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=bf033461c5cb0053253f410da7f17dd2e12771c3 fdo#61135 stepped lines graph: handle ods files The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Gui changes are pushed to gerrit: https://gerrit.libreoffice.org/3345
Eric Seynaeve committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ff547f4646c88c739118bf3058823b8642a275ae fdo#61135: adding help button to stepped lines dialog. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Eric Seynaeve committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/help/commit/?id=41837c920a92e84ad8bf989f407e60898aa99209 fdo#61135 Adding stepped lines: changes to help system. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Help changes are pushed as well.
*** Bug 64472 has been marked as a duplicate of this bug. ***