You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/10/27 11:41:00 UTC

[GitHub] [incubator-superset] fedecere94 opened a new issue #11443: Label_colors not work on Scatterplot

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] issue-label-bot[bot] commented on issue #11443: Label_colors not work on Scatterplot

Posted by GitBox <gi...@apache.org>.
issue-label-bot[bot] commented on issue #11443:
URL: https://github.com/apache/incubator-superset/issues/11443#issuecomment-717184328


   Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.76. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! 
   
    Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/apache/incubator-superset) and [code](https://github.com/hamelsmu/MLapp) for this bot.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org