BarChart.setParameter() method

Signature:

setParameter(name: string, value: any): void;

Parameters

ParameterDescription
nameThe parameter name. It can be either "xres", "yres", "thickness", "showLines", "dataTexture" or "platteImage". Set the rendering parameters of bar chart visualization.
valueThe value of the parameter. Its data type and value range depend on the specific parameter.

Returns:

void

Remarks

"xres": The number of bars in x direction. "yres": The number of bars in y direction. "thickness": The thickness of bars. The value is from 0 to 1 where 1.0 means the thickest. "showLines": A boolean to render the contour of the bars. "dataTexture": A modelo3d texture defines the heightmap information. "platteImage": The file name of the color map.