فهرست منبع

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