Added loading state in pie chart. (#11404)

This commit is contained in:
Devanshu Rastogi 2024-12-04 13:58:41 +05:30 committed by GitHub
parent aa4cd1fc2e
commit fef97269ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -181,22 +181,25 @@ class Chart extends React.Component {
),
});
}
}
items.push({
title: 'Options',
children: (
<>
{renderElement(
component,
componentMeta,
paramUpdated,
dataQueries,
'loadingState',
'properties',
currentState
)}
{renderElement(component, componentMeta, paramUpdated, dataQueries, 'showAxes', 'properties', currentState)}
{renderElement(
items.push({
title: 'Options',
children: (
<>
{renderElement(
component,
componentMeta,
paramUpdated,
dataQueries,
'loadingState',
'properties',
currentState
)}
{chartType !== 'pie' &&
renderElement(component, componentMeta, paramUpdated, dataQueries, 'showAxes', 'properties', currentState)}
{chartType !== 'pie' &&
renderElement(
component,
componentMeta,
paramUpdated,
@ -205,10 +208,9 @@ class Chart extends React.Component {
'properties',
currentState
)}
</>
),
});
}
</>
),
});
items.push({
title: 'Events',