All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.highcharts4gwt.model.highcharts.option.jso.JsoSeriesScatter Maven / Gradle / Ivy

The newest version!

package com.github.highcharts4gwt.model.highcharts.option.jso;

import com.github.highcharts4gwt.model.array.api.Array;
import com.github.highcharts4gwt.model.array.api.ArrayNumber;
import com.github.highcharts4gwt.model.array.api.ArrayString;
import com.github.highcharts4gwt.model.highcharts.option.api.SeriesScatter;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.AfterAnimateHandler;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.CheckboxClickHandler;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.ClickHandler;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.Data;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.DataLabels;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.HideHandler;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.LegendItemClickHandler;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.Marker;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.MouseOutHandler;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.MouseOverHandler;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.Point;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.ShowHandler;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.States;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.Tooltip;
import com.google.gwt.core.client.JavaScriptObject;


/**
 * 

A scatter series. If the type option is not specified, it is inherited from chart.type.

* *

For options that apply to multiple series, it is recommended to add them to the pointOptions.series options structure. To apply to all series of this specific type, apply it to plotOptions.scatter.

* */ public class JsoSeriesScatter extends JavaScriptObject implements SeriesScatter { protected JsoSeriesScatter() { } public final native boolean allowPointSelect() throws RuntimeException /*-{ return this["allowPointSelect"] = (this["allowPointSelect"] || false); }-*/ ; public final native JsoSeriesScatter allowPointSelect(boolean allowPointSelect) throws RuntimeException /*-{ this["allowPointSelect"] = allowPointSelect; return this; }-*/ ; public final native boolean animation() throws RuntimeException /*-{ return this["animation"] = (this["animation"] || true); }-*/ ; public final native JsoSeriesScatter animation(boolean animation) throws RuntimeException /*-{ this["animation"] = animation; return this; }-*/ ; public final native String color() throws RuntimeException /*-{ return this["color"] = (this["color"] || "null"); }-*/ ; public final native JsoSeriesScatter color(String color) throws RuntimeException /*-{ this["color"] = color; return this; }-*/ ; public final native double cropThreshold() throws RuntimeException /*-{ return this["cropThreshold"] = (this["cropThreshold"] || 300.0); }-*/ ; public final native JsoSeriesScatter cropThreshold(double cropThreshold) throws RuntimeException /*-{ this["cropThreshold"] = cropThreshold; return this; }-*/ ; public final native String cursor() throws RuntimeException /*-{ return this["cursor"] = (this["cursor"] || "null"); }-*/ ; public final native JsoSeriesScatter cursor(String cursor) throws RuntimeException /*-{ this["cursor"] = cursor; return this; }-*/ ; public final native String dashStyle() throws RuntimeException /*-{ return this["dashStyle"] = (this["dashStyle"] || "Solid"); }-*/ ; public final native JsoSeriesScatter dashStyle(String dashStyle) throws RuntimeException /*-{ this["dashStyle"] = dashStyle; return this; }-*/ ; public final native Array dataAsArrayObject() throws RuntimeException /*-{ return this["data"] = (this["data"] || []); }-*/ ; public final native JsoSeriesScatter dataAsArrayObject(Array dataAsArrayObject) throws RuntimeException /*-{ this["data"] = dataAsArrayObject; return this; }-*/ ; public final native ArrayNumber dataAsArrayNumber() throws RuntimeException /*-{ return this["data"] = (this["data"] || []); }-*/ ; public final native JsoSeriesScatter dataAsArrayNumber(ArrayNumber dataAsArrayNumber) throws RuntimeException /*-{ this["data"] = dataAsArrayNumber; return this; }-*/ ; public final native DataLabels dataLabels() throws RuntimeException /*-{ return this["dataLabels"] = (this["dataLabels"] || {}); }-*/ ; public final native JsoSeriesScatter dataLabels(DataLabels dataLabels) throws RuntimeException /*-{ this["dataLabels"] = dataLabels; return this; }-*/ ; public final native boolean enableMouseTracking() throws RuntimeException /*-{ return this["enableMouseTracking"] = (this["enableMouseTracking"] || true); }-*/ ; public final native JsoSeriesScatter enableMouseTracking(boolean enableMouseTracking) throws RuntimeException /*-{ this["enableMouseTracking"] = enableMouseTracking; return this; }-*/ ; public final native void addAfterAnimateHandler(AfterAnimateHandler handler) throws RuntimeException /*-{ $wnd.jQuery.extend(true, this, { events: { afterAnimate: function(event) { handler.@com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.AfterAnimateHandler::onAfterAnimate(Lcom/github/highcharts4gwt/model/highcharts/option/api/seriesscatter/AfterAnimateEvent;)( $wnd.jQuery.extend(true, event, {source:this}) ); } } }); }-*/; ; public final native void addCheckboxClickHandler(CheckboxClickHandler handler) throws RuntimeException /*-{ $wnd.jQuery.extend(true, this, { events: { checkboxClick: function(event) { handler.@com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.CheckboxClickHandler::onCheckboxClick(Lcom/github/highcharts4gwt/model/highcharts/option/api/seriesscatter/CheckboxClickEvent;)( $wnd.jQuery.extend(true, event, {source:this}) ); } } }); }-*/; ; public final native void addClickHandler(ClickHandler handler) throws RuntimeException /*-{ $wnd.jQuery.extend(true, this, { events: { click: function(event) { handler.@com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.ClickHandler::onClick(Lcom/github/highcharts4gwt/model/highcharts/option/api/seriesscatter/ClickEvent;)( $wnd.jQuery.extend(true, event, {source:this}) ); } } }); }-*/; ; public final native void addHideHandler(HideHandler handler) throws RuntimeException /*-{ $wnd.jQuery.extend(true, this, { events: { hide: function(event) { handler.@com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.HideHandler::onHide(Lcom/github/highcharts4gwt/model/highcharts/option/api/seriesscatter/HideEvent;)( $wnd.jQuery.extend(true, event, {source:this}) ); } } }); }-*/; ; public final native void addLegendItemClickHandler(LegendItemClickHandler handler) throws RuntimeException /*-{ $wnd.jQuery.extend(true, this, { events: { legendItemClick: function(event) { handler.@com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.LegendItemClickHandler::onLegendItemClick(Lcom/github/highcharts4gwt/model/highcharts/option/api/seriesscatter/LegendItemClickEvent;)( $wnd.jQuery.extend(true, event, {source:this}) ); } } }); }-*/; ; public final native void addMouseOutHandler(MouseOutHandler handler) throws RuntimeException /*-{ $wnd.jQuery.extend(true, this, { events: { mouseOut: function(event) { handler.@com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.MouseOutHandler::onMouseOut(Lcom/github/highcharts4gwt/model/highcharts/option/api/seriesscatter/MouseOutEvent;)( $wnd.jQuery.extend(true, event, {source:this}) ); } } }); }-*/; ; public final native void addMouseOverHandler(MouseOverHandler handler) throws RuntimeException /*-{ $wnd.jQuery.extend(true, this, { events: { mouseOver: function(event) { handler.@com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.MouseOverHandler::onMouseOver(Lcom/github/highcharts4gwt/model/highcharts/option/api/seriesscatter/MouseOverEvent;)( $wnd.jQuery.extend(true, event, {source:this}) ); } } }); }-*/; ; public final native void addShowHandler(ShowHandler handler) throws RuntimeException /*-{ $wnd.jQuery.extend(true, this, { events: { show: function(event) { handler.@com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.ShowHandler::onShow(Lcom/github/highcharts4gwt/model/highcharts/option/api/seriesscatter/ShowEvent;)( $wnd.jQuery.extend(true, event, {source:this}) ); } } }); }-*/; ; public final native String id() throws RuntimeException /*-{ return this["id"] = (this["id"] || ""); }-*/ ; public final native JsoSeriesScatter id(String id) throws RuntimeException /*-{ this["id"] = id; return this; }-*/ ; public final native double index() throws RuntimeException /*-{ return this["index"] = (this["index"] || null); }-*/ ; public final native JsoSeriesScatter index(double index) throws RuntimeException /*-{ this["index"] = index; return this; }-*/ ; public final native ArrayString keys() throws RuntimeException /*-{ return this["keys"] = (this["keys"] || []); }-*/ ; public final native JsoSeriesScatter keys(ArrayString keys) throws RuntimeException /*-{ this["keys"] = keys; return this; }-*/ ; public final native double legendIndex() throws RuntimeException /*-{ return this["legendIndex"] = (this["legendIndex"] || null); }-*/ ; public final native JsoSeriesScatter legendIndex(double legendIndex) throws RuntimeException /*-{ this["legendIndex"] = legendIndex; return this; }-*/ ; public final native double lineWidth() throws RuntimeException /*-{ return this["lineWidth"] = (this["lineWidth"] || 0.0); }-*/ ; public final native JsoSeriesScatter lineWidth(double lineWidth) throws RuntimeException /*-{ this["lineWidth"] = lineWidth; return this; }-*/ ; public final native String linkedTo() throws RuntimeException /*-{ return this["linkedTo"] = (this["linkedTo"] || ""); }-*/ ; public final native JsoSeriesScatter linkedTo(String linkedTo) throws RuntimeException /*-{ this["linkedTo"] = linkedTo; return this; }-*/ ; public final native Marker marker() throws RuntimeException /*-{ return this["marker"] = (this["marker"] || {}); }-*/ ; public final native JsoSeriesScatter marker(Marker marker) throws RuntimeException /*-{ this["marker"] = marker; return this; }-*/ ; public final native String name() throws RuntimeException /*-{ return this["name"] = (this["name"] || "null"); }-*/ ; public final native JsoSeriesScatter name(String name) throws RuntimeException /*-{ this["name"] = name; return this; }-*/ ; public final native String negativeColor() throws RuntimeException /*-{ return this["negativeColor"] = (this["negativeColor"] || "null"); }-*/ ; public final native JsoSeriesScatter negativeColor(String negativeColor) throws RuntimeException /*-{ this["negativeColor"] = negativeColor; return this; }-*/ ; public final native Point point() throws RuntimeException /*-{ return this["point"] = (this["point"] || {}); }-*/ ; public final native JsoSeriesScatter point(Point point) throws RuntimeException /*-{ this["point"] = point; return this; }-*/ ; public final native double pointInterval() throws RuntimeException /*-{ return this["pointInterval"] = (this["pointInterval"] || 1.0); }-*/ ; public final native JsoSeriesScatter pointInterval(double pointInterval) throws RuntimeException /*-{ this["pointInterval"] = pointInterval; return this; }-*/ ; public final native String pointIntervalUnit() throws RuntimeException /*-{ return this["pointIntervalUnit"] = (this["pointIntervalUnit"] || "null"); }-*/ ; public final native JsoSeriesScatter pointIntervalUnit(String pointIntervalUnit) throws RuntimeException /*-{ this["pointIntervalUnit"] = pointIntervalUnit; return this; }-*/ ; public final native double pointStart() throws RuntimeException /*-{ return this["pointStart"] = (this["pointStart"] || 0.0); }-*/ ; public final native JsoSeriesScatter pointStart(double pointStart) throws RuntimeException /*-{ this["pointStart"] = pointStart; return this; }-*/ ; public final native boolean selected() throws RuntimeException /*-{ return this["selected"] = (this["selected"] || false); }-*/ ; public final native JsoSeriesScatter selected(boolean selected) throws RuntimeException /*-{ this["selected"] = selected; return this; }-*/ ; public final native boolean shadowAsBoolean() throws RuntimeException /*-{ return this["shadow"] = (this["shadow"] || false); }-*/ ; public final native JsoSeriesScatter shadowAsBoolean(boolean shadowAsBoolean) throws RuntimeException /*-{ this["shadow"] = shadowAsBoolean; return this; }-*/ ; public final native String shadowAsJsonString() throws RuntimeException /*-{ this["shadow"] = (this["shadow"] || JSON.parse('false')); return JSON.stringify(this["shadow"]); }-*/ ; public final native JsoSeriesScatter shadowAsJsonString(String shadowAsJsonString) throws RuntimeException /*-{ this["shadow"] = JSON.parse(shadowAsJsonString); return this; }-*/ ; public final native boolean showCheckbox() throws RuntimeException /*-{ return this["showCheckbox"] = (this["showCheckbox"] || false); }-*/ ; public final native JsoSeriesScatter showCheckbox(boolean showCheckbox) throws RuntimeException /*-{ this["showCheckbox"] = showCheckbox; return this; }-*/ ; public final native boolean showInLegend() throws RuntimeException /*-{ return this["showInLegend"] = (this["showInLegend"] || true); }-*/ ; public final native JsoSeriesScatter showInLegend(boolean showInLegend) throws RuntimeException /*-{ this["showInLegend"] = showInLegend; return this; }-*/ ; public final native States states() throws RuntimeException /*-{ return this["states"] = (this["states"] || {}); }-*/ ; public final native JsoSeriesScatter states(States states) throws RuntimeException /*-{ this["states"] = states; return this; }-*/ ; public final native boolean stickyTracking() throws RuntimeException /*-{ return this["stickyTracking"] = (this["stickyTracking"] || false); }-*/ ; public final native JsoSeriesScatter stickyTracking(boolean stickyTracking) throws RuntimeException /*-{ this["stickyTracking"] = stickyTracking; return this; }-*/ ; public final native double threshold() throws RuntimeException /*-{ return this["threshold"] = (this["threshold"] || 0.0); }-*/ ; public final native JsoSeriesScatter threshold(double threshold) throws RuntimeException /*-{ this["threshold"] = threshold; return this; }-*/ ; public final native Tooltip tooltip() throws RuntimeException /*-{ return this["tooltip"] = (this["tooltip"] || {}); }-*/ ; public final native JsoSeriesScatter tooltip(Tooltip tooltip) throws RuntimeException /*-{ this["tooltip"] = tooltip; return this; }-*/ ; public final native double turboThreshold() throws RuntimeException /*-{ return this["turboThreshold"] = (this["turboThreshold"] || 1000.0); }-*/ ; public final native JsoSeriesScatter turboThreshold(double turboThreshold) throws RuntimeException /*-{ this["turboThreshold"] = turboThreshold; return this; }-*/ ; public final native String type() throws RuntimeException /*-{ return this["type"] = (this["type"] || "null"); }-*/ ; public final native JsoSeriesScatter type(String type) throws RuntimeException /*-{ this["type"] = type; return this; }-*/ ; public final native boolean visible() throws RuntimeException /*-{ return this["visible"] = (this["visible"] || true); }-*/ ; public final native JsoSeriesScatter visible(boolean visible) throws RuntimeException /*-{ this["visible"] = visible; return this; }-*/ ; public final native double xAxisAsNumber() throws RuntimeException /*-{ return this["xAxis"] = (this["xAxis"] || 0.0); }-*/ ; public final native JsoSeriesScatter xAxisAsNumber(double xAxisAsNumber) throws RuntimeException /*-{ this["xAxis"] = xAxisAsNumber; return this; }-*/ ; public final native String xAxisAsString() throws RuntimeException /*-{ return this["xAxis"] = (this["xAxis"] || "0"); }-*/ ; public final native JsoSeriesScatter xAxisAsString(String xAxisAsString) throws RuntimeException /*-{ this["xAxis"] = xAxisAsString; return this; }-*/ ; public final native double yAxisAsNumber() throws RuntimeException /*-{ return this["yAxis"] = (this["yAxis"] || 0.0); }-*/ ; public final native JsoSeriesScatter yAxisAsNumber(double yAxisAsNumber) throws RuntimeException /*-{ this["yAxis"] = yAxisAsNumber; return this; }-*/ ; public final native String yAxisAsString() throws RuntimeException /*-{ return this["yAxis"] = (this["yAxis"] || "0"); }-*/ ; public final native JsoSeriesScatter yAxisAsString(String yAxisAsString) throws RuntimeException /*-{ this["yAxis"] = yAxisAsString; return this; }-*/ ; public final native double zIndex() throws RuntimeException /*-{ return this["zIndex"] = (this["zIndex"] || ''); }-*/ ; public final native JsoSeriesScatter zIndex(double zIndex) throws RuntimeException /*-{ this["zIndex"] = zIndex; return this; }-*/ ; public final native String zoneAxis() throws RuntimeException /*-{ return this["zoneAxis"] = (this["zoneAxis"] || "y"); }-*/ ; public final native JsoSeriesScatter zoneAxis(String zoneAxis) throws RuntimeException /*-{ this["zoneAxis"] = zoneAxis; return this; }-*/ ; public final native ArrayNumber zones() throws RuntimeException /*-{ return this["zones"] = (this["zones"] || []); }-*/ ; public final native JsoSeriesScatter zones(ArrayNumber zones) throws RuntimeException /*-{ this["zones"] = zones; return this; }-*/ ; public final native String getFieldAsJsonObject(String fieldName) throws RuntimeException /*-{ this[fieldName] = (this[fieldName] || {}); return JSON.stringify(this[fieldName]); }-*/ ; public final native JsoSeriesScatter setFieldAsJsonObject(String fieldName, String fieldValueAsJsonObject) throws RuntimeException /*-{ this[fieldName] = JSON.parse(fieldValueAsJsonObject); return this; }-*/ ; public final native String getFunctionAsString(String fieldName) throws RuntimeException /*-{ this[fieldName] = (this[fieldName] || {}); return JSON.stringify(this[fieldName]); }-*/ ; public final native JsoSeriesScatter setFunctionAsString(String fieldName, String functionAsString) throws RuntimeException /*-{ this[fieldName] = eval('(' + functionAsString + ')'); return this; }-*/ ; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy