[Fix]: full view bar chart (#4667)

This commit is contained in:
Rajat Dabade 2024-03-12 14:22:27 +05:30 committed by GitHub
parent 0326a4d42a
commit dd2afe19f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,10 @@ function FullView({
const response = useGetQueryRange(
{
selectedTime: selectedTime.enum,
graphType: widget.panelTypes,
graphType:
widget.panelTypes === PANEL_TYPES.BAR
? PANEL_TYPES.TIME_SERIES
: widget.panelTypes,
query: updatedQuery,
globalSelectedInterval: globalSelectedTime,
variables: getDashboardVariables(selectedDashboard?.data.variables),