Developer Reference / @visdesignlab/upset2-react / UpsetProps
Interface: UpsetProps
Defined in: types.ts:98
Represents the props for the Upset component.
Properties
Property | Type | Description | Defined in |
---|---|---|---|
allowAttributeRemoval? | boolean | Whether or not to allow the user to remove attribute columns. This should be enabled only if there is an option within the parent application which allows for attributes to be added after removal. Default attribute removal behavior in UpSet 2.0 is done via context menu on attribute headers. Defaults to false . | types.ts:128 |
altTextSidebar? | SidebarProps | Sidebar options for the alt text sidebar component. This sidebar is used to display the generated text descriptions for an Upset 2.0 plot, given that the generateAltText function is provided. | types.ts:174 |
canEditPlotInformation? | boolean | Whether or not the user has plot information edit permissions. | types.ts:133 |
config? | any | Optional configuration for the Upset component. | types.ts:107 |
data | any | The data for the Upset component. | types.ts:102 |
elementSidebar? | SidebarProps | Sidebar options for the element sidebar component. This sidebar is used for element queries, element selection datatable, and supplimental plot generation. | types.ts:168 |
extProvenance? | object | External provenance actions and TrrackJS object for provenance history tracking and actions. This should only be used if your tool is using TrrackJS and has all the actions used by UpSet 2.0. Provenance is still tracked if nothing is provided. Note that initializeProvenanceTracking and getActions are used to ensure that the provided provenance object is compatible. | types.ts:154 |
extProvenance.actions | object | - | types.ts:156 |
extProvenance.actions.addAttribute | (attr : string ) => any | - | provenance/index.ts:476 |
extProvenance.actions.addBookmark | (b : Bookmark ) => any | Adds a bookmark to the state | provenance/index.ts:485 |
extProvenance.actions.addCollapsed | (id : string ) => any | - | provenance/index.ts:502 |
extProvenance.actions.addMultipleAttributes | (attrs : string []) => any | - | provenance/index.ts:478 |
extProvenance.actions.addPlot | (plot : Plot ) => any | Adds a plot to the state | provenance/index.ts:495 |
extProvenance.actions.addSetQuery | (query : SetQuery , queryString : string ) => any | - | provenance/index.ts:567 |
extProvenance.actions.addVisibleSet | (set : string ) => any | - | provenance/index.ts:474 |
extProvenance.actions.collapseAll | (ids : string []) => any | - | provenance/index.ts:504 |
extProvenance.actions.expandAll | () => any | - | provenance/index.ts:505 |
extProvenance.actions.firstAggregateBy | (aggBy : AggregateBy ) => any | - | provenance/index.ts:464 |
extProvenance.actions.firstOverlapBy | (overlap : number ) => any | - | provenance/index.ts:465 |
extProvenance.actions.removeAttribute | (attr : string ) => any | - | provenance/index.ts:477 |
extProvenance.actions.removeBookmark | (b : Bookmark ) => any | Removes a bookmark from the state | provenance/index.ts:490 |
extProvenance.actions.removeCollapsed | (id : string ) => any | - | provenance/index.ts:503 |
extProvenance.actions.removeMultipleVisibleAttributes | (attrs : string []) => any | - | provenance/index.ts:479 |
extProvenance.actions.removePlot | (plot : Plot ) => any | Removes a plot from the state | provenance/index.ts:500 |
extProvenance.actions.removeSetQuery | () => any | - | provenance/index.ts:571 |
extProvenance.actions.removeVisibleSet | (set : string ) => any | - | provenance/index.ts:475 |
extProvenance.actions.replaceState | (state : UpsetConfig ) => any | - | provenance/index.ts:501 |
extProvenance.actions.secondAggregateBy | (aggBy : AggregateBy ) => any | - | provenance/index.ts:466 |
extProvenance.actions.secondOverlapBy | (overlap : number ) => any | - | provenance/index.ts:467 |
extProvenance.actions.setHideEmpty | (val : boolean ) => any | - | provenance/index.ts:472 |
extProvenance.actions.setHideNoSet | (val : boolean ) => any | - | provenance/index.ts:473 |
extProvenance.actions.setIntersectionSizeLabels | (show : boolean ) => any | Sets whether set intersection size labels should be shown | provenance/index.ts:547 |
extProvenance.actions.setMaxVisible | (val : number ) => any | - | provenance/index.ts:470 |
extProvenance.actions.setMinVisible | (val : number ) => any | - | provenance/index.ts:471 |
extProvenance.actions.setPlotInformation | (plotInformation : PlotInformation ) => any | - | provenance/index.ts:506 |
extProvenance.actions.setQuerySelection | (selection : any ) => any | Sets the element query selection for the plot | provenance/index.ts:535 |
extProvenance.actions.setRowSelection | (intersection : any ) => any | - | provenance/index.ts:507 |
extProvenance.actions.setSelectionType | (selectionType : any ) => any | Sets the type of the current active selection | provenance/index.ts:527 |
extProvenance.actions.setSetSizeLabels | (show : boolean ) => any | Sets whether set size labels should be shown | provenance/index.ts:555 |
extProvenance.actions.setShowHiddenSets | (show : boolean ) => any | Sets whether hidden sets should be shown | provenance/index.ts:563 |
extProvenance.actions.setUserAltText | (altText : any ) => any | - | provenance/index.ts:539 |
extProvenance.actions.setVegaSelection | (selection : any ) => any | Sets the global vega brush in use for the plot | provenance/index.ts:517 |
extProvenance.actions.sortBy | (sort : string , sortByOrder : SortByOrder ) => any | - | provenance/index.ts:469 |
extProvenance.actions.sortVisibleBy | (sort : SortVisibleBy ) => any | - | provenance/index.ts:468 |
extProvenance.actions.updateAttributePlotType | (attr : string , plotType : string ) => any | - | provenance/index.ts:480 |
extProvenance.provenance | Trrack | - | types.ts:155 |
footerHeight? | number | Height of the footer overlayed on the upset plot, in px, if one exists. Used to prevent the bottom of the sidebars from overlapping with the footer. | types.ts:180 |
generateAltText? | () => Promise <AltText > | Async function which should return a generated AltText object. | types.ts:185 |
hideSettings? | boolean | Hide the aggregations/filter settings sidebar. | types.ts:138 |
parentHasHeight? | boolean | Indicates if the parent component has a fixed height. If this is set to false , the plot will occupy the full viewport height. When set to true , the plot will fit entirely within the parent component. Defaults to false . | types.ts:146 |
provVis? | SidebarProps | Sidebar options for the provVis component. | types.ts:162 |
visualizeDatasetAttributes? | string [] | List of attribute names (strings) which should be visualized. Defaults to the first 3 if no value is provided. If an empty list is provided, displays no attributes. | types.ts:114 |
visualizeUpsetAttributes? | boolean | Whether or not to visualize UpSet generated attributes (degree and deviation ). Defaults to false . | types.ts:120 |