@carbon/charts
Version:
Carbon charting components
156 lines (155 loc) • 4.08 kB
TypeScript
/**
* enum of all events related to the chart on the DOM
*/
export declare enum Chart {
RENDER_FINISHED = "render-finished",
RESIZE = "chart-resize",
MOUSEOVER = "chart-mouseover",
MOUSEOUT = "chart-mouseout"
}
/**
* enum of all events related to the chart model
*/
export declare enum Model {
UPDATE = "model-update"
}
/**
* enum of all toolbar events
*/
export declare enum Toolbar {
SHOW_OVERFLOW_MENU = "show-toolbar-overflow-menu",
HIDE_OVERFLOW_MENU = "hide-toolbar-overflow-menu"
}
/**
* enum of all events related to the zoom-bar
*/
export declare enum ZoomBar {
UPDATE = "zoom-bar-update",
SELECTION_START = "zoom-bar-selection-start",
SELECTION_IN_PROGRESS = "zoom-bar-selection-in-progress",
SELECTION_END = "zoom-bar-selection-end"
}
/**
* enum of all events related to the zoom domain
*/
export declare enum ZoomDomain {
CHANGE = "zoom-domain-change"
}
/**
* enum of all axis-related events
*/
export declare enum Axis {
LABEL_MOUSEOVER = "axis-label-mouseover",
LABEL_MOUSEMOVE = "axis-label-mousemove",
LABEL_CLICK = "axis-label-click",
LABEL_MOUSEOUT = "axis-label-mouseout"
}
/**
* enum of all area graph events
*/
export declare enum Area {
AREA_MOUSEOVER = "area-mouseover",
AREA_MOUSEMOVE = "area-mousemove",
AREA_CLICK = "area-click",
AREA_MOUSEOUT = "area-mouseout"
}
/**
* enum of all pie graph events
*/
export declare enum Pie {
SLICE_MOUSEOVER = "pie-slice-mouseover",
SLICE_MOUSEMOVE = "pie-slice-mousemove",
SLICE_CLICK = "pie-slice-click",
SLICE_MOUSEOUT = "pie-slice-mouseout"
}
/**
* enum of all gauge graph events
*/
export declare enum Gauge {
ARC_MOUSEOVER = "gauge-arc-mouseover",
ARC_MOUSEMOVE = "gauge-arc-mousemove",
ARC_CLICK = "gauge-arc-click",
ARC_MOUSEOUT = "gauge-arc-mouseout"
}
/**
* enum of all bar graph events
*/
export declare enum Bar {
BAR_MOUSEOVER = "bar-mouseover",
BAR_MOUSEMOVE = "bar-mousemove",
BAR_CLICK = "bar-click",
BAR_MOUSEOUT = "bar-mouseout"
}
/**
* enum of all boxplot graph events
*/
export declare enum Boxplot {
BOX_MOUSEOVER = "box-mouseover",
BOX_MOUSEMOVE = "box-mousemove",
BOX_CLICK = "box-click",
BOX_MOUSEOUT = "box-mouseout",
OUTLIER_MOUSEOVER = "outlier-mouseover",
OUTLIER_MOUSEMOVE = "outlier-mousemove",
OUTLIER_CLICK = "outlier-click",
OUTLIER_MOUSEOUT = "outlier-mouseout"
}
/**
* enum of all scatter graph events
*/
export declare enum Scatter {
SCATTER_MOUSEOVER = "scatter-mouseover",
SCATTER_MOUSEMOVE = "scatter-mousemove",
SCATTER_CLICK = "scatter-click",
SCATTER_MOUSEOUT = "scatter-mouseout"
}
/**
* enum of all line graph events
*/
export declare enum Line {
POINT_MOUSEOVER = "scatter-mouseover",
POINT_MOUSEMOVE = "scatter-mousemove",
POINT_CLICK = "scatter-click",
POINT_MOUSEOUT = "scatter-mouseout"
}
/**
* enum of all radar graph events
*/
export declare enum Radar {
X_AXIS_MOUSEOVER = "radar-x-axis-mouseover",
X_AXIS_MOUSEMOVE = "radar-x-axis-mousemove",
X_AXIS_CLICK = "radar-x-axis-click",
X_AXIS_MOUSEOUT = "radar-x-axis-mouseout"
}
/**
* enum of all treemap graph events
*/
export declare enum Treemap {
LEAF_MOUSEOVER = "leaf-mouseover",
LEAF_MOUSEMOVE = "leaf-mousemove",
LEAF_CLICK = "leaf-click",
LEAF_MOUSEOUT = "leaf-mouseout"
}
/**
* enum of all tooltip events
*/
export declare enum Tooltip {
SHOW = "show-tooltip",
MOVE = "move-tooltip",
HIDE = "hide-tooltip"
}
/**
* enum of all threshold events
*/
export declare enum Threshold {
SHOW = "show-threshold",
HIDE = "hide-threshold"
}
/**
* enum of all legend related events
*/
export declare enum Legend {
ITEM_HOVER = "legend-item-onhover",
ITEM_CLICK = "legend-item-onclick",
ITEM_MOUSEOUT = "legend-item-onmouseout",
ITEMS_UPDATE = "legend-items-update"
}