dosubot[bot] commented on issue #32184:
URL: https://github.com/apache/superset/issues/32184#issuecomment-2642729301

   <!-- Greeting -->
   Hi @x1agy! I'm here to assist you with bugs, questions, and becoming a 
contributor. Let's work together to resolve the issue you're experiencing.
   
   <!-- Answer -->
   I found a similar issue that was previously reported: [Cannot set color 
scheme for dashboard-associated chart even when dashboard color scheme is 
cleared](https://github.com/apache/superset/issues/23874). This issue was 
closed with a pull request that fixed the problem by ensuring that colors are 
retained when the color scheme is not set at the dashboard level 
<sup>[[1]](https://github.com/apache/superset/issues/23874)</sup>.
   
   Additionally, the color scheme selection mechanism in Superset involves 
components like `ColorSchemeControl` and `ColorSchemeControlWrapper`, which 
manage the selection and application of color schemes. If a chart is viewed 
within a dashboard context, the color scheme might be locked to the dashboard's 
settings, which could explain why changes are not applying as expected 
<sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/src/explore/components/controls/ColorSchemeControl/index.tsx)</sup><sup>[[3]](https://github.com/apache/superset/blob/master/superset-frontend/src/dashboard/components/ColorSchemeControlWrapper.tsx)</sup>.
   
   You might want to check if the dashboard has a predefined color scheme that 
is overriding the chart's color scheme. If the issue persists, reviewing the 
recent changes in the codebase related to color schemes might provide further 
insights.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/13a82da5-988f-4f14-8ac4-1de6ebf893f8?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/13a82da5-988f-4f14-8ac4-1de6ebf893f8?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/13a82da5-988f-4f14-8ac4-1de6ebf893f8?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/13a82da5-988f-4f14-8ac4-1de6ebf893f8?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/13a82da5-988f-4f14-8ac4-1de6ebf893f8?feedback_type=hallucination)
 | 
[Other](https://app.dosu.dev/response-feedback/13a82da5-988f-4f14-8ac4-1de6ebf893f8?feedback_type=other)</sup>
   


-- 
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]

Reply via email to