com.extjs.gxt.charts.client.model.charts
Class ScatterChart

java.lang.Object
  extended by com.extjs.gxt.ui.client.data.BaseModelData
      extended by com.extjs.gxt.ui.client.data.BaseModel
          extended by com.extjs.gxt.charts.client.model.charts.ChartConfig
              extended by com.extjs.gxt.charts.client.model.charts.ScatterChart
All Implemented Interfaces:
ChangeEventSource, Model, ModelData, java.io.Serializable

public class ScatterChart
extends ChartConfig

OFC scatter chart

See Also:
Serialized Form

Nested Class Summary
static class ScatterChart.ScatterStyle
           
 
Field Summary
 
Fields inherited from class com.extjs.gxt.charts.client.model.charts.ChartConfig
dataProvider, model
 
Fields inherited from class com.extjs.gxt.ui.client.data.BaseModel
changeEventSupport
 
Fields inherited from class com.extjs.gxt.ui.client.data.BaseModelData
allowNestedValues, map
 
Fields inherited from interface com.extjs.gxt.ui.client.data.ChangeEventSource
Add, Remove, Update
 
Constructor Summary
ScatterChart()
          Creates a new scatter chart with ScatterStyle.POINT style
ScatterChart(ScatterChart.ScatterStyle style)
          Creates a new scatter chart with provided style.
 
Method Summary
 void addPoint(java.lang.Number x, java.lang.Number y)
          Adds the point.
 void addPoints(BaseDot... points)
          Adds the points.
 void addPoints(java.util.Collection<BaseDot> points)
          Adds the points.
 java.lang.String getColour()
          Returns the colour.
 java.lang.Integer getDotSize()
          Returns the dot size.
 void setColour(java.lang.String colour)
          Sets the colour in HTML hex format (#ffffff).
 void setDotSize(java.lang.Integer dotSize)
          Sets the dot size.
 
Methods inherited from class com.extjs.gxt.charts.client.model.charts.ChartConfig
addChartListener, addNullValue, getChartListeners, getDataProvider, getFontSize, getModel, getText, getTooltip, getType, getValues, isEnableEvents, removeChartListener, setAnimateOnShow, setDataProvider, setEnableEvents, setFontSize, setKeys, setKeys, setModel, setText, setTooltip, setValues
 
Methods inherited from class com.extjs.gxt.ui.client.data.BaseModel
addChangeListener, addChangeListener, fireEvent, fireEvent, isSilent, notify, notifyPropertyChanged, remove, removeChangeListener, removeChangeListeners, set, setSilent
 
Methods inherited from class com.extjs.gxt.ui.client.data.BaseModelData
get, get, getProperties, getPropertyNames, isAllowNestedValues, setAllowNestedValues, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.extjs.gxt.ui.client.data.ModelData
get, getProperties, getPropertyNames
 

Constructor Detail

ScatterChart

public ScatterChart()
Creates a new scatter chart with ScatterStyle.POINT style


ScatterChart

public ScatterChart(ScatterChart.ScatterStyle style)
Creates a new scatter chart with provided style.

Method Detail

addPoint

public void addPoint(java.lang.Number x,
                     java.lang.Number y)
Adds the point.

Parameters:
x - the x
y - the y

addPoints

public void addPoints(java.util.Collection<BaseDot> points)
Adds the points.

Parameters:
points - the points

addPoints

public void addPoints(BaseDot... points)
Adds the points.

Parameters:
points - the points

getColour

public java.lang.String getColour()
Returns the colour.

Returns:
the colour

getDotSize

public java.lang.Integer getDotSize()
Returns the dot size.

Returns:
the dot size

setColour

public void setColour(java.lang.String colour)
Sets the colour in HTML hex format (#ffffff).

Parameters:
colour - the new colour

setDotSize

public void setDotSize(java.lang.Integer dotSize)
Sets the dot size.

Parameters:
dotSize - the new dot size