Skip to main content
interface VisualizeImageChartRequest
bg_color: string;
height: number;
max_x: number;
max_y: number;
min_x: number;
min_y: number;
options?: Record<string, string>;
style_options: Record<string, string[]>;
table_name: string;
width: number;
x_column_names: string[];
y_column_names: string[];
bg_color: string

Background color of the generated image.

height: number

Height of the generated image in pixels.

max_x: number

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.

max_y: number

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.

min_x: number

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.

min_y: number

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.

options?: Record<string, string>

Optional parameters.

style_options: Record<string, string[]>

Rendering style options for a chart.

table_name: 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.

width: number

Width of the generated image in pixels.

x_column_names: string[]

Names of the columns containing the data mapped to the x axis of a chart.

y_column_names: string[]

Names of the columns containing the data mapped to the y axis of a chart.