public class BubbleChart extends AbstractXYScaleChart
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
markers
antialias, backgroundBounds, backgroundFillColor, backgroundGradient, backgroundGradientColor, backgroundGradientFactory, backgroundOutlineColor, backgroundStroke, backgroundVisible, box, chartPane, fixedValueCount, format, gradient, gradientColor, highlightBackground, highlightForeground, iconHeight, iconWidth, legendFont, legendLayout, legendOrientation, legendPane, lowerLimit, max, min, proportions, proportionsOfRange, proportionsOfSum, publishedElements, range, selectedColor, selectedOffset, selectedStroke, shadowOffset, shapeStructs, sortComparator, stroke, sum, textGap, titleLabel, unit, upperLimit, valueTextCenter, valueTextColor, valueTextFont, valueTextPosition, valueTextVisible, visibleFilters, xGap, yGap
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
BubbleChart()
Creates a new
BubbleChart object |
BubbleChart(java.util.List items)
Creates a new
BubbleChart object initialized with an explicit
list |
BubbleChart(java.util.List items,
java.lang.String title)
Creates a new
BubbleChart object initialized with an explicit
list and a title. |
BubbleChart(java.util.List items,
java.lang.String title,
java.awt.Color backgroundColor)
Creates a new
BubbleChart object initialized with an explicit
list, a title and a background color. |
BubbleChart(java.util.List elements,
java.lang.String title,
java.awt.Color backgroundColor,
java.awt.Color foregroundColor)
Creates a new
BubbleChart object initialized with an explicit
list, a title , a background color and a foreground Color. |
BubbleChart(TDataBox box)
Creates a new
BubbleChart object initialized an explicit data box |
BubbleChart(TDataBox box,
java.lang.String title,
java.awt.Color backgroundColor)
Creates a new
BubbleChart object initialized with an explicit
data box,a title and a background color. |
BubbleChart(TDataBox box,
java.lang.String title,
java.awt.Color backgroundColor,
java.awt.Color foregroundColor)
Creates a new
BubbleChart object initialized with an explicit
data box,a title , a background color and a foreground color. |
Modifier and Type | Method and Description |
---|---|
protected void |
calculateYAxisRange()
Calculate the scale range, max scale,minimal scale of the y axis.
|
void |
exportSVG(java.lang.String fileName,
int width,
int height) |
protected java.awt.Color |
getAreaColor(Element element)
Gets the area color of the element when the line type is area.
|
float |
getBubbleAlpha()
Gets the alpha of the bubble.
|
java.awt.Color |
getBubbleGradientColor()
Gets the gradient color of the bubble.
|
int |
getBubbleGradientFactory()
Gets the gradient factory of the bubble.
|
protected java.util.List |
getBubbleList(Element element,
java.util.List list)
User can rewrite this method to sort the bubble list.
|
int |
getBubbleStyle()
Gets the style of the bubble.
|
int |
getInflexionStyle()
Gets the style of the inflexion.
|
protected java.awt.Color |
getLineColor(Element element,
Bubble startBubble,
Bubble endBubble)
Gets the color of the line.
|
int |
getLineType()
Gets the type of the line.
|
protected java.awt.Color |
getSelectedLineColor(Element element,
Bubble startBubble,
Bubble endBubble)
Gets the color of the selected line.
|
protected java.awt.geom.Rectangle2D.Double |
getShapeBounds(Element element,
java.awt.geom.Point2D.Double point,
Bubble bubble,
int index)
Gets the bounds of the inflexion
|
protected boolean |
getShapeBubbleVisible(Element element,
Bubble bubble,
int index)
Gets whether the bubble shape is visible.
|
protected java.awt.Color |
getShapeColor(Element element,
Bubble bubble,
int index)
Gets the color of the shape.
|
protected boolean |
getShapeLineVisible(Element element)
Gets whether the line is visible.
|
protected double |
getShapeSize(Element element,
Bubble bubble,
int index)
Gets the size of the shape bounds of the inflexion or bubble.
|
protected int |
getShapeStyle(Element element,
Bubble bubble,
int index)
Gets the style of the inflexion.
|
protected java.lang.String |
getToolTipText(Element element,
Bubble bubble,
int index)
Gets the tooltip of the bubble.
|
int |
getValueSpanCount()
Gets the span count of the value.
|
protected java.lang.String |
getValueText(Element element,
Bubble bubble,
int index)
Gets the value text of bubble of the element.
|
protected java.awt.Color |
getValueTextColor(Element element,
Bubble bubble,
int index)
Gets the color of the value text,
|
protected int |
getValueTextPosition(Element element,
Bubble bubble,
int index)
Gets the position of the value text of the element.
|
boolean |
isAreaSelectable()
Gets whether the area can be selected when the line type is TWaverConst.LINE_TYPE_AREA.
|
boolean |
isBubbleGradient()
Gets whether the bubble is gradient.
|
boolean |
isInflexionVisible()
Determines whether the inflexion is visible.
|
boolean |
isShapeBubbleVisible()
Gets whether the bubble is visible when the bubble value >0 .
|
boolean |
isShapeLineVisible()
Gets whether the line is visible.
|
protected void |
paintContent(java.awt.Graphics2D g,
int width,
int height)
Paints the bubbles in the value list of all the element.
|
protected java.awt.Shape |
paintLine(java.awt.Graphics2D g,
java.awt.geom.Line2D.Double line,
Element element,
java.awt.Stroke stroke,
Bubble startBubble,
Bubble endBubble) |
protected void |
paintShape(java.awt.Graphics2D g2d,
Element element,
java.awt.geom.Point2D.Double point,
Bubble bubble,
int index)
Paints the inflexion and bubble shape.
|
void |
removeHead(int count)
Removes the count value from the value list of all elements.
|
void |
setAreaSelectable(boolean areaSelectable)
Sets whether the area can be selected when the line type is TWaverConst.LINE_TYPE_AREA.
|
void |
setBubbleAlpha(float bubbleAlpha)
Sets the alpha for the bubble.
|
void |
setBubbleGradient(boolean bubbleGradient)
Sets whether the bubble is gradient.
|
void |
setBubbleGradientColor(java.awt.Color bubbleGradientColor)
Sets the gradient color of the bubble.
|
void |
setBubbleGradientFactory(int bubbleGradientFactory)
Sets the gradient factory for the bubble
Legal Values are: TWaverConst.GRADIENT_***
|
void |
setBubbleStyle(int bubbleStyle)
Sets new default style for the bubble.
|
protected void |
setChartSVGAttribute(AbstractSVGChart abschart) |
void |
setInflexionStyle(int inflexionStyle)
Sets the style for the inflexion.
|
void |
setInflexionVisible(boolean inflexionVisible)
Sets whether the inflexion should be visible.
|
void |
setLineType(int lineType)
Sets new type for the line.
|
void |
setShapeBubbleVisible(boolean bubbleVisible)
Sets whether the bubble is visible when the bubble value >0 .
|
void |
setShapeLineVisible(boolean lineVisible)
Sets whether the line is visible.
|
void |
setValueSpanCount(int valueSpanCount)
Sets a new span count of the value.
|
addMarker, addMarker, addXScaleText, calculate, calculateXScaleTextHeight, calculateYScaleValueGap, getDrawBound, getFormatedXScaleText, getFormatedYScaleText, getMarkers, getXAxisExtraGap, getXAxisFillColor, getXAxisOutlineColor, getXAxisStartPosition, getXAxisStroke, getXAxisText, getXAxisTextColor, getXAxisTextFont, getXAxisUnit, getXAxisUnitColor, getXAxisUnitFont, getXScaleActualValueGap, getXScaleHideValueIndex, getXScaleLineColor, getXScaleLineStroke, getXScaleMaxValue, getXScaleMinValue, getXScalePixelGap, getXScaleTextColor, getXScaleTextFont, getXScaleTextFormat, getXScaleTextFromScaleList, getXScaleTextList, getXScaleTextOrientation, getXScaleValueGap, getYAxisFillColor, getYAxisOutlineColor, getYAxisStartPosition, getYAxisStroke, getYAxisText, getYAxisTextColor, getYAxisTextFont, getYAxisUnit, getYAxisUnitColor, getYAxisUnitFont, getYScaleActualValueGap, getYScaleHideValueIndex, getYScaleLineColor, getYScaleLineStroke, getYScaleMaxValue, getYScaleMinValue, getYScalePixelGap, getYScaleTextColor, getYScaleTextFont, getYScaleTextFormat, getYScaleValueGap, isXAxisUnitVisible, isXAxisVisible, isXScaleLineVisible, isXScaleTextOnTop, isXScaleTextVisible, isYAxisUnitVisible, isYAxisVisible, isYScaleLineVisible, isYScaleTextInside, isYScaleTextVisible, isYScaleValueGapAutoCalculate, paintChart, removeMarker, setMarkers, setXAxisFillColor, setXAxisOutlineColor, setXAxisStartPosition, setXAxisStroke, setXAxisText, setXAxisTextColor, setXAxisTextFont, setXAxisUnit, setXAxisUnitColor, setXAxisUnitFont, setXAxisUnitVisible, setXAxisVisible, setXScaleHideValueIndex, setXScaleLineColor, setXScaleLineStroke, setXScaleLineVisible, setXScaleMaxValue, setXScaleMinValue, setXScalePixelGap, setXScaleTextColor, setXScaleTextFont, setXScaleTextFormat, setXScaleTextList, setXScaleTextOnTop, setXScaleTextOrientation, setXScaleTextVisible, setXScaleValueGap, setYAxisFillColor, setYAxisOutlineColor, setYAxisStartPosition, setYAxisStroke, setYAxisText, setYAxisTextColor, setYAxisTextFont, setYAxisUnit, setYAxisUnitColor, setYAxisUnitFont, setYAxisUnitVisible, setYAxisVisible, setYScaleHideValueIndex, setYScaleLineColor, setYScaleLineStroke, setYScaleLineVisible, setYScaleMaxValue, setYScaleMinValue, setYScalePixelGap, setYScaleTextColor, setYScaleTextFont, setYScaleTextFormat, setYScaleTextInside, setYScaleTextVisible, setYScaleValueGap, setYScaleValueGapAutoCalculate
addElementClickedActionListener, addElementDoubleClickedActionListener, addItem, addSelectableFilter, addVisibleFilter, cleanDirtyState, clearItems, clearSelectableFilters, exportImage, exportImage, exportSVG, exportToImageIcon, fireElementClicked, fireElementDoubleClicked, getBackgroundBounds, getBackgroundFillColor, getBackgroundGradientColor, getBackgroundGradientFactory, getBackgroundOutlineColor, getBackgroundStroke, getChartPane, getColor, getDataBox, getElementAt, getElementClickedActionListeners, getElementDoubleClickedActionListeners, getFormat, getFormat, getFormatedText, getFormatedText, getGradientColor, getGradientColor, getHighlightBackground, getHighlightForeground, getIconHeight, getIconWidth, getItemByIndex, getItemCount, getItems, getLegendElements, getLegendFont, getLegendLabel, getLegendLayout, getLegendOrientation, getLegendPane, getLowerLimit, getMax, getMaxZoom, getMin, getMinZoom, getPopupMenuGenerator, getPublishedElements, getSelectableFilters, getSelectedColor, getSelectedColor, getSelectedOffset, getSelectedStroke, getSelectedStroke, getShadowOffset, getShapeStructAt, getSortComparator, getStroke, getStroke, getTextGap, getTitle, getTitleLabel, getToolTipText, getUnit, getUpperLimit, getValue, getValues, getValueTextColor, getValueTextFont, getValueTextPosition, getVisibleFilters, getXGap, getXTranslate, getXZoom, getYGap, getYTranslate, getYZoom, getZoomIncrement, isAntialias, isBackgroundGradient, isBackgroundVisible, isClearSelectionOnMarginClicked, isEnableDoubleClickToReset, isEnableToolTipText, isEnableXTranslate, isEnableXZoom, isEnableYTranslate, isEnableYZoom, isGradient, isIteratorByHiberarchy, isLazyPublishMode, isLocked, isSelectable, isSelectableOnRightClick, isValueTextCenter, isValueTextVisible, isVisible, lock, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, paint, paintBackground, paintComponent, publishData, publishData, removeElementClickedActionListener, removeElementDoubleClickedActionListener, removeItem, removeSelectableFilter, removeVisibleFilter, reset, setAntialias, setBackgroundFillColor, setBackgroundGradient, setBackgroundGradientColor, setBackgroundGradientFactory, setBackgroundOutlineColor, setBackgroundStroke, setBackgroundVisible, setClearSelectionOnMarginClicked, setDataBox, setEnableDoubleClickToReset, setEnableToolTipText, setEnableXTranslate, setEnableXZoom, setEnableYTranslate, setEnableYZoom, setForeground, setFormat, setGradient, setGradientColor, setHighlightBackground, setHighlightForeground, setIconHeight, setIconWidth, setItems, setIteratorByHiberarchy, setLazyPublishMode, setLegendFont, setLegendLayout, setLegendOrientation, setLowerLimit, setMaxZoom, setMinZoom, setPopupMenuGenerator, setSelectableOnRightClick, setSelectedColor, setSelectedOffset, setSelectedStroke, setShadowOffset, setSortComparator, setStroke, setTextGap, setTitle, setTranslate, setUnit, setUpperLimit, setValueTextCenter, setValueTextColor, setValueTextFont, setValueTextPosition, setValueTextVisible, setXGap, setXTranslate, setXZoom, setYGap, setYTranslate, setYZoom, setZoomIncrement, unlock, updateTViewUI, zoomIn, zoomOut
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public BubbleChart()
BubbleChart
objectpublic BubbleChart(TDataBox box)
BubbleChart
object initialized an explicit data boxbox
- an explicit data boxpublic BubbleChart(TDataBox box, java.lang.String title, java.awt.Color backgroundColor)
BubbleChart
object initialized with an explicit
data box,a title and a background color.box
- an explicit data box object.title
- a String
titlebackgroundColor
- a background Color
objectpublic BubbleChart(TDataBox box, java.lang.String title, java.awt.Color backgroundColor, java.awt.Color foregroundColor)
BubbleChart
object initialized with an explicit
data box,a title , a background color and a foreground color.box
- an explicit data box object.title
- a String
titlebackgroundColor
- a background Color
objectforegroundColor
- a foreground Color
objectpublic BubbleChart(java.util.List items)
BubbleChart
object initialized with an explicit
listitems
- an explicit listpublic BubbleChart(java.util.List items, java.lang.String title)
BubbleChart
object initialized with an explicit
list and a title.items
- an explicit listtitle
- a title textpublic BubbleChart(java.util.List items, java.lang.String title, java.awt.Color backgroundColor)
BubbleChart
object initialized with an explicit
list, a title and a background color.items
- an explicit listtitle
- a String
textbackgroundColor
- a background Color
public BubbleChart(java.util.List elements, java.lang.String title, java.awt.Color backgroundColor, java.awt.Color foregroundColor)
BubbleChart
object initialized with an explicit
list, a title , a background color and a foreground Color.elements
- an explicit listtitle
- a String
textbackgroundColor
- a background Color
foregroundColor
- a foreground Color
protected void calculateYAxisRange()
calculateYAxisRange
in class AbstractXYScaleChart
protected void paintContent(java.awt.Graphics2D g, int width, int height)
paintContent
in class AbstractXYScaleChart
protected java.util.List getBubbleList(Element element, java.util.List list)
element
- list
- the primal listprotected boolean getShapeLineVisible(Element element)
element
- protected boolean getShapeBubbleVisible(Element element, Bubble bubble, int index)
element
- bubble
- index
- protected java.awt.Shape paintLine(java.awt.Graphics2D g, java.awt.geom.Line2D.Double line, Element element, java.awt.Stroke stroke, Bubble startBubble, Bubble endBubble)
protected java.awt.Color getLineColor(Element element, Bubble startBubble, Bubble endBubble)
protected java.awt.Color getSelectedLineColor(Element element, Bubble startBubble, Bubble endBubble)
protected void paintShape(java.awt.Graphics2D g2d, Element element, java.awt.geom.Point2D.Double point, Bubble bubble, int index)
g2d
- element
- the Element instance which contains the bubblepoint
- the point where the shape is painted.bubble
- the Bubble instanceindex
- protected java.awt.Color getAreaColor(Element element)
element
- protected int getValueTextPosition(Element element, Bubble bubble, int index)
element
- bubble
- protected java.awt.Color getValueTextColor(Element element, Bubble bubble, int index)
element
- bubble
- index
- protected java.lang.String getValueText(Element element, Bubble bubble, int index)
element
- bubble
- index
- protected java.lang.String getToolTipText(Element element, Bubble bubble, int index)
element
- bubble
- index
- protected java.awt.Color getShapeColor(Element element, Bubble bubble, int index)
protected int getShapeStyle(Element element, Bubble bubble, int index)
protected java.awt.geom.Rectangle2D.Double getShapeBounds(Element element, java.awt.geom.Point2D.Double point, Bubble bubble, int index)
protected double getShapeSize(Element element, Bubble bubble, int index)
public void removeHead(int count)
count
- the number that needs to be removed.public boolean isInflexionVisible()
public void setInflexionVisible(boolean inflexionVisible)
inflexionVisible
- if true the inflexion should be visible, false otherwise.public int getInflexionStyle()
setInflexionStyle(int)
public void setInflexionStyle(int inflexionStyle)
TWaverConst.INFLEXION_STYLE_CIRCLE
TWaverConst.INFLEXION_STYLE_DIAMOND
TWaverConst.INFLEXION_STYLE_RECTANGLE
TWaverConst.INFLEXION_STYLE_TRIANGLE
inflexionStyle
- the style for the inflexion.getInflexionStyle()
public int getLineType()
setLineType(int)
public void setLineType(int lineType)
lineType
- new type for the line.getLineType()
public boolean isAreaSelectable()
setAreaSelectable(boolean)
public void setAreaSelectable(boolean areaSelectable)
areaSelectable
- if true the area can be selected, false otherwise.isAreaSelectable()
public boolean isShapeLineVisible()
#setLineVisible(boolean)
public void setShapeLineVisible(boolean lineVisible)
lineVisible
- if true the line will be visible, false otherwise.#isLineVisible()
public boolean isShapeBubbleVisible()
#setBubbleVisible(boolean)
public void setShapeBubbleVisible(boolean bubbleVisible)
bubbleVisible
- if true the bubble will be visible when the bubble value >0, false otherwise.#isBubbleVisible()
public float getBubbleAlpha()
setBubbleAlpha(float)
public void setBubbleAlpha(float bubbleAlpha)
bubbleAlpha
must be a floating point number in the inclusive range [0.0, 1.0].bubbleAlpha
- the alpha for the bubble.getBubbleAlpha()
public int getBubbleGradientFactory()
setBubbleGradientFactory(int)
public void setBubbleGradientFactory(int bubbleGradientFactory)
bubbleGradientFactory
- the gradient factory for the bubble.getBubbleGradientFactory()
public boolean isBubbleGradient()
setBubbleGradient(boolean)
public void setBubbleGradient(boolean bubbleGradient)
bubbleGradient
- if true the bubble will be gradient, false otherwise.isBubbleGradient()
public int getBubbleStyle()
setBubbleStyle(int)
public void setBubbleStyle(int bubbleStyle)
bubbleStyle
- new default style for the bubble.getBubbleStyle()
public java.awt.Color getBubbleGradientColor()
setBubbleGradientColor(Color)
public void setBubbleGradientColor(java.awt.Color bubbleGradientColor)
bubbleGradientColor
- the gradient color of the bubble.getBubbleGradientColor()
public int getValueSpanCount()
public void setValueSpanCount(int valueSpanCount)
valueSpanCount
- a new span count of the valueprotected void setChartSVGAttribute(AbstractSVGChart abschart)
setChartSVGAttribute
in class AbstractXYScaleChart
public void exportSVG(java.lang.String fileName, int width, int height)
exportSVG
in class AbstractChart
Copyright © 2002 - 2010 Serva Software. All Rights Reserved.