fedecere94 opened a new issue #11443:
URL: https://github.com/apache/incubator-superset/issues/11443
superset version: `37`
I have a scatterplot chart in which I set the COLOR SCHEME to `D3 Category
10` and the CATEGORICAL COLOR is related to a column (named "ovt") that
contains 2 possible values: "overtarget" and "non overtarget".
I set the variable **label_colors** in the JSON Metadata of my dashboard as
following:
`"label_colors": {
"overtarget": "red",
"non overtarget": "green"
}`
The problem is that the scatterplot in the dashboard is not affected by this
rule (it takes the first two colors of the D3 Category 10 scheme: `#1f77b4` and
`#ff7f0e`, ignoring my label_colors rule). But if choose I explore chart from
dashboard in the new window the chart is affected by the rule and the colors
being showed are `red` and `green` (in fact if I check the URL parameter
form_data I see the label_colors rule with its fields)
How can I fix this problem?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]