Usage
Signature:
interface ChartGroupElement
Typescript Import Format
//To typecheck the element APIs, import as below.
import { ChartGroupElement } from "ojs/ojchart";
//For the transpiled javascript to load the element's module, import as below
import "ojs/ojchart";
For additional information visit:
Attributes
-
drilling :"on"|"off"|"inherit"
-
Whether drilling is enabled on the group label. Drillable objects will show a pointer cursor on hover and fire an
ojDrill
event on click. To enable drilling for all group labels at once, use the drilling attribute in the top level.- Default Value:
"inherit"
Supported Values:
Value Description inherit
Drilling behavior will be inherited from the chart. off
Drilling will not be enabled on group label. on
Drilling will be enabled on group label. -
label-style :Partial<CSSStyleDeclaration>
-
The CSS style object defining the style of the group label text. The following style properties are supported: backgroundColor, borderColor, borderRadius, borderWidth, color, cursor, fontFamily, fontSize, fontStyle, fontWeight, textDecoration. Only applies to a categorical axis.
-
name :string
-
The name of the group.
-
short-desc :string
-
The description of the group. This is used for customizing the tooltip text and only applies to a categorical axis.