Interpolation options for st.line_chart

Currently, st.line_chart just draws a line between the points. I was wondering if we could expose the interpolation option of altair charts to the st.line_chart function, listed here:

https://altair-viz.github.io/gallery/step_chart.html

My application needs the “holding values until next value appears” functionality which corresponds to the step-after option.

One counterargument could be that there is so much we could expose to the user in st.line_chart and that’s not what line_chart is meant to be, which is true. However, from my experience, a large leap is required from line_chart to learning altair/ vega lite specification, and adding features to line_chart would be really helpful to new users.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.