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

Can kibana 5.X can customize the visualization color #10173

Closed
kevin-tang-rs opened this issue Feb 3, 2017 · 11 comments
Closed

Can kibana 5.X can customize the visualization color #10173

kevin-tang-rs opened this issue Feb 3, 2017 · 11 comments
Labels
release_note:enhancement Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins.

Comments

@kevin-tang-rs
Copy link

as now the bar color is random in kibana 5.x, can i choose the Specific color to show the bar.
for example, i choose the specific 5 colors to show the data

@kobelb
Copy link
Contributor

kobelb commented Feb 6, 2017

@kevin-tang-rs if you click on the item in the legend, you can change the color for a specific 'series'

image

Is this what you're looking for?

@kevin-tang-rs
Copy link
Author

@kobelb actually, my mean is to choose several speicfic colors to show the data, for example, i choose the 'red, green, blue, yellow' color to show the data, exclude other colors

@kobelb
Copy link
Contributor

kobelb commented Feb 7, 2017

@kevin-tang-rs so you'd like to specify a few colors that are always used when drawing the visualizations, as opposed to our standard "palette"?

@kevin-tang-rs
Copy link
Author

@kobelb yes, our Product Manager hope to do as you mention

@kobelb
Copy link
Contributor

kobelb commented Feb 8, 2017

@kevin-tang-rs gotcha, thanks for the clarification. We don't currently have this functionality, so I've labeled this issue as an enhancement.

@kobelb kobelb added Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. release_note:enhancement labels Feb 8, 2017
@kevin-tang-rs
Copy link
Author

@kobelb thank you very much

@exhuma
Copy link

exhuma commented Apr 24, 2017

Maybe related to this, if not I can move it to another issue:

Is it possible to specify custom colors? Colors which are not in the palette? I have a red/green deficiency, and I sometimes have trouble finding enough colours in the given palette which I can visually distinguish very well. Making it possible to add hex-codes would give me more flexibility.

@nechama
Copy link

nechama commented Jun 25, 2017

+1 I also need the possibility to add color that it is not in the palette

@mpaduada
Copy link

mpaduada commented Jul 1, 2017

It does seem that hex colours falling outside of the clickable palette can be assigned directly by editing uiState object in the saved visualization.

screen shot 2017-07-01 at 17 28 56

However, a big limitation here is that colours are assigned to the specific terms that appear on the legend. That's fine if the items in the legend are always the same (e.g., the colours are assigned to different metrics, and the metrics are always the same regardless of time range). It's a problem if the items in the legend can change depending on time time range or other query/filter (e.g., pie chart slices are determined by a Terms Aggregation, and the terms vary depending on time range or filter).

I get that it sometimes makes sense for particular terms to always be assigned a particular colour, but it would be nice to be able specify in uiState a palette from which colours can be assigned. For example, if I would like to visualize occurrences of alert conditions in a pie chart, I might want all of the slices to be some shade of red or orange; whereas another pie chart on the same dashboard showing various normal conditions might use a more neutral palette of blues or greens.

@seekheart
Copy link

Has there been any news on this issue? Can we pick colors for a visualization and have it stay that way?

@timroes
Copy link
Contributor

timroes commented Apr 18, 2018

This issue is replaced by #17764 which focuses more on the palette aspect than specifying custom colors in general.

@timroes timroes closed this as completed Apr 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:enhancement Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins.
Projects
None yet
Development

No branches or pull requests

7 participants