What are the colours for in Java Mission Control's MBean Browser?

203 Views Asked by At

I cannot seem to find any details on what these colours are supposed to indicate or be related to.

Screenshot of JMC MBean Browser

As far as I can tell they don't appear to correlate to anything, and multiple instances of the same MBean interface have different colours assigned to the same attributes.

2

There are 2 best solutions below

2
On BEST ANSWER

Like Alexandre says, they are used in the charts. If you add an attribute to a chart, you can right-click in the chart legend and choose to change the color for that attribute, this will also update the color on the MBean Browser page. If no specific color is set, we will just use hash value of the attribute object to create a color, so that's why the colors appear very random.

0
On

Those colors will be used if you add the attributes to a charts (right click on an attribute and click "visualize").