United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6471559 JConsole charts should accept small values (floating point)
JDK-6471559 : JConsole charts should accept small values (floating point)

Details
Type:
Bug
Submit Date:
2006-09-15
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
tools
OS:
generic,windows_xp
Sub-Component:
jconsole
CPU:
x86,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Backport:
Duplicate:

Sub Tasks

Description
A DESCRIPTION OF THE REQUEST :
Currently the charts that are shown when you double-click a value for your custom MBeans only draws integer values.

The problem is that if you, for example, have a double attribute that only takes values between 0 and 1. Since the chart only accepts the integer value of the attribute. You get a chart with a straigth line with the constant value 0


JUSTIFICATION :
It's quite common to have values that only lie between two consecutive integers or in a very small interval.

                                    

Comments
EVALUATION

The Plotter class need to be updated to deal with floating point, and the mbeans attribute viewers need to take advantage of that.
                                     
2006-09-15
EVALUATION

The Plotter class will now be able to handle decimals, using integer arithmetic. For example, a float value can be multiplied by 100 and then plotted with two decimals.
                                     
2006-11-15



Hardware and Software, Engineered to Work Together