michael-s-molina commented on issue #26323: URL: https://github.com/apache/superset/issues/26323#issuecomment-1866235015
@villebro I created this [ECharts example](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AG4CGANgK5W0A0JAvt-uRz4iqUmUo1YtAMaMwVAObAATuVq9-sPFWUQqhWAG0S6UWNgATOYyLHzpQwFZOAZgC6nWCfOGALK48ve3RDF04AJkDvMUNwiKjgowBGTiSE4MMABlS3aNgPPIpqOmYIaA5vHhJcngBuIA) to try possible configurations to fix this issue. You can see that the order of the `data` array is respected when the axis is of type `category` but not when it's `value`. I was not able to find a configuration to sort the `data` array. I was able to find [data transform](https://apache.github.io/echarts-handbook/en/concepts/data-transform/) but that's only applicable to the `dataset` construct. The problem is that our plugin is based on the `series.data` construct and changing it to be based on the `dataset` would require a refactor. Given the problems that we're facing with numerical x-axis, I'm leaning towards reverting all PRs related to that change and reopen https://github.com/apache/superset/issues/26034. WDYT? @sfirke for context. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
