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

Black color bug in Heatmap #12420

Closed
lumizilla opened this issue Jun 20, 2017 · 0 comments · Fixed by #20753
Closed

Black color bug in Heatmap #12420

lumizilla opened this issue Jun 20, 2017 · 0 comments · Fixed by #20753
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Heatmap Heatmap visualization Feature:Visualizations Generic visualization features (in case no more specific feature label is available)

Comments

@lumizilla
Copy link

Hello, I am having a bug regarding colors on a heatmap. More details below.

Kibana version: 5.4.0

Elasticsearch version: 5.4.0

Server OS version: elementary OS 0.4 Loki (64 bit)

Browser version: Mozilla Firefox 50.1.0

Browser OS version: same as server

Original install method (e.g. download page, yum, from source, etc.): Download page.

Description of the problem including expected versus actual behavior: When checking 'scale to data bounds' field, the heatmap graph becomes entirely black (I expected it to be one of the heatmap colors). If I uncheck this option, the color becomes one of the colors specified on the heatmap (which was expected).

Steps to reproduce:

  1. Insert the data present on elasticsearch's twitter example that is on github:

`curl -XPUT 'http://localhost:9200/twitter/user/kimchy?pretty' -H 'Content-Type: application/json' -d '{ "name" : "Shay Banon" }'

curl -XPUT 'http://localhost:9200/twitter/tweet/1?pretty' -H 'Content-Type: application/json' -d '
{
"user": "kimchy",
"post_date": "2009-11-15T13:12:00",
"message": "Trying out Elasticsearch, so far so good?"
}'

curl -XPUT 'http://localhost:9200/twitter/tweet/2?pretty' -H 'Content-Type: application/json' -d '
{
"user": "kimchy",
"post_date": "2009-11-15T14:12:12",
"message": "Another tweet, will it be indexed?"
}'`

  1. On kibana, create an index for this example, and then go to: visualize -> create new visualization -> heatmap -> "twitter"

  2. Change the time range to search for november/2009. Select the bucket "x-axis", with the aggregation "date histogram" with the interval "monthly". Under options, check "scale to data bounds". When running the new configurations, the graph should become black.

Here is a screenshot of the black graph with the "scale to data bounds" option (it should not be black):
bug1

And here is the graph when I uncheck the "scale the data bounds" option:
bug2

Thank you for your support.

@thomasneirynck thomasneirynck added Feature:Heatmap Heatmap visualization Feature:Visualizations Generic visualization features (in case no more specific feature label is available) bug Fixes for quality problems that affect the customer experience labels Jun 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Heatmap Heatmap visualization Feature:Visualizations Generic visualization features (in case no more specific feature label is available)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants