GitHub user dosubot[bot] added a comment to the discussion: Vertical Markers
<!-- Greeting --> Hi @raydiator2! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team. <!-- Answer --> Vertical markers (vertical lines at specific x-values) are not natively supported on bar or histogram charts for discrete (non-time) datasets in Superset. The annotation system and chart plugins currently only support horizontal markers (y=constant lines) and reference lines for numeric or time axes, not categorical x-axes or discrete bins [see code details](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Histogram/transformProps.ts). To visually indicate process limits (like min/max boundaries), you can try these workarounds: - Encode your process limits as special bars in your SQL query, so they appear as distinct bars in the chart. - Use color coding in your SQL or chart config to highlight bins outside the limits. - Add an extra series to represent limits, for example, by creating a dummy bar with a unique color at the boundary categories. Implementing true vertical marker lines would require customizing the ECharts plugin code to expose ECharts' `markLine` feature for categorical axes, which is not available in the UI or config today [see annotation system details](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/explore/components/controls/AnnotationLayerControl/AnnotationLayer.jsx). If you need more advanced visual cues, you may need to extend the chart plugin logic or request this feature from the Superset community. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/630f2547-e671-47fb-a7f9-342c0056996c?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/630f2547-e671-47fb-a7f9-342c0056996c?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/630f2547-e671-47fb-a7f9-342c0056996c?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/630f2547-e671-47fb-a7f9-342c0056996c?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/630f2547-e671-47fb-a7f9-342c0056996c?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/630f2547-e671-47fb-a7f9-342c0056996c?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/630f2547-e671-47fb-a7f9-342c0056996c?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)& nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/35153) GitHub link: https://github.com/apache/superset/discussions/35153#discussioncomment-14409427 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
