BarChart style.

interface BarChartStyle {
    antiAlias?: boolean;
    backgroundColor?: Color;
    backgroundShader?: Shader;
    blendMode?: BlendMode;
    border?: boolean;
    borderColor?: Color;
    borderRadius?: number;
    borderShader?: Shader;
    borderWidth?: number;
    layout?: Layout;
    margin?: number | [number, number, number, number] | [number, number];
    rotation?: number;
    scaleX?: number;
    scaleY?: number;
    transparency?: number;
}

Hierarchy

  • BaseSimpleChartStyle
    • BarChartStyle

Properties

antiAlias?: boolean
backgroundColor?: Color

Description

backgroundColor is a color that represents the background color of the dataUnit, which may be displayed in various forms. It is optional.

backgroundShader?: Shader

Description

backgroundShader is a shader that represents the background shader of the dataUnit, which may be displayed in various forms. It is optional.

blendMode?: BlendMode
border?: boolean

Description

border is a boolean that represents whether the dataUnit has a border.

borderColor?: Color

Description

borderColor is a color that represents the border color of the dataUnit, which may be displayed in various forms. It is optional.

borderRadius?: number

The border radius of the bar. Default is 0. Not supported yet.

borderShader?: Shader

Description

borderShader is a shader that represents the border shader of the dataUnit, which may be displayed in various forms. It is optional.

borderWidth?: number

Description

borderWidth is a number that represents the border width of the dataUnit, which may be displayed in various forms. It is optional.

layout?: Layout
margin?: number | [number, number, number, number] | [number, number]
rotation?: number
scaleX?: number
scaleY?: number
transparency?: number