Page MenuHomePhabricator

Extension:Charts line charts should support step line charts aka stepped line charts.
Open, LowPublicFeature

Description

Feature summary:

A step line chart is a type of line chart where data points are connected by horizontal and vertical line segments, creating a staircase-like appearance. Instead of drawing a straight line directly between two points, the chart moves horizontally from one point and then vertically to the next, emphasizing discrete changes rather than continuous transitions.

Example: https://commons.wikimedia.org/wiki/File:Octave_plot_step.svg

Benefits:

Step line charts offer several advantages over standard line charts, especially when dealing with certain types of data.

Event Timeline

A "step line chart" is a feature in Apache Echart, that is achieved with the parameter step: 'start':
https://echarts.apache.org/handbook/en/how-to/chart-types/line/step-line/

A related type of chart that I would prefer in many cases, for example when comparing how the ranking of countries has changed over time, is a "bump chart". This can also be achieved in Apache Echart, with some additional code:
https://echarts.apache.org/examples/en/editor.html?c=bump-chart

A "step line chart" is a feature in Apache Echart, that is achieved with the parameter step: 'start':
https://echarts.apache.org/handbook/en/how-to/chart-types/line/step-line/

A related type of chart that I would prefer in many cases, for example when comparing how the ranking of countries has changed over time, is a "bump chart". This can also be achieved in Apache Echart, with some additional code:
https://echarts.apache.org/examples/en/editor.html?c=bump-chart

I recommend that you ask submit that task as a separate feature request.