7 using System.Collections.Generic;
21 public class VisualizeImageChartRequest : KineticaData
27 public struct StyleOptions
37 public const string POINTSIZE =
"pointsize";
78 public const string NONE =
"none";
80 public const string CIRCLE =
"circle";
81 public const string SQUARE =
"square";
82 public const string DIAMOND =
"diamond";
126 public const string X_ORDER_BY =
"x_order_by";
131 public const string Y_ORDER_BY =
"y_order_by";
153 public const string LOG =
"log";
186 public const string JITTER_X =
"jitter_x";
191 public const string JITTER_Y =
"jitter_y";
197 public const string PLOT_ALL =
"plot_all";
203 public struct Options
224 public const string BASE64 =
"base64";
228 public const string NONE =
"none";
239 public IList<string>
x_column_names {
get;
set; } =
new List<string>();
243 public IList<string>
y_column_names {
get;
set; } =
new List<string>();
248 public double min_x {
get;
set; }
253 public double max_x {
get;
set; }
258 public double min_y {
get;
set; }
263 public double max_y {
get;
set; }
266 public int width {
get;
set; }
269 public int height {
get;
set; }
272 public string bg_color {
get;
set; }
471 public IDictionary<string, IList<string>>
style_options {
get;
set; } =
new Dictionary<string, IList<string>>();
500 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
769 IDictionary<string, string>
options =
null)
782 this.
options = options ??
new Dictionary<string, string>();
789 public class VisualizeImageChartResponse : KineticaData
795 public struct AxesInfo
803 public const string LOCATION_X =
"location_x";
811 public const string LOCATION_Y =
"location_y";
817 public double min_x {
get;
set; }
822 public double max_x {
get;
set; }
827 public double min_y {
get;
set; }
832 public double max_y {
get;
set; }
836 public int width {
get;
set; }
840 public int height {
get;
set; }
845 public string bg_color {
get;
set; }
880 public IDictionary<string, IList<string>>
axes_info {
get;
set; } =
new Dictionary<string, IList<string>>();
883 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
string bg_color
Background color of the image as provided in bg_color.
int height
Height of the image as provided in height.
IDictionary< string, string > options
Optional parameters.
double max_y
Upper bound for the y column values.
const string CB_POINTSHAPES
Point shape class break information consisting of three entries: class-break attribute,...
const string NONE
No scale is applied to the y axis.
const string LOG
A base-10 log scale is applied to the y axis.
const string CB_DELIMITER
A character or string which separates per-class values in a class-break style option string.
int width
Width of the generated image in pixels.
const string HOLLOWCIRCLE
double max_y
Upper bound for the y column values as provided in max_y or calculated for non-numeric columns when p...
const string HOLLOWSQUARE
const string Y_ORDER_BY
An expression or aggregate expression by which non-numeric y column values are sorted,...
IDictionary< string, IList< string > > axes_info
Information returned for drawing labels for the axes associated with non-numeric columns.
int width
Width of the image as provided in width.
const string SORTED_X_VALUES
Sorted non-numeric x column value list for drawing x axis label.
IDictionary< string, string > info
Additional information.
const string LOCATION_Y
Y axis label positions of sorted_y_values in pixel coordinates.
IDictionary< string, IList< string > > style_options
Rendering style options for a chart.
int height
Height of the generated image in pixels.
IList< string > x_column_names
Names of the columns containing the data mapped to the x axis of a chart.
const string MIN_MAX_SCALED
If this options is set to "false", this endpoint expects request's min/max values are not yet scaled.
const string HOLLOWDIAMOND
VisualizeImageChartRequest(string table_name, IList< string > x_column_names, IList< string > y_column_names, double min_x, double max_x, double min_y, double max_y, int width, int height, string bg_color, IDictionary< string, IList< string >> style_options, IDictionary< string, string > options=null)
Constructs a VisualizeImageChartRequest object with the specified parameters.
const string PLOT_ALL
If this options is set to "true", all non-numeric column values are plotted ignoring min_x,...
double min_y
Lower bound for the y column values as provided in min_y or calculated for non-numeric columns when p...
VisualizeImageChartRequest()
Constructs a VisualizeImageChartRequest object with default parameters.
const string POINTCOLOR
The color of points in the plot represented as a hexadecimal number.
double min_x
Lower bound for the x column values.
string bg_color
Background color of the generated image.
const string JITTER_X
Amplitude of horizontal jitter applied to non-numeric x column values.
const string SORTED_Y_VALUES
Sorted non-numeric y column value list for drawing y axis label.
const string POINTSHAPE
The shape of points in the plot.
byte [] image_data
The generated image data.
const string BASE64
Apply base64 encoding to the output image.
const string SCALE_TYPE_X
Type of x axis scale.
const string CB_POINTSIZES
Point size class break information consisting of three entries: class-break attribute,...
const string X_ORDER_BY
An expression or aggregate expression by which non-numeric x column values are sorted,...
const string JITTER_Y
Amplitude of vertical jitter applied to non-numeric y column values.
string table_name
Name of the table containing the data to be drawn as a chart, in [schema_name.
const string POINTSIZE
The size of points in the plot represented as number of pixels.
double min_x
Lower bound for the x column values as provided in min_x or calculated for non-numeric columns when p...
const string NONE
Do not apply any additional encoding to the output image.
const string LOCATION_X
X axis label positions of sorted_x_values in pixel coordinates.
double min_y
Lower bound for the y column values.
const string IMAGE_ENCODING
Encoding to be applied to the output image.
const string SCALE_TYPE_Y
Type of y axis scale.
const string CB_POINTCOLORS
Point color class break information consisting of three entries: class-break attribute,...
double max_x
Upper bound for the x column values.
IList< string > y_column_names
Names of the columns containing the data mapped to the y axis of a chart.
double max_x
Upper bound for the x column values as provided in max_x or calculated for non-numeric columns when p...