Skip to main content
Scatter plot is the only plot type currently supported. A non-numeric column can be specified as x or y column and jitters can be added to them to avoid excessive overlapping. All color values must be in the format RRGGBB or AARRGGBB (to specify the alpha value). The image is contained in the output parameter image_data field.

Input Parameter Description

string
Name of the table containing the data to be drawn as a chart, in [schema_name.]table_name format, using standard name resolution rules.
array of strings
Names of the columns containing the data mapped to the x axis of a chart.
array of strings
Names of the columns containing the data mapped to the y axis of a chart.
double
Lower bound for the x column values. For non-numeric x column, each x column item is mapped to an integral value starting from 0.
double
Upper bound for the x column values. For non-numeric x column, each x column item is mapped to an integral value starting from 0.
double
Lower bound for the y column values. For non-numeric y column, each y column item is mapped to an integral value starting from 0.
double
Upper bound for the y column values. For non-numeric y column, each y column item is mapped to an integral value starting from 0.
int
Width of the generated image in pixels.
int
Height of the generated image in pixels.
string
Background color of the generated image.
map of string to arrays of strings
Rendering style options for a chart.
map of string to strings
Optional parameters.The default value is an empty map ( {} ).

Output Parameter Description

The Kinetica server embeds the endpoint response inside a standard response structure which contains status information and the actual response to the query. Here is a description of the various fields of the wrapper:
String
‘OK’ or ‘ERROR’
String
Empty if success or an error message
String
‘visualize_image_chart_response’ or ‘none’ in case of an error
String
Empty string
JSON or String
This embedded JSON represents the result of the /visualize/image/chart endpoint:Empty string in case of an error.