Skip to main content

◆ visualizeImageChart() [1/4]

VisualizeImageChartResponse gpudb::GPUdb::visualizeImageChart (const std::string &tableName,
const std::vector< std::string > &xColumnNames,
const std::vector< std::string > &yColumnNames,
const doubleminX,
const doublemaxX,
const doubleminY,
const doublemaxY,
const int32_twidth,
const int32_theight,
const std::string &bgColor,
const std::map< std::string, std::vector< std::string > > &styleOptions,
const std::map< std::string, std::string > &options ) const

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 imageData field.

Parameters
[in]tableNameName of the table containing the data to be drawn as a chart, in [schema_name.]table_name format, using standard name resolution rules.
[in]xColumnNamesNames of the columns containing the data mapped to the x axis of a chart.
[in]yColumnNamesNames of the columns containing the data mapped to the y axis of a chart.
[in]minXLower bound for the x column values. For non-numeric x column, each x column item is mapped to an integral value starting from 0.
[in]maxXUpper bound for the x column values. For non-numeric x column, each x column item is mapped to an integral value starting from 0.
[in]minYLower bound for the y column values. For non-numeric y column, each y column item is mapped to an integral value starting from 0.
[in]maxYUpper bound for the y column values. For non-numeric y column, each y column item is mapped to an integral value starting from 0.
[in]widthWidth of the generated image in pixels.
[in]heightHeight of the generated image in pixels.
[in]bgColorBackground color of the generated image.
[in]styleOptionsRendering style options for a chart.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ visualizeImageChart() [2/4]

VisualizeImageChartResponse & gpudb::GPUdb::visualizeImageChart (const std::string &tableName,
const std::vector< std::string > &xColumnNames,
const std::vector< std::string > &yColumnNames,
const doubleminX,
const doublemaxX,
const doubleminY,
const doublemaxY,
const int32_twidth,
const int32_theight,
const std::string &bgColor,
const std::map< std::string, std::vector< std::string > > &styleOptions,
const std::map< std::string, std::string > &options,
VisualizeImageChartResponse &response_ ) const

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 imageData field.

Parameters
[in]tableNameName of the table containing the data to be drawn as a chart, in [schema_name.]table_name format, using standard name resolution rules.
[in]xColumnNamesNames of the columns containing the data mapped to the x axis of a chart.
[in]yColumnNamesNames of the columns containing the data mapped to the y axis of a chart.
[in]minXLower bound for the x column values. For non-numeric x column, each x column item is mapped to an integral value starting from 0.
[in]maxXUpper bound for the x column values. For non-numeric x column, each x column item is mapped to an integral value starting from 0.
[in]minYLower bound for the y column values. For non-numeric y column, each y column item is mapped to an integral value starting from 0.
[in]maxYUpper bound for the y column values. For non-numeric y column, each y column item is mapped to an integral value starting from 0.
[in]widthWidth of the generated image in pixels.
[in]heightHeight of the generated image in pixels.
[in]bgColorBackground color of the generated image.
[in]styleOptionsRendering style options for a chart.
[in]optionsOptional parameters.The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ visualizeImageChart() [3/4]

VisualizeImageChartResponse gpudb::GPUdb::visualizeImageChart (const VisualizeImageChartRequest &request_) const

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 imageData field.

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ visualizeImageChart() [4/4]

VisualizeImageChartResponse & gpudb::GPUdb::visualizeImageChart (const VisualizeImageChartRequest &request_,
VisualizeImageChartResponse &response_ ) const

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 imageData field.

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).