瀏覽代碼

Datanode viewer Chart config traces layout (#504) (#518)

Co-authored-by: Fred Lefévère-Laoide <Fred.Lefevere-Laoide@Taipy.io>
Fred Lefévère-Laoide 1 年之前
父節點
當前提交
7e3c3b451f
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      frontend/taipy/src/DataNodeChart.tsx

+ 3 - 3
frontend/taipy/src/DataNodeChart.tsx

@@ -33,7 +33,7 @@ import Tooltip from "@mui/material/Tooltip";
 
 import { Chart, ColumnDesc, TraceValueType } from "taipy-gui";
 
-import { ChartViewType, MenuProps, TableViewType, selectSx, tabularHeaderSx } from "./utils";
+import { ChartViewType, MenuProps, TableViewType, tabularHeaderSx } from "./utils";
 
 interface DataNodeChartProps {
     active: boolean;
@@ -126,7 +126,7 @@ const ColSelect = (props: ColSelectProps) => {
     useEffect(() => setCol(getTraceCol(traceConf, trace, axis)), [traceConf, trace, axis]);
 
     return (
-        <FormControl sx={selectSx}>
+        <FormControl>
             <InputLabel id={labelId}>{label}</InputLabel>
             <Select
                 labelId={labelId}
@@ -174,7 +174,7 @@ const TypeSelect = (props: TypeSelectProps) => {
     useEffect(() => setType(value), [value]);
 
     return (
-        <FormControl sx={selectSx}>
+        <FormControl>
             <InputLabel id={labelId}>{label}</InputLabel>
             <Select
                 labelId={labelId}