public class RadarChart extends AbstractChart
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
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 |
---|
RadarChart()
Creates a new
RadarChart object |
RadarChart(java.util.List items)
Creates a new
RadarChart object initialized with an explicit
list |
RadarChart(java.util.List items,
java.lang.String title)
Creates a new
RadarChart object initialized with an explicit
list and a title. |
RadarChart(java.util.List items,
java.lang.String title,
java.awt.Color backgroundColor)
Creates a new
RadarChart object initialized with an explicit
list, a title and a background color. |
RadarChart(TDataBox box)
Creates a new
RadarChart object initialized an explicit data box |
RadarChart(TDataBox box,
java.lang.String title,
java.awt.Color backgroundColor)
Creates a new
RadarChart object initialized with an explicit
data box,a title and a background color. |
RadarChart(TDataBox box,
java.lang.String title,
java.awt.Color backgroundColor,
java.awt.Color foregroundColor)
Creates a new
RadarChart object initialized with an explicit
data box,a title , a background color and a foreground color. |
Modifier and Type | Method and Description |
---|---|
void |
addAxis(java.lang.Object radarAxis)
Adds a new axis.
|
void |
addAxisText(java.lang.Object itemText)
Adds a new axis.
|
protected void |
calculate()
An abstract method that will be called when this chart is publishing data,
The subclass overrides this method to calculate some values.
|
void |
exportSVG(java.lang.String fileName,
int width,
int height) |
java.awt.Color |
getAxisColor()
Gets the color of the axis.
|
int |
getAxisInflexionStyle()
Gets the style of the inflexion in axis.
|
java.util.List |
getAxisList()
Gets the list of the axis.
|
protected int |
getAxisScaleTextPosition(double angle) |
double |
getAxisStartAngle()
Gets the start angle of the axis.
|
java.lang.String |
getAxisStroke()
Gets the stroke of the axis.
|
java.awt.Color |
getAxisTextColor()
Gets the text color of the axis.
|
java.awt.Font |
getAxisTextFont()
Gets the text font of the axis.
|
protected int |
getAxisTextPosition(double angle)
Gets the position of the text of the axis.
|
protected java.lang.String |
getAxisToopTip(int index,
java.lang.String axisLabel)
Gets the tooltip of the axis.
|
java.awt.Rectangle |
getDrawBound()
Gets the bound of the draw area.
|
protected java.awt.Rectangle |
getInflexionBounds(Element element,
java.awt.Point point)
Gets the bounds of the inflexion of the element.
|
protected java.awt.Shape |
getInflexionShape(int inflexionStyle,
java.awt.Rectangle bounds)
Gets the shape of the inflexion .
|
protected java.awt.Dimension |
getInflexionSize(Element element,
java.awt.Point point)
Gets the size of the inflexion.
|
int |
getInflexionStyle()
Gets the inflexion style.
|
int |
getInflexionStyle(Element element)
Gets the style of the inflexion.
|
java.awt.Color |
getRadarFillColor()
Gets the fill color of the radar.
|
java.awt.Color |
getRadarFillGradientColor()
Gets the gradient fill color of the radar.
|
int |
getRadarFillGradientFactory()
Gets the gradient factory of the fill color.
|
java.awt.Color |
getRingMajorColor()
Gets the major ring color.
|
java.lang.String |
getRingMajorStroke()
Gets the major ring stroke.
|
java.awt.Color |
getRingMinColor()
Gets the color of the minimum ring.
|
java.lang.String |
getRingMinStroke()
Gets the stroke of the minimum ring.
|
int |
getRingStyle()
Gets the style of the ring.
|
int |
getScaleMajorCount()
Gets the count of the major scale.
|
java.awt.Color |
getScaleMajorTextColor()
Gets the text color of the major scale.
|
java.awt.Font |
getScaleMajorTextFont()
Gets the text font of the major scale.
|
double |
getScaleMaxValue()
Gets the maximal value of the scale.
|
int |
getScaleMinCount()
Gets the count of the minimum scale.
|
double |
getScaleMinValue()
Gets the minimum value of the scale.
|
protected java.lang.String |
getScaleValueText(java.lang.Object obj,
int index)
Gets the scale value text.
|
java.awt.Color |
getShapeFillGradientColor()
Gets the gradient color of the shape.
|
java.lang.String |
getToolTipText(Element element,
java.lang.Double value,
int index)
Gets the tooltip of the element.
|
boolean |
isAreaFill()
Gets whether the area is filled.
|
protected boolean |
isAreaFill(Element element) |
boolean |
isAxisInflexionVisible()
Gets whether the inflexion of the axis is visible.
|
boolean |
isAxisTextTooltipVisible()
Gets whether the tooltip of the axis is visible in axis line.
|
boolean |
isAxisTextVisible()
Gets whether the text of the axis is visible.
|
boolean |
isAxisVisible()
Gets whether the axis is visible.
|
boolean |
isInflexionVisible()
Gets whether the inflexion is visible.
|
protected boolean |
isInflexionVisible(Element element) |
boolean |
isLineVisible()
Gets whether the line is visible.
|
protected boolean |
isLineVisible(Element element) |
boolean |
isRadarFill()
Gets whether the radar is filled.
|
boolean |
isRadarFillGradient()
Gets whether the fill color of the radar is gradient.
|
boolean |
isRingMinVisible()
Gets whether the minimum ring is visible.
|
boolean |
isRingVisible()
Gets whether the ring is visible.
|
boolean |
isScaleMajorTextVisible()
Gets whether the text of the major scale is visible.
|
protected boolean |
isScaleVisible(int index) |
boolean |
isShapeFill()
Deprecated.
As of 3.0, replaced by
isAreaFill() |
boolean |
isShapeFillGradient()
Gets whether the fill color of the shape is gradient.
|
protected void |
paintAxisInflexion(java.awt.Graphics2D g2d,
java.awt.Stroke stroke,
java.awt.Color color,
java.awt.geom.Point2D.Double point,
int index,
java.lang.String item)
Paints the inflexion of the axis.
|
void |
paintChart(java.awt.Graphics2D g2d,
int width,
int height)
The abstract method of paintChart(Graphics2D, int, int) is left for the
Implication class of
AbstractChart to override for painting
specified chart graphics. |
protected void |
paintInflexion(java.awt.Graphics2D g2d,
Element element,
java.awt.Point point,
java.lang.Double value,
int i) |
void |
removeAxisText(int itemIndex)
Remove a axis by the index.
|
void |
removeAxisText(java.lang.Object itemText)
Removes a axis.
|
void |
setAreaFill(boolean areaFill)
Sets whether the area should be filled.
|
void |
setAxisColor(java.awt.Color axisColor)
Sets the new color for the axis.
|
void |
setAxisInflexionStyle(int axisInflexionStyle)
Sets new style for the inflexion in axis.
|
void |
setAxisInflexionVisible(boolean axisInflexionVisible)
Sets whether the inflexion of the axis is visible.
|
void |
setAxisStartAngle(double axisStartAngle)
Sets the start angle for the axis.
|
void |
setAxisStroke(java.lang.String axisStroke)
Sets the stroke for the axis.
|
void |
setAxisTextColor(java.awt.Color axisTextColor)
Sets the new text color for the axis.
|
void |
setAxisTextFont(java.awt.Font axisTextFont)
Sets the text font for the axis.
|
void |
setAxisTextTooltipVisible(boolean axisTextTooltipVisible)
Sets whether the tooltip of the axis is visible in axis line.
|
void |
setAxisTextVisible(boolean axisTextVisible)
Sets whether the text of the axis should be visible.
|
void |
setAxisVisible(boolean axisVisible)
Sets whether the axis should be visible.
|
protected void |
setChartSVGAttribute(AbstractSVGChart absChart) |
void |
setInflexionStyle(int inflexionStyle)
Sets a new inflexion style for the line chart.
|
void |
setInflexionVisible(boolean inflexionVisible)
Sets whether the inflexion should be visible.
|
void |
setLineVisible(boolean lineVisible)
Sets whether the line should be visible.
|
void |
setRadarFill(boolean radarFill)
Sets whether the radar should be filled.
|
void |
setRadarFillColor(java.awt.Color radarFillColor)
Sets the fill color for the radar.
|
void |
setRadarFillGradient(boolean radarFillGradient)
Sets whether the fill color of the radar should be gradient.
|
void |
setRadarFillGradientColor(java.awt.Color radarFillGradientColor)
Sets the gradient fill color for the radar.
|
void |
setRadarFillGradientFactory(int radarFillGradientFactory)
Sets the gradient factory for the fill color.
|
void |
setRingMajorColor(java.awt.Color ringMajorColor)
Sets the major ring color.
|
void |
setRingMajorStroke(java.lang.String ringMajorStroke)
Sets the major ring stroke.
|
void |
setRingMinColor(java.awt.Color ringMinColor)
Set the color for the minimum ring.
|
void |
setRingMinStroke(java.lang.String ringMinStroke)
Sets the stroke for the minimum ring.
|
void |
setRingMinVisible(boolean ringMinVisible)
Sets whether the minimum ring should be visible.
|
void |
setRingStyle(int ringStyle)
Sets the style for the ring.
|
void |
setRingVisible(boolean ringVisible)
Sets whether the ring should be visible.
|
void |
setScaleMajorCount(int scaleMajorCount)
Sets the count for the major scale.
|
void |
setScaleMajorTextColor(java.awt.Color scaleMajorTextColor)
Sets the text color for the major scale.
|
void |
setScaleMajorTextFont(java.awt.Font scaleMajorTextFont)
Sets the text font for the major scale.
|
void |
setScaleMajorTextVisible(boolean scaleMajorTextVisible)
Sets whether the text of the major scale should be visible.
|
void |
setScaleMaxValue(double scaleMaxValue)
Sets the maximal value for the scale.
|
void |
setScaleMinCount(int scaleMinCount)
Sets the count for the minimum scale.
|
void |
setScaleMinValue(double scaleMinValue)
Sets the minimum value for the scale.
|
void |
setShapeFill(boolean shapeFill)
Deprecated.
As of 3.0, replaced by
setAreaFill(areafill) |
void |
setShapeFillGradient(boolean shapeFillGradient)
Sets whether the fill color of the shape should be gradient.
|
void |
setShapeFillGradientColor(java.awt.Color shapeFillGradientColor)
Sets the gradient color for the shape.
|
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 RadarChart()
RadarChart
objectpublic RadarChart(TDataBox box)
RadarChart
object initialized an explicit data boxbox
- an explicit data boxpublic RadarChart(TDataBox box, java.lang.String title, java.awt.Color backgroundColor)
RadarChart
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 RadarChart(TDataBox box, java.lang.String title, java.awt.Color backgroundColor, java.awt.Color foregroundColor)
RadarChart
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 RadarChart(java.util.List items)
RadarChart
object initialized with an explicit
listitems
- an explicit listpublic RadarChart(java.util.List items, java.lang.String title)
RadarChart
object initialized with an explicit
list and a title.items
- an explicit listtitle
- a title textpublic RadarChart(java.util.List items, java.lang.String title, java.awt.Color backgroundColor)
RadarChart
object initialized with an explicit
list, a title and a background color.items
- an explicit listtitle
- a String
textbackgroundColor
- a background Color
protected void calculate()
AbstractChart
calculate
in class AbstractChart
public void paintChart(java.awt.Graphics2D g2d, int width, int height)
AbstractChart
AbstractChart
to override for painting
specified chart graphics.paintChart
in class AbstractChart
g2d
- the Graphics
context in which to paintwidth
- the width of the chart panelheight
- the height of the chart panelprotected void paintAxisInflexion(java.awt.Graphics2D g2d, java.awt.Stroke stroke, java.awt.Color color, java.awt.geom.Point2D.Double point, int index, java.lang.String item)
protected int getAxisTextPosition(double angle)
protected int getAxisScaleTextPosition(double angle)
protected java.lang.String getAxisToopTip(int index, java.lang.String axisLabel)
index
- the index of the axis.axisLabel
- the label of the axis.protected boolean isScaleVisible(int index)
protected java.lang.String getScaleValueText(java.lang.Object obj, int index)
index
- the index of the scale.valueRange
- the value range of the scale.scaleMinValue
- the minimal value of the scale.scaleMajorCount
- the major count of the scale.protected boolean isInflexionVisible(Element element)
protected boolean isLineVisible(Element element)
protected boolean isAreaFill(Element element)
public java.lang.String getToolTipText(Element element, java.lang.Double value, int index)
protected void paintInflexion(java.awt.Graphics2D g2d, Element element, java.awt.Point point, java.lang.Double value, int i)
protected java.awt.Shape getInflexionShape(int inflexionStyle, java.awt.Rectangle bounds)
inflexionStyle
- the style of the inflexion.bounds
- the bounds of the inflexion.public int getInflexionStyle(Element element)
element
- protected java.awt.Rectangle getInflexionBounds(Element element, java.awt.Point point)
element
- point
- the point where the inflexion is in.protected java.awt.Dimension getInflexionSize(Element element, java.awt.Point point)
element
- point
- public void addAxisText(java.lang.Object itemText)
itemText
- a new axis.public void addAxis(java.lang.Object radarAxis)
radarAxis
- a new axis.public void removeAxisText(java.lang.Object itemText)
itemText
- a axis that is needed to be removed.public void removeAxisText(int itemIndex)
itemIndex
- a axis index that is needed to be removed.public java.awt.Font getAxisTextFont()
setAxisTextFont(Font)
public void setAxisTextFont(java.awt.Font axisTextFont)
axisTextFont
- the new text font of the axis.getAxisTextFont()
public java.awt.Color getAxisTextColor()
setAxisTextColor(Color)
public void setAxisTextColor(java.awt.Color axisTextColor)
axisTextColor
- the new text color for the axis.getAxisTextColor()
public java.awt.Color getAxisColor()
#setAxesTextColor()
public void setAxisColor(java.awt.Color axisColor)
axisColor
- the new color for the axis.getAxisColor()
public java.lang.String getAxisStroke()
setAxisStroke(String)
public void setAxisStroke(java.lang.String axisStroke)
axisStroke
- the stroke for the axis.getAxisStroke()
public double getAxisStartAngle()
setAxisStartAngle(double)
public void setAxisStartAngle(double axisStartAngle)
axisStartAngle
- the start angle for the axis.getAxisStartAngle()
public int getRingStyle()
setRingStyle(int)
public void setRingStyle(int ringStyle)
TWaverConst.RADAE_RING_STYLE_LINE
TWaverConst.RADAE_RING_STYLE_ELLIPSE
ringStyle
- the style for the ring.getRingStyle()
public java.awt.Color getRingMajorColor()
setRingMajorColor(Color)
public void setRingMajorColor(java.awt.Color ringMajorColor)
ringMajorColor
- the major ring color.getRingMajorColor()
public java.lang.String getRingMajorStroke()
setRingMajorStroke(String)
public void setRingMajorStroke(java.lang.String ringMajorStroke)
ringMajorStroke
- the major ring stroke.getRingMajorStroke()
public boolean isRingMinVisible()
setRingMinVisible(boolean)
public void setRingMinVisible(boolean ringMinVisible)
ringMinVisible
- if true the minimum ring should be visible, false otherwise.isRingMinVisible()
public java.awt.Color getRingMinColor()
setRingMinColor(Color)
public void setRingMinColor(java.awt.Color ringMinColor)
ringMinColor
- the color for the minimum ring.getRingMinColor()
public java.lang.String getRingMinStroke()
setRingMinStroke(String)
public void setRingMinStroke(java.lang.String ringMinStroke)
ringMinStroke
- the stroke for the minimum ring.getRingMinStroke()
public double getScaleMaxValue()
setScaleMaxValue(double)
public void setScaleMaxValue(double scaleMaxValue)
scaleMaxValue
- the maximal value for the scale.getScaleMaxValue()
public double getScaleMinValue()
setScaleMinValue(double)
public void setScaleMinValue(double scaleMinValue)
scaleMinValue
- the minimum value for the scalegetScaleMinValue()
public boolean isScaleMajorTextVisible()
setScaleMajorTextVisible(boolean)
public void setScaleMajorTextVisible(boolean scaleMajorTextVisible)
scaleMajorTextVisible
- if true the text of the major scale should be visible, false otherwise.isScaleMajorTextVisible().
public java.awt.Font getScaleMajorTextFont()
setScaleMajorTextFont(Font)
public void setScaleMajorTextFont(java.awt.Font scaleMajorTextFont)
scaleMajorTextFont
- the text font for the major scale.getScaleMajorTextFont()
public java.awt.Color getScaleMajorTextColor()
setScaleMajorTextColor(Color)
public void setScaleMajorTextColor(java.awt.Color scaleMajorTextColor)
scaleMajorTextColor
- the text color for the major scale.getScaleMajorTextColor()
public int getScaleMajorCount()
setScaleMajorCount(int)
public void setScaleMajorCount(int scaleMajorCount)
scaleMajorCount
- the count for the major scale.getScaleMajorCount()
public int getScaleMinCount()
setScaleMinCount(int)
public void setScaleMinCount(int scaleMinCount)
scaleMinCount
- the count for the minimum scale.getScaleMinCount()
public boolean isShapeFill()
isAreaFill()
setShapeFill(boolean)
public void setShapeFill(boolean shapeFill)
setAreaFill(areafill)
shapeFill
- if true the shape should be filled, false otherwise.isShapeFill()
public java.util.List getAxisList()
public java.awt.Rectangle getDrawBound()
public boolean isRingVisible()
setRingVisible(boolean)
public void setRingVisible(boolean ringVisible)
ringVisible
- if true the ring should be visible, false otherwise.isRingVisible()
public boolean isAxisTextVisible()
setAxisTextVisible(boolean)
public void setAxisTextVisible(boolean axisTextVisible)
axisTextVisible
- if true the text of the axis should be visible,false otherwise.isAxisTextVisible()
public boolean isAxisVisible()
setAxisVisible(boolean)
public void setAxisVisible(boolean axisVisible)
axisVisible
- if true the axis should be visible, false otherwise.isAxisVisible()
public boolean isRadarFill()
setRadarFill(boolean)
public void setRadarFill(boolean radarFill)
radarFill
- If true the radar should be filled, false otherwise.isRadarFill()
public java.awt.Color getRadarFillColor()
setRadarFillColor(Color)
public void setRadarFillColor(java.awt.Color radarFillColor)
radarFillColor
- the fill color for the radar.getRadarFillColor()
public boolean isRadarFillGradient()
setRadarFillGradient(boolean)
public void setRadarFillGradient(boolean radarFillGradient)
radarFillGradient
- if true the fill color of the radar should be gradient, false otherwise.isRadarFillGradient()
public java.awt.Color getRadarFillGradientColor()
setRadarFillGradientColor(Color)
public void setRadarFillGradientColor(java.awt.Color radarFillGradientColor)
radarFillGradientColor
- the gradient fill color for the radar.getRadarFillGradientColor()
public int getRadarFillGradientFactory()
setRadarFillGradientFactory(int)
public void setRadarFillGradientFactory(int radarFillGradientFactory)
radarFillGradientFactory
- the gradient factory for the fill color.getRadarFillGradientFactory()
public boolean isShapeFillGradient()
setShapeFillGradient(boolean)
public void setShapeFillGradient(boolean shapeFillGradient)
shapeFillGradient
- if true the fill color of the shape should be gradient, false otherwise.isShapeFillGradient()
public java.awt.Color getShapeFillGradientColor()
setShapeFillGradientColor(Color)
public void setShapeFillGradientColor(java.awt.Color shapeFillGradientColor)
shapeFillGradientColor
- the gradient color for the shape.getShapeFillGradientColor()
public int getAxisInflexionStyle()
setAxisInflexionStyle(int)
public void setAxisInflexionStyle(int axisInflexionStyle)
TWaverConst.INFLEXION_STYLE_CIRCLE
TWaverConst.INFLEXION_STYLE_DIAMOND
TWaverConst.INFLEXION_STYLE_RECTANGLE
TWaverConst.INFLEXION_STYLE_TRIANGLE
axisInflexionStyle
- new style for the inflexion in axis.getAxisInflexionStyle()
public boolean isAxisInflexionVisible()
setAxisInflexionVisible(boolean)
public void setAxisInflexionVisible(boolean axisInflexionVisible)
axisInflexionVisible
- if true the inflexion of the axis is visible, false otherwise.isAxisInflexionVisible()
public boolean isAxisTextTooltipVisible()
setAxisTextTooltipVisible(boolean)
public void setAxisTextTooltipVisible(boolean axisTextTooltipVisible)
tooltipInAxisLineVisible
- if true the tooltip will be visible in axis line, false otherwise.isAxisTextTooltipVisible()
public boolean isInflexionVisible()
setInflexionVisible(boolean)
,
isInflexionVisible(Element)
public void setInflexionVisible(boolean inflexionVisible)
inflexionVisible
- if true the inflexion should ve visible, false otherwise.isInflexionVisible()
,
isInflexionVisible(Element)
public boolean isLineVisible()
setLineVisible(boolean)
,
isLineVisible(Element)
public void setLineVisible(boolean lineVisible)
lineVisible
- if true the line should be visible, false otherwise.isLineVisible()
,
isLineVisible(Element)
public boolean isAreaFill()
setAreaFill(boolean)
,
isAreaFill(Element)
public void setAreaFill(boolean areaFill)
areaFill
- if true the area should be filled, false otherwise.isAreaFill()
,
isAreaFill(Element)
public int getInflexionStyle()
public void setInflexionStyle(int inflexionStyle)
inflexionStyle
- a new inflexion style for the line chartprotected void setChartSVGAttribute(AbstractSVGChart absChart)
setChartSVGAttribute
in class AbstractChart
public void exportSVG(java.lang.String fileName, int width, int height)
exportSVG
in class AbstractChart
Copyright © 2002 - 2010 Serva Software. All Rights Reserved.