-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Consistent, global color configuration for query and field values #6480
Copy link
Copy link
Closed
Labels
Feature:VisualizationsGeneric visualization features (in case no more specific feature label is available)Generic visualization features (in case no more specific feature label is available)Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//enhancementNew value added to drive a business resultNew value added to drive a business result
Metadata
Metadata
Assignees
Labels
Feature:VisualizationsGeneric visualization features (in case no more specific feature label is available)Generic visualization features (in case no more specific feature label is available)Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//enhancementNew value added to drive a business resultNew value added to drive a business result
Type
Fields
Give feedbackNo fields configured for issues without a type.
Two main options exist for configuring color of a series today (in Kibana 4.4):
(1) Global setting in Advanced Settings which associates a particular string in the legend value (e.g. "error") with a color, introduced in Kibana 4.2.
(2) Per-chart color picker that works by clicking on a legend, introduced in Kibana 4.4. This configures a color for a legend value of a specific visualization.
However, there are a couple of notable limitations (see below).
Limitation 1. Legends are used inconsistently as far as association with colors go. For instance, pie chart Terms breakdown shows values in the legend, but not the bar chart. You can get the values to show up in the legend by doing a second Terms breakdown, but that's sort of a hack.
Limitation 2. In some cases, e.g. with Filters Agg that includes a star query, that trick doesn't work.
Proposal is to provide a consistent, non-hacky way (via Advanced Settings?) to associate a value either in the legend or in the axis label with a color. Ideally, there'd be a way to refer to an exact value or just a substring.
Keywords: color directory, color map