Components
CellSetTable
Displays a table representing a CellSet.
<CellSetTable
Cell={Cell}
containerStyle={containerStyle}
data={data}
isRowHeaderTree={isRowHeaderTree}
onChange={onChange}
onRowsActioned={onRowsActioned}
onScroll={onScroll}
onSelectionChange={onSelectionChange}
onVisibleRangeChanged={onVisibleRangeChanged}
widgetState={widgetState}
/>
CellSetTableProps
| Property | Type | Description |
|---|---|---|
| Cell | ForwardRefExoticComponent<PropsWithRef<CellSetTableCellProps>> | |
| containerStyle | CSSProperties | |
| data | CellSet | |
| isRowHeaderTree | boolean | |
| onChange | (updatedWidgetState: TableWidgetState) => void | |
| onRowsActioned | (tuples: Tuple[]) => void | |
| onScroll | (newPosition: { scrollTop: number; scrollLeft: number; }) => void | |
| onSelectionChange | (newSelection: CellSetSelection, newLowLevelSelection: AnchoredRange2D[]) => void | |
| onVisibleRangeChanged | (visibleRange: Range2D) => void | |
| widgetState | TableWidgetState |
CenteredTitle
Displays a title, centered horizontally and vertically within its parent Component.
<CenteredTitle
{...}
/>
Collapsible
A component that wraps a collapsible component, allowing to toggle between collapsed and expanded.
<Collapsible
{...}
/>
ContentNodeIcon
Displays the icon on the left of nodes in content trees. Represents a server, a folder or a file.
<ContentNodeIcon
{...}
/>
ContentTree
Displays a tree of saved widgets or dashboards
<ContentTree
areFilesVisible={areFilesVisible}
className={className}
ContentNodeIcon={ContentNodeIcon}
contextMenuItems={contextMenuItems}
doesSelectionIncludeChildren={doesSelectionIncludeChildren}
expandTrigger={expandTrigger}
getDefaultCaption={getDefaultCaption}
getDragItem={getDragItem}
hoverStyle={hoverStyle}
isSearchVisible={isSearchVisible}
isSelectable={isSelectable}
lineHeight={lineHeight}
nodeStyle={nodeStyle}
onClick={onClick}
searchPlaceholder={searchPlaceholder}
selectedPaths={selectedPaths}
selectionStyle={selectionStyle}
structure={structure}
/>
ContentTreeProps
| Property | Type | Description |
|---|---|---|
| areFilesVisible | boolean | |
| className | string | |
| ContentNodeIcon | FC<NodeIconProps<ContentNode<T>>> | |
| contextMenuItems | ItemType[] | |
| doesSelectionIncludeChildren | boolean | |
| expandTrigger | TreeProps["expandTrigger"] | Whether folder nodes can be opened by clicking on their full name, or only on the caret on their left. By default, they can be opened only by clicking on the caret on their left. |
| getDefaultCaption | (node?: ContentNode<T>) => string | |
| getDragItem | (id: string, metaData: T) => void | |
| hoverStyle | CSSProperties | |
| isSearchVisible | boolean | |
| isSelectable | boolean | |
| lineHeight | number | |
| nodeStyle | CSSProperties | |
| onClick | (node: ContentNode<T>, path: number[]) => void | |
| searchPlaceholder | string | |
| selectedPaths | number[][] | |
| selectionStyle | CSSProperties | |
| structure | ContentRecord<T> |
CreateFolderModal
Displays a modal to create a folder.
<CreateFolderModal
{...}
/>
Dashboard
Renders multiple resizable and draggable data exploration widgets.
<Dashboard
isBrandSignatureVisible={isBrandSignatureVisible}
isDeferred={isDeferred}
onIsDeferredChange={onIsDeferredChange}
/>
DashboardProps
| Property | Type | Description |
|---|---|---|
| isBrandSignatureVisible | boolean | If not false, *By ActiveViam* will be visible in the bottom right corner of the dashboard. |
| isDeferred | boolean | |
| onIsDeferredChange | (newState: boolean) => void |
DataModelTree
Displays the tree of measures and dimensions contained in a cube.
<DataModelTree
cubeName={cubeName}
mdx={mdx}
serverKey={serverKey}
className={className}
disabledKpiProperties={disabledKpiProperties}
disabledLevels={disabledLevels}
disabledMeasures={disabledMeasures}
marginLeft={marginLeft}
measureGroupName={measureGroupName}
onCubeSelected={onCubeSelected}
onMeasureGroupSelected={onMeasureGroupSelected}
searchInputRef={searchInputRef}
selectedLeafKey={selectedLeafKey}
/>
DataModelTreeProps
| Property | Type | Description |
|---|---|---|
| cubeName | CubeName | |
| mdx | MdxSelect | MdxDrillthrough | If provided, mdx controls which cube options are disabled. |
| serverKey | string | |
| className | string | |
| disabledKpiProperties | KpiProperty[] | |
| disabledLevels | LevelCoordinates[] | |
| disabledMeasures | MeasureName[] | |
| marginLeft | number | |
| measureGroupName | string | |
| onCubeSelected | (serverKey: string, cubeName: CubeName) => void | |
| onMeasureGroupSelected | (measureGroupName?: string) => void | |
| searchInputRef | { current: InputRef | null; } | |
| selectedLeafKey | string |
DataVisualizationBehaviorEditor
Allows the user to choose a template dashboard page, allowing to perform investigations on data points from the selected widget, thanks to the pluginMenuItemInvestigate.
<DataVisualizationBehaviorEditor
{...}
/>
DataVisualizationContentEditor
Displays a data model tree and a wizard, allowing to add levels and measures to the selected widget's attributes.
<DataVisualizationContentEditor
{...}
/>
DataVisualizationContentEditorProps
EditorProps<DataVisualizationWidgetState> & {
extraSection?: JSX.Element;
onTileMovedFromExtraSection?: (args: {
dragItem: any;
toPosition: TilePositionWithinWizard;
}) => void;
}
DataVisualizationQueryEditor
Displays an MdxEditor hooked to the selected widget.
<DataVisualizationQueryEditor
{...}
/>
DefaultTableCell
Displays a cell in a table. This behavior can be overridden by passing a Cell prop to Table.
<DefaultTableCell
{...}
/>
DrillthroughTable
Displays the result of an MdxDrillthrough query in a table.
<DrillthroughTable
{...}
/>
DrillthroughTableProps
WidgetWithQueryProps<DrillthroughTableWidgetState, DrillthroughResult, DrillthroughSelection, Tuple[], AnchoredRange2D[]>
FiltersEditor
Displays a hierarchy tree and a filter wizard. Either stacked horizontally or vertically, depending on how wide the parent is.
<FiltersEditor
{...}
/>
FiltersEditorProps
- EditorProps<WidgetState> & EditorProps<WidgetState> & { queryType?: "drillthrough"
- "select"; }
FormRow
Use Ant Design's Form and Form.Item components instead.
Displays a styled row with a label on the left and an input on the right, useful in a form.
<FormRow
{...}
/>
HighlightedSearchResult
Displays the label of a search result, highlighting the matched part of it.
<HighlightedSearchResult
caption={caption}
className={className}
isDisabled={isDisabled}
searchValue={searchValue}
captionStyle={captionStyle}
path={path}
pathStyle={pathStyle}
/>
HighlightedSearchResultProps
| Property | Type | Description |
|---|---|---|
| caption | string | |
| className | string | |
| isDisabled | boolean | |
| searchValue | string | |
| captionStyle | CSSObject | |
| path | string | |
| pathStyle | CSSObject |
KpiComponent
Displays one or several high level KPIs. Can optionally be used to display comparisons of KPIs, for instance across 2 dates or 2 scenarios.
<KpiComponent
{...}
/>