ca.nanometrics.gflot.client.jsni
Class Plot
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
ca.nanometrics.gflot.client.jsni.Plot
public class Plot
- extends com.google.gwt.core.client.JavaScriptObject
- Author:
- AlexanderDeleon
|
Constructor Summary |
protected |
Plot()
|
|
Method Summary |
void |
addPlotClickListener(com.google.gwt.user.client.Element container,
PlotClickListener listener,
boolean onlyOnDatapoint)
|
void |
addPlotHoverListener(com.google.gwt.user.client.Element container,
PlotHoverListener listener,
boolean onlyOnDatapoint)
|
void |
addSelectionListener(com.google.gwt.user.client.Element container,
SelectionListener listener)
|
static Plot |
create(com.google.gwt.user.client.Element container,
Series[] series)
|
static Plot |
create(com.google.gwt.user.client.Element container,
Series[] series,
PlotOptions options)
|
void |
draw()
|
int |
getPlotOffsetBottom()
|
int |
getPlotOffsetLeft()
|
int |
getPlotOffsetRight()
|
int |
getPlotOffsetTop()
|
void |
setData(Series series)
|
void |
setData(Series[] series)
|
void |
setLinearSelection(double x1,
double x2)
|
void |
setRectangularSelection(double x1,
double y1,
double x2,
double y2)
|
void |
setupGrid()
|
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
cast, createArray, createFunction, createObject, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Plot
protected Plot()
create
public static Plot create(com.google.gwt.user.client.Element container,
Series[] series)
create
public static Plot create(com.google.gwt.user.client.Element container,
Series[] series,
PlotOptions options)
setData
public final void setData(Series[] series)
setData
public final void setData(Series series)
draw
public final void draw()
setupGrid
public final void setupGrid()
setLinearSelection
public final void setLinearSelection(double x1,
double x2)
setRectangularSelection
public final void setRectangularSelection(double x1,
double y1,
double x2,
double y2)
addSelectionListener
public final void addSelectionListener(com.google.gwt.user.client.Element container,
SelectionListener listener)
addPlotHoverListener
public final void addPlotHoverListener(com.google.gwt.user.client.Element container,
PlotHoverListener listener,
boolean onlyOnDatapoint)
addPlotClickListener
public final void addPlotClickListener(com.google.gwt.user.client.Element container,
PlotClickListener listener,
boolean onlyOnDatapoint)
getPlotOffsetLeft
public final int getPlotOffsetLeft()
getPlotOffsetRight
public final int getPlotOffsetRight()
getPlotOffsetTop
public final int getPlotOffsetTop()
getPlotOffsetBottom
public final int getPlotOffsetBottom()
Copyright © 2009. All Rights Reserved.