Package com.gpudb.protocol
Class VisualizeImageChartRequest.StyleOptions
- java.lang.Object
-
- com.gpudb.protocol.VisualizeImageChartRequest.StyleOptions
-
- Enclosing class:
- VisualizeImageChartRequest
public static final class VisualizeImageChartRequest.StyleOptions extends Object
A set of string constants for theVisualizeImageChartRequestparameterstyleOptions.Rendering style options for a chart.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCB_DELIMITERA character or string which separates per-class values in a class-break style option string.static StringCB_POINTCOLORSPoint color class break information consisting of three entries: class-break attribute, class-break values/ranges, and point color values.static StringCB_POINTSHAPESPoint shape class break information consisting of three entries: class-break attribute, class-break values/ranges, and point shape names.static StringCB_POINTSIZESPoint size class break information consisting of three entries: class-break attribute, class-break values/ranges, and point size values.static StringCIRCLEstatic StringDIAMONDstatic StringHOLLOWCIRCLEstatic StringHOLLOWDIAMONDstatic StringHOLLOWSQUAREstatic StringJITTER_XAmplitude of horizontal jitter applied to non-numeric x column values.static StringJITTER_YAmplitude of vertical jitter applied to non-numeric y column values.static StringLOGA base-10 log scale is applied to the y axis.static StringMIN_MAX_SCALEDIf this options is set to "false", this endpoint expects request's min/max values are not yet scaled.static StringNONENo scale is applied to the y axis.static StringPLOT_ALLIf this options is set to "true", all non-numeric column values are plotted ignoring min_x, max_x, min_y and max_y parameters.static StringPOINTCOLORThe color of points in the plot represented as a hexadecimal number.static StringPOINTSHAPEThe shape of points in the plot.static StringPOINTSIZEThe size of points in the plot represented as number of pixels.static StringSCALE_TYPE_XType of x axis scale.static StringSCALE_TYPE_YType of y axis scale.static StringSQUAREstatic StringX_ORDER_BYAn expression or aggregate expression by which non-numeric x column values are sorted, e.g. "avg(price) descending".static StringY_ORDER_BYAn expression or aggregate expression by which non-numeric y column values are sorted, e.g. "avg(price)", which defaults to "avg(price) ascending".
-
-
-
Field Detail
-
POINTCOLOR
public static final String POINTCOLOR
The color of points in the plot represented as a hexadecimal number. The default value is '0000FF'.- See Also:
- Constant Field Values
-
POINTSIZE
public static final String POINTSIZE
The size of points in the plot represented as number of pixels. The default value is '3'.- See Also:
- Constant Field Values
-
POINTSHAPE
public static final String POINTSHAPE
The shape of points in the plot. Supported values: The default value isSQUARE.- See Also:
- Constant Field Values
-
NONE
public static final String NONE
No scale is applied to the y axis.- See Also:
- Constant Field Values
-
CIRCLE
public static final String CIRCLE
- See Also:
- Constant Field Values
-
SQUARE
public static final String SQUARE
- See Also:
- Constant Field Values
-
DIAMOND
public static final String DIAMOND
- See Also:
- Constant Field Values
-
HOLLOWCIRCLE
public static final String HOLLOWCIRCLE
- See Also:
- Constant Field Values
-
HOLLOWSQUARE
public static final String HOLLOWSQUARE
- See Also:
- Constant Field Values
-
HOLLOWDIAMOND
public static final String HOLLOWDIAMOND
- See Also:
- Constant Field Values
-
CB_POINTCOLORS
public static final String CB_POINTCOLORS
Point color class break information consisting of three entries: class-break attribute, class-break values/ranges, and point color values. This option overrides the pointcolor option if both are provided. Class-break ranges are represented in the form of "min:max". Class-break values/ranges and point color values are separated by cb_delimiter, e.g. {"price", "20:30;30:40;40:50", "0xFF0000;0x00FF00;0x0000FF"}.- See Also:
- Constant Field Values
-
CB_POINTSIZES
public static final String CB_POINTSIZES
Point size class break information consisting of three entries: class-break attribute, class-break values/ranges, and point size values. This option overrides the pointsize option if both are provided. Class-break ranges are represented in the form of "min:max". Class-break values/ranges and point size values are separated by cb_delimiter, e.g. {"states", "NY;TX;CA", "3;5;7"}.- See Also:
- Constant Field Values
-
CB_POINTSHAPES
public static final String CB_POINTSHAPES
Point shape class break information consisting of three entries: class-break attribute, class-break values/ranges, and point shape names. This option overrides the pointshape option if both are provided. Class-break ranges are represented in the form of "min:max". Class-break values/ranges and point shape names are separated by cb_delimiter, e.g. {"states", "NY;TX;CA", "circle;square;diamond"}.- See Also:
- Constant Field Values
-
CB_DELIMITER
public static final String CB_DELIMITER
A character or string which separates per-class values in a class-break style option string. The default value is ';'.- See Also:
- Constant Field Values
-
X_ORDER_BY
public static final String X_ORDER_BY
An expression or aggregate expression by which non-numeric x column values are sorted, e.g. "avg(price) descending".- See Also:
- Constant Field Values
-
Y_ORDER_BY
public static final String Y_ORDER_BY
An expression or aggregate expression by which non-numeric y column values are sorted, e.g. "avg(price)", which defaults to "avg(price) ascending".- See Also:
- Constant Field Values
-
SCALE_TYPE_X
public static final String SCALE_TYPE_X
Type of x axis scale. Supported values: The default value isNONE.- See Also:
- Constant Field Values
-
LOG
public static final String LOG
A base-10 log scale is applied to the y axis.- See Also:
- Constant Field Values
-
SCALE_TYPE_Y
public static final String SCALE_TYPE_Y
Type of y axis scale. Supported values: The default value isNONE.- See Also:
- Constant Field Values
-
MIN_MAX_SCALED
public static final String MIN_MAX_SCALED
If this options is set to "false", this endpoint expects request's min/max values are not yet scaled. They will be scaled according to scale_type_x or scale_type_y for response. If this options is set to "true", this endpoint expects request's min/max values are already scaled according to scale_type_x/scale_type_y. Response's min/max values will be equal to request's min/max values. The default value is 'false'.- See Also:
- Constant Field Values
-
JITTER_X
public static final String JITTER_X
Amplitude of horizontal jitter applied to non-numeric x column values. The default value is '0.0'.- See Also:
- Constant Field Values
-
JITTER_Y
public static final String JITTER_Y
Amplitude of vertical jitter applied to non-numeric y column values. The default value is '0.0'.- See Also:
- Constant Field Values
-
PLOT_ALL
public static final String PLOT_ALL
If this options is set to "true", all non-numeric column values are plotted ignoring min_x, max_x, min_y and max_y parameters. The default value is 'false'.- See Also:
- Constant Field Values
-
-