EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.google.chart
Class RadarChart<N extends Number>

java.lang.Object
  extended by nextapp.echo.app.Component
      extended by echopoint.internal.AbstractContainer
          extended by echopoint.google.chart.internal.AbstractChart<N>
              extended by echopoint.google.chart.internal.SimpleChart<N>
                  extended by echopoint.google.chart.internal.AdvancedChart<N>
                      extended by echopoint.google.chart.RadarChart<N>
All Implemented Interfaces:
Serializable, RenderIdSupport

public class RadarChart<N extends Number>
extends AdvancedChart<N>

Component wrapper for a Radar chart provided by Google Chart API.

The following code shows sample use of this component:

   import echopoint.google.chart.RadarChart;
   import echopoint.google.chart.model.ChartData;

     ...
     final ChartData<Integer> data = new ChartData<Integer>();
     final Integer[] array = new Integer[] { 30, 60, 70, 90, 95, 110 };
     final List<Integer> xdata = Arrays.asList( array );
     final int xmax = 120;

     data.setXdata( xdata );
     data.setXmax( xmax );

     final RadarChart<Integer> chart = new RadarChart<Integer>();
     chart.setLineStyle( RadarChart.LineStyle.rs );
     final ArrayList<ChartData<Integer>> collection = new ArrayList<ChartData<Integer>>();
     collection.add( data );
     chart.setData( collection );
 

Version:
$Id: RadarChart.java 66 2008-09-09 08:13:37Z sptrakesh $
Author:
Rakesh Vidyadharan 2008-08-24
See Also:
Serialized Form

Nested Class Summary
static class RadarChart.LineStyle
          The enumeration of line styles supported by the chart.
 
Field Summary
static String PROPERTY_LINE_STYLE
          The line style for the chart.
 
Fields inherited from class echopoint.google.chart.internal.AdvancedChart
PROPERTY_AXIS_LABELS, PROPERTY_AXIS_RANGES, PROPERTY_AXIS_STYLES, PROPERTY_AXIS_TYPE, PROPERTY_FILL_AREA, PROPERTY_GRID_LINES, PROPERTY_LABEL_POSITIONS, PROPERTY_LINE_STYLES, PROPERTY_RANGE_MARKERS
 
Fields inherited from class echopoint.google.chart.internal.SimpleChart
PROPERTY_LEGEND_POSITION
 
Fields inherited from class echopoint.google.chart.internal.AbstractChart
PROPERTY_ALT, PROPERTY_DATA, PROPERTY_FILL, PROPERTY_TITLE
 
Fields inherited from class echopoint.internal.AbstractContainer
ACTION_COMMAND_PROPERTY, ACTION_LISTENERS_CHANGED_PROPERTY, INPUT_ACTION, PROPERTY_ALIGNMENT, PROPERTY_BACKGROUND_IMAGE, PROPERTY_BORDER, PROPERTY_HEIGHT, PROPERTY_INSETS, PROPERTY_WIDTH
 
Fields inherited from class nextapp.echo.app.Component
CHILD_VISIBLE_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_NEXT_ID_CHANGED_PROPERTY, FOCUS_PREVIOUS_ID_CHANGED_PROPERTY, LAYOUT_DIRECTION_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, PROPERTY_BACKGROUND, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_LAYOUT_DATA, STYLE_CHANGED_PROPERTY, STYLE_NAME_CHANGED_PROPERTY, VISIBLE_CHANGED_PROPERTY
 
Constructor Summary
RadarChart()
           
 
Method Summary
 String getLineStyle()
          Return the PROPERTY_LINE_STYLE property value.
 void setLineStyle(RadarChart.LineStyle lineStyle)
          Set the value of the PROPERTY_LINE_STYLE property.
 void setLineStyle(String style)
          Set the value of the PROPERTY_LINE_STYLE property.
 
Methods inherited from class echopoint.google.chart.internal.AdvancedChart
getAxisLabels, getAxisRanges, getAxisStyles, getAxisType, getFillArea, getGridLines, getLabelPositions, getLineStyles, getRangeMarkers, setAxisLabels, setAxisRanges, setAxisStyles, setAxisType, setFillArea, setGridLines, setLabelPositions, setLineStyles, setRangeMarkers
 
Methods inherited from class echopoint.google.chart.internal.SimpleChart
getLegendPosition, setLegendPosition
 
Methods inherited from class echopoint.google.chart.internal.AbstractChart
getAlt, getData, getFill, getTitle, isValidChild, setAlt, setData, setData, setFill, setTitle
 
Methods inherited from class echopoint.internal.AbstractContainer
addActionListener, fireActionPerformed, getAlignment, getBackgroundImage, getBorder, getHeight, getInsets, getWidth, hasActionListeners, removeActionListener, setAlignment, setBackgroundImage, setBorder, setHeight, setInsets, setWidth
 
Methods inherited from class nextapp.echo.app.Component
add, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, get, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusNextId, getFocusPreviousId, getFont, getForeground, getId, getIndex, getLayoutData, getLayoutDirection, getLocale, getLocalStyle, getParent, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLocale, getRenderProperty, getRenderProperty, getStyle, getStyleName, getVisibleComponent, getVisibleComponentCount, getVisibleComponents, hasEventListenerList, indexOf, init, isAncestorOf, isEnabled, isFocusTraversalParticipant, isRegistered, isRenderEnabled, isRenderVisible, isValidParent, isVisible, processInput, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, set, setBackground, setComponents, setEnabled, setFocusNextId, setFocusPreviousId, setFocusTraversalParticipant, setFont, setForeground, setId, setIndex, setLayoutData, setLayoutDirection, setLocale, setRenderId, setStyle, setStyleName, setVisible, validate, verifyInput, visibleIndexOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_LINE_STYLE

public static final String PROPERTY_LINE_STYLE
The line style for the chart. This proeprty is best styled. Note that the values must correspond to RadarChart.LineStyle.

See Also:
Constant Field Values
Constructor Detail

RadarChart

public RadarChart()
Method Detail

getLineStyle

public String getLineStyle()
Return the PROPERTY_LINE_STYLE property value.

Returns:
The value of the property.

setLineStyle

public void setLineStyle(String style)
Set the value of the PROPERTY_LINE_STYLE property. Direct use of this method is not recommended.

Parameters:
style - The line style to use for the chart.
See Also:
setLineStyle( LineStyle )

setLineStyle

public void setLineStyle(RadarChart.LineStyle lineStyle)
Set the value of the PROPERTY_LINE_STYLE property. This is the preferred mutator method for this proeprty.

Parameters:
lineStyle - The line style to use.

EchoPoint API - 3.0.0b5
App Webcontainer