public static Plot create(Element container, Series[] series, PlotOptions options) { JavaScriptObject optionsJs = null; if (null == options) { optionsJs = null; } else { optionsJs = JSONHelper.getJSONObject(options).getJavaScriptObject(); } return PlotImpl.create( container, JSONHelper.getJSONArray(JSONHelper.wrapArray(series)).getJavaScriptObject(), optionsJs); }
public static void loadDataImages( Series[] series, PlotOptions options, LoadImagesCallback callback) { JavaScriptObject optionsJs = null; if (null == options) { optionsJs = null; } else { optionsJs = JSONHelper.getJSONObject(options).getJavaScriptObject(); } PlotImpl.loadDataImages( JSONHelper.getJSONArray(JSONHelper.wrapArray(series)).getJavaScriptObject(), optionsJs, callback); }
public final void setData(Series[] series) { PlotImpl.setData( this, JSONHelper.getJSONArray(JSONHelper.wrapArray(series)).getJavaScriptObject()); }
public static Plot create(Element container, Series[] series) { return PlotImpl.create( container, JSONHelper.getJSONArray(JSONHelper.wrapArray(series)).getJavaScriptObject()); }
public final void lockCrosshair(PlotPosition pos) { PlotImpl.lockCrosshair(this, JSONHelper.getJSONObject(pos).getJavaScriptObject()); }
public final void pan(Pan pan) { PlotImpl.pan(this, JSONHelper.getJSONObject(pan).getJavaScriptObject()); }
public final void zoomOut(Zoom zoom) { PlotImpl.zoomOut(this, JSONHelper.getJSONObject(zoom).getJavaScriptObject()); }
public final void setSelection(PlotSelectionArea area, boolean preventEvent) { PlotImpl.setSelection(this, JSONHelper.getJSONObject(area).getJavaScriptObject(), preventEvent); }