feat: Adds the ECharts Histogram chart (#28652)

This commit is contained in:
Michael S. Molina
2024-06-04 09:35:18 -03:00
committed by GitHub
parent bc9eab9902
commit 896fe854dc
30 changed files with 1061 additions and 34 deletions

View File

@@ -37,6 +37,7 @@ import { DndControlProps } from './types';
export type DndColumnSelectProps = DndControlProps<QueryFormColumn> & {
options: ColumnMeta[];
isTemporal?: boolean;
disabledTabs?: Set<string>;
};
function DndColumnSelect(props: DndColumnSelectProps) {
@@ -50,6 +51,7 @@ function DndColumnSelect(props: DndColumnSelectProps) {
name,
label,
isTemporal,
disabledTabs,
} = props;
const [newColumnPopoverVisible, setNewColumnPopoverVisible] = useState(false);
@@ -121,6 +123,7 @@ function DndColumnSelect(props: DndColumnSelectProps) {
}}
editedColumn={column}
isTemporal={isTemporal}
disabledTabs={disabledTabs}
>
<OptionWrapper
key={idx}