bito-code-review[bot] commented on PR #43770: URL: https://github.com/apache/superset/pull/43770#issuecomment-5497237287
<!-- Bito Reply --> The issue described is a logic error in the Bullet chart configuration mapping where range rectangles lack a category `y` encoding. This causes thresholds to render as chart-wide bands instead of being scoped to individual bullet rows. To resolve this, you need to ensure that the `range_rectangles` (or equivalent threshold configuration) in the `form_data` mapping includes the necessary `y` encoding or grouping information that links them to the specific bullet row. Since the file `superset/mcp_service/chart/tool/get_chart_preview.py` is not present in the provided PR context, I cannot implement the fix directly. Please verify the mapping logic in that file to ensure the `y` encoding is correctly passed to the frontend configuration. -- 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]
