VisualVM 1.3 API
Specification

com.sun.tools.visualvm.charts
Class SimpleXYChartDescriptor

java.lang.Object
  extended by com.sun.tools.visualvm.charts.SimpleXYChartDescriptor

public final class SimpleXYChartDescriptor
extends java.lang.Object

Descriptor to define a simple XY chart.

Author:
Jiri Sedlacek

Method Summary
 void addFillItems(java.lang.String... itemNames)
           
 void addItem(java.lang.String itemName, java.awt.Color itemColor, float lineWidth, java.awt.Color lineColor, java.awt.Color fillColor1, java.awt.Color fillColor2)
           
 void addLineFillItems(java.lang.String... itemNames)
           
 void addLineItems(java.lang.String... itemNames)
           
static SimpleXYChartDescriptor bytes(long initialYMargin, boolean hideableItems, int valuesBuffer)
           
static SimpleXYChartDescriptor bytes(long minValue, long maxValue, long initialYMargin, boolean hideableItems, int valuesBuffer)
           
static SimpleXYChartDescriptor decimal(long initialYMargin, boolean hideableItems, int valuesBuffer)
           
static SimpleXYChartDescriptor decimal(long initialYMargin, double chartFactor, boolean hideableItems, int valuesBuffer)
           
static SimpleXYChartDescriptor decimal(long minValue, long maxValue, long initialYMargin, double chartFactor, boolean hideableItems, int valuesBuffer)
           
static SimpleXYChartDescriptor percent(boolean hideableItems, double chartFactor, int valuesBuffer)
           
static SimpleXYChartDescriptor percent(boolean hideableItems, int valuesBuffer)
           
static SimpleXYChartDescriptor percent(long minValue, long maxValue, long initialYMargin, boolean hideableItems, double chartFactor, int valuesBuffer)
           
 void setChartTitle(java.lang.String chartTitle)
           
 void setDetailsItems(java.lang.String[] detailNames)
           
 void setXAxisDescription(java.lang.String xAxisDescription)
           
 void setYAxisDescription(java.lang.String yAxisDescription)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

decimal

public static SimpleXYChartDescriptor decimal(long initialYMargin,
                                              boolean hideableItems,
                                              int valuesBuffer)

decimal

public static SimpleXYChartDescriptor decimal(long initialYMargin,
                                              double chartFactor,
                                              boolean hideableItems,
                                              int valuesBuffer)

decimal

public static SimpleXYChartDescriptor decimal(long minValue,
                                              long maxValue,
                                              long initialYMargin,
                                              double chartFactor,
                                              boolean hideableItems,
                                              int valuesBuffer)

bytes

public static SimpleXYChartDescriptor bytes(long initialYMargin,
                                            boolean hideableItems,
                                            int valuesBuffer)

bytes

public static SimpleXYChartDescriptor bytes(long minValue,
                                            long maxValue,
                                            long initialYMargin,
                                            boolean hideableItems,
                                            int valuesBuffer)

percent

public static SimpleXYChartDescriptor percent(boolean hideableItems,
                                              int valuesBuffer)

percent

public static SimpleXYChartDescriptor percent(boolean hideableItems,
                                              double chartFactor,
                                              int valuesBuffer)

percent

public static SimpleXYChartDescriptor percent(long minValue,
                                              long maxValue,
                                              long initialYMargin,
                                              boolean hideableItems,
                                              double chartFactor,
                                              int valuesBuffer)

addLineItems

public void addLineItems(java.lang.String... itemNames)

addFillItems

public void addFillItems(java.lang.String... itemNames)

addLineFillItems

public void addLineFillItems(java.lang.String... itemNames)

addItem

public void addItem(java.lang.String itemName,
                    java.awt.Color itemColor,
                    float lineWidth,
                    java.awt.Color lineColor,
                    java.awt.Color fillColor1,
                    java.awt.Color fillColor2)

setDetailsItems

public void setDetailsItems(java.lang.String[] detailNames)

setChartTitle

public void setChartTitle(java.lang.String chartTitle)

setXAxisDescription

public void setXAxisDescription(java.lang.String xAxisDescription)

setYAxisDescription

public void setYAxisDescription(java.lang.String yAxisDescription)

VisualVM 1.3 API
Specification