Graph accordian moved in options (#3305)

* graph accordian moved in options

* suggested changes in widjetJS

* remove blank space in widgetJS in line 240 and 241

* reset operations.json file and plugins pkg lock

Co-authored-by: Gandharv <gandharvkgarg@gmail.com>
This commit is contained in:
hrutik7 2022-08-03 17:31:23 +05:30 committed by GitHub
parent 61823fa0ca
commit b935fd14e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,18 +147,7 @@ class Chart extends React.Component {
});
}
items.push({
title: 'Loading state',
children: renderElement(
component,
componentMeta,
paramUpdated,
dataQueries,
'loadingState',
'properties',
currentState
),
});
if (chartType !== 'pie') {
if (!plotFromJson) {
@ -177,8 +166,22 @@ class Chart extends React.Component {
}
items.push({
title: 'Show axes',
children: renderElement(
title: 'Options',
children:
<>
{
renderElement(
component,
componentMeta,
paramUpdated,
dataQueries,
'loadingState',
'properties',
currentState
)
}
{renderElement(
component,
componentMeta,
paramUpdated,
@ -186,21 +189,25 @@ class Chart extends React.Component {
'showAxes',
'properties',
currentState
),
)},
{renderElement(
component,
componentMeta,
paramUpdated,
dataQueries,
'showGridLines',
'properties',
currentState
)
}
</>
});
items.push({
title: 'Show grid lines',
children: renderElement(
component,
componentMeta,
paramUpdated,
dataQueries,
'showGridLines',
'properties',
currentState
),
});
}
items.push({