diff --git a/frontend/src/container/NewWidget/RightContainer/index.tsx b/frontend/src/container/NewWidget/RightContainer/index.tsx index 651725459e..079c5d48e1 100644 --- a/frontend/src/container/NewWidget/RightContainer/index.tsx +++ b/frontend/src/container/NewWidget/RightContainer/index.tsx @@ -1,4 +1,10 @@ -import { Button, Input, Slider, Switch, Typography } from 'antd'; +import { + // Button, + Input, + // Slider, + // Switch, + // Typography, +} from 'antd'; import InputComponent from 'components/Input'; import { GRAPH_TYPES } from 'container/NewDashboard/ComponentsSlider'; import GraphTypes from 'container/NewDashboard/ComponentsSlider/menuItems'; @@ -9,18 +15,22 @@ import { timePreferance } from './timeItems'; const { TextArea } = Input; import TimePreference from 'components/TimePreferenceDropDown'; -import { Container, NullButtonContainer, TextContainer, Title } from './styles'; +import { + Container, + // NullButtonContainer, TextContainer, + Title, +} from './styles'; const RightContainer = ({ description, - opacity, - selectedNullZeroValue, + // opacity, + // selectedNullZeroValue, setDescription, - setOpacity, - setSelectedNullZeroValue, - setStacked, + // setOpacity, + // setSelectedNullZeroValue, + // setStacked, setTitle, - stacked, + // stacked, title, selectedGraph, setSelectedTime, @@ -33,20 +43,20 @@ const RightContainer = ({ [], ); - const nullValueButtons = [ - { - check: 'zero', - name: 'Zero', - }, - { - check: 'interpolate', - name: 'Interpolate', - }, - { - check: 'blank', - name: 'Blank', - }, - ]; + // const nullValueButtons = [ + // { + // check: 'zero', + // name: 'Zero', + // }, + // { + // check: 'interpolate', + // name: 'Interpolate', + // }, + // { + // check: 'blank', + // name: 'Blank', + // }, + // ]; const selectedGraphType = GraphTypes.find((e) => e.name === selectedGraph)?.display || ''; @@ -86,7 +96,7 @@ const RightContainer = ({ } /> - + {/* Stacked Graphs : !value); }} /> - + */} - Fill Opacity: + {/* Fill Opacity: */} - onChangeHandler(setOpacity, number.toString())} step={1} - /> + /> */} - Null/Zero values: + {/* Null/Zero values: {nullValueButtons.map((button) => ( @@ -124,7 +134,7 @@ const RightContainer = ({ {button.name} ))} - + */} Panel Time Preference