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

Pie chart colors updating sporadically #12914

Closed
stacey-gammon opened this issue Jul 17, 2017 · 8 comments
Closed

Pie chart colors updating sporadically #12914

stacey-gammon opened this issue Jul 17, 2017 · 8 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features Feature:Visualizations Generic visualization features (in case no more specific feature label is available)

Comments

@stacey-gammon
Copy link
Contributor

It appears that updating a pie chart's colors on a dashboard, and then again on the pie chart itself, have varying results. Once a totally random color that I didn't select showed up. I didn't find any consistency or pattern, but this gif will show how random color choices from dashboard are showing up in the visualization, as well as some of the custom visualization colors showing up in the dashboard, but not all of them.

I only tested this on master, not sure if it's a new bug or something existing.

cc @ppisljar @thomasneirynck

color overrides

@stacey-gammon stacey-gammon added Feature:Dashboard Dashboard related features :Sharing 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 Jul 17, 2017
@ppisljar
Copy link
Member

updating the colors on dashboard should have no effect on saved visualization (as thats set in dashbards uiState)

dashboard color should always override the color set on vis.

the other thing is that color is asigned to label, when a new IP appears, it will get assigned a new random color ... i am not sure if new ips pop up here, its moving a bit too fast. do you have a video of this which i can play forward/backward ?

@stacey-gammon
Copy link
Contributor Author

The ips should all be the same - I never changed the timestamp, so that shouldn't be it.

Here are some steps where I encountered the issue, but I tried them a second time and can't consistently repro:

  • Create new pie chart split on ip with default colors and add to dashboard.
  • on the dashboard, change all the colors to blue-ish, save dashboard.
  • go to visualize, change all colors to yellowish.
  • go back to dashboard.
  • go back to visualize.
  • one pie slice spontaneously flipped to purple.

Now I'm having a hard time reproing it at all. hmmmmm....

@stacey-gammon
Copy link
Contributor Author

Just reproed again, but not consistently. Very strange. At least, it looks like the dashboard color selections aren't overriding the visualization choices. It just seems like one pie slice sporadically changes back to the default color.

@stacey-gammon
Copy link
Contributor Author

Here's more weirdness I am encountering:

Just switching from dashboard to visualize and back to dashboard changes the chart colors. Where is that orange slice coming from?

piecolors-stillwonky-2

@stacey-gammon
Copy link
Contributor Author

And again, simply adding multiple pie charts to my dashboard (when I never changed any colors in visualize or on dashboard) gives me weird color results:

screen shot 2017-08-03 at 12 45 38 pm

@stacey-gammon
Copy link
Contributor Author

@ppisljar in the first gif, the ip 3.90.46.174 changes from orange to green and back again.

In the last screen shot, there is the addition of 200.53.48.225. But that's strange because I didn't change the date and this is old logstash data, so I'm not sure why I'm getting back different ips.

@stacey-gammon
Copy link
Contributor Author

Hm, actually this might not be a bug - or at least the part with the changing ips. Looks like makelogs generates logs in the future now, so indeed it appears that I am getting an influx of data which is changing the "top 5" ips that should show up in the chart.

@stacey-gammon
Copy link
Contributor Author

Going to close, assuming this was just a mistake regarding the updating IPs. A closer look at the gif reveals that the 3.90.46.174 ip is indeed new, hence the color change.

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:Dashboard Dashboard related features Feature:Visualizations Generic visualization features (in case no more specific feature label is available)
Projects
None yet
Development

No branches or pull requests

2 participants