You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I fixed this control locally, I saw that all options duplicate existing charts (Line -> Line Chart, Scatter -> Scatter Plot, Smooth Line -> Smooth Line, Bar -> Bar Chart, Step - [start, middle, end] -> Stepped Line). Maybe we can remove it?
This problem is a little bit more complex. The Line chart variations (normal, smooth, step) were broken into multiple charts and for that reason this control shouldn't exist. To add to the problem, the Area chart, which has the exact same variations, was not broken into multiple charts and this control works. In order to fix this mess, we need to decide if we want to have multiple charts and disable this control or a single chart which accepts style variations. Independent of the resolution, this will require a migration.
Normally I'd threaten to close this out as stale by now, but this is still relevant today, and should probably be put forward as a SIP to either consolidate or bifurcate these chart types once and for all. Any interested parties?
@chkang-idk2 if you would like to look deeper into this problem, considering what @michael-s-molina has written about the issues we have encountered, feel free to open a PR. It would be super helpful!
This problem is a little bit more complex. The Line chart variations (normal, smooth, step) were broken into multiple charts and for that reason this control shouldn't exist. To add to the problem, the Area chart, which has the exact same variations, was not broken into multiple charts and this control works. In order to fix this mess, we need to decide if we want to have multiple charts and disable this control or a single chart which accepts style variations. Independent of the resolution, this will require a migration.
We ran into this a few months ago. as a temporary fix, we overrided the generic class with visibility -> true and then made modifications on a more granular level to hide this for line charts.
I'm glad I found this thread, I was trying to make a stepped line chart and was confused by the selector not working. Then I saw mentioned above this is its own line chart type!
Activity
Quatters commentedon Feb 29, 2024
When I fixed this control locally, I saw that all options duplicate existing charts (Line -> Line Chart, Scatter -> Scatter Plot, Smooth Line -> Smooth Line, Bar -> Bar Chart, Step - [start, middle, end] -> Stepped Line). Maybe we can remove it?
michael-s-molina commentedon Feb 29, 2024
This problem is a little bit more complex. The Line chart variations (normal, smooth, step) were broken into multiple charts and for that reason this control shouldn't exist. To add to the problem, the Area chart, which has the exact same variations, was not broken into multiple charts and this control works. In order to fix this mess, we need to decide if we want to have multiple charts and disable this control or a single chart which accepts style variations. Independent of the resolution, this will require a migration.
@rusackas @villebro @kgabryje @geido
geido commentedon Feb 29, 2024
I agree this requires further discussion. Curious what was the decision driving the Line chart to be broken into multiple charts
michael-s-molina commentedon Feb 29, 2024
Just for reference, here's the Area chart and the control in action:
Screen.Recording.2024-02-29.at.11.39.16.mov
rusackas commentedon Jul 30, 2024
Normally I'd threaten to close this out as stale by now, but this is still relevant today, and should probably be put forward as a SIP to either consolidate or bifurcate these chart types once and for all. Any interested parties?
chkang83 commentedon Feb 14, 2025
The code below seems to change the type to line unconditionally, so when I remove that code, it seems to work fine.
/var/local/idk2/heartset/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Line/index.ts
geido commentedon Mar 4, 2025
@chkang-idk2 if you would like to look deeper into this problem, considering what @michael-s-molina has written about the issues we have encountered, feel free to open a PR. It would be super helpful!
vedantprajapati commentedon Jun 3, 2025
@geido
We ran into this a few months ago. as a temporary fix, we overrided the generic class with visibility -> true and then made modifications on a more granular level to hide this for line charts.
vedantprajapati commentedon Jun 3, 2025
let me know if we want to make this change? I can make a PR. @geido
geido commentedon Jun 3, 2025
Sure. That would be great. It is going to be easier to discuss the changes on a PR. Thank you!
vedantprajapati commentedon Jun 3, 2025
Created ^ 🥳 @geido
sfirke commentedon Nov 7, 2025
I'm glad I found this thread, I was trying to make a stepped line chart and was confused by the selector not working. Then I saw mentioned above this is its own line chart type!