Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphic walker visualization color schema custom change #605

Open
barbarosyabaci opened this issue Aug 10, 2024 · 2 comments
Open

Graphic walker visualization color schema custom change #605

barbarosyabaci opened this issue Aug 10, 2024 · 2 comments
Labels
enhancement New feature or request graphic-walker belong to Graphic Walker project

Comments

@barbarosyabaci
Copy link

I have a data set with coordinates and signal level values for each coordinates. When I display it in geographic view, I assign to color for each specific group. However I cannot select the color individually, I need to select a color schema. Even I select the the color schema it does not assign the same colors, it sorts the values based on counts then assigns the colors based on this sorting. How can I assign specific color to each individual range? I need quick help to guide me through that project, any help appreciated.

@longxiaofei
Copy link
Contributor

Hi @barbarosyabaci

I'm not sure if this answers your question.

image
image

@barbarosyabaci
Copy link
Author

Thanks for answer but I want to adjust colors individually like that:

def categorize_colors(value):
match value:
case value if value >= 25:
return [0, 0, 255] # Blue
case value if value >= 20:
return [75, 0, 130] # Indigo
case value if value >= 15:
return [138, 43, 226] # BlueViolet
case value if value >= 10:
return [218, 112, 214] # Orchid
case value if value >= 5:
return [255, 105, 180] # HotPink
case value if value >= 0:
return [255, 69, 0] # OrangeRed
case value if value >= -2:
return [255, 0, 0] # Red
case _:
return [128, 0, 0] # Maroon

@ObservedObserver ObservedObserver added enhancement New feature or request graphic-walker belong to Graphic Walker project labels Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request graphic-walker belong to Graphic Walker project
Projects
None yet
Development

No branches or pull requests

3 participants