jinghua-qa commented on PR #21507:
URL: https://github.com/apache/superset/pull/21507#issuecomment-1277124914

   I found an issue that if a series in different charts in the same dashboard, 
then it is not consistent for the color on that series
   here how i reproduce this issue:
   step 1: Run this sql query and create dataset: 
   SELECT * FROM
   (SELECT 'a' as color, 1 as val
   UNION
   SELECT 'b', 1
   UNION
   SELECT 'c', 1
   UNION
   SELECT 'd', 1
   UNION
   SELECT 'e', 1
   UNION
   SELECT 'f', 1
   UNION
   SELECT 'g', 1
   UNION
   SELECT 'h', 1
   UNION
   SELECT 'i', 1
   UNION
   SELECT 'j', 1
   UNION
   SELECT 'k', 1
   UNION
   SELECT 'l', 1
   UNION
   SELECT 'm', 1
   UNION
   SELECT 'n', 1
   UNION
   SELECT 'o', 1
   UNION
   SELECT 'p', 1
   UNION
   SELECT 'q', 1
   UNION
   SELECT 'r', 1
   UNION
   SELECT 's', 1
   UNION
   SELECT 't', 1
   UNION
   SELECT 'u', 1
   UNION
   SELECT 'v', 1
   UNION
   SELECT 'w', 1
   UNION
   SELECT 'x', 1
   UNION
   SELECT 'y', 1
   UNION
   SELECT 'z', 1
   ) as _view
   ORDER BY COLOR
   step2: create 3 charts using the same dataset:
   chart 1: metrics: count(*), dimension: color
   chart 2:metrics: count(*), dimension: color, filter: color in a, b, c
   chart 3:metrics: count(*), dimension: color, filter: color in d, e, f
   add 3 charts to same dashboard
   step 3: create native filter for color name, then apply filter with color 
name a, e
   
   Expect:
   chart 1: a, e show different color
   chart 2, a show same color with chart 1, series a
   chart 3, e show same color with chart 1 series ec
   
   Actual:
   chart 2 series a show same color as series e
   <img width="1792" alt="Screen Shot 2022-10-12 at 11 54 40 PM" 
src="https://user-images.githubusercontent.com/81597121/195525181-fb9d8ab4-b7bf-4b9b-a116-a75954ab241d.png";>
   
   
   


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