mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
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:
parent
61823fa0ca
commit
b935fd14e4
1 changed files with 34 additions and 27 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Reference in a new issue