-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Make main dashboard pie chart responsive (#11525) #11897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Make main dashboard pie chart responsive (#11525) #11897
Conversation
@MilosPaunovic |
Hey @AdekeyeAdeniyi, are there any updates on this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have revert the docker file to it default confoguration
close #11525
@MilosPaunovic I have fixed the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @AdekeyeAdeniyi,
This is good progress, but we're not there yet.
If you make the field narrower, the chart will make itself smaller, but it will never get to the initial size again:
Screencast.from.2025-10-13.12-54-22.webm
If you create a custom dashboard by using this code:
id: mouse_224526
title: asdasd
description: Default Main Overview
timeWindow:
default: P30D
max: P365D
charts:
- id: total_executions_timeseries
type: io.kestra.plugin.core.dashboard.chart.TimeSeries
chartOptions:
displayName: Total Executions
description: Executions duration and count per date
legend:
enabled: true
column: date
colorByColumn: state
width: 9
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
date:
field: START_DATE
displayName: Date
state:
field: STATE
total:
displayName: Executions
agg: COUNT
graphStyle: BARS
duration:
field: DURATION
displayName: Duration
agg: SUM
graphStyle: LINES
- id: total_executions_pie
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Total Executions
graphStyle: DONUT
tooltip: ALL
width: 3
legend:
enabled: true
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
id:
field: ID
displayName: Execution Id
agg: COUNT
state:
field: STATE
displayName: State
Then you'll get weird behavior:
Screencast from 2025-10-13 12-53-51.webm
Summary
This PR makes the main dashboard pie chart fully responsive across screen sizes.
Changes
responsive: true
andmaintainAspectRatio: false
in chart options.thicknessPlugin
option.Linked Issue
Closes #11525