Re: Pgadmin4 System Stats Extension Design

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: Sahil Harpal <sahilharpal1234(at)gmail(dot)com>
Cc: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>, pgadmin-hackers(at)postgresql(dot)org, Dave Page <dpage(at)pgadmin(dot)org>, Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>, Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
Subject: Re: Pgadmin4 System Stats Extension Design
Date: 2023-08-25 06:36:21
Message-ID: CAM9w-_=Mz0gT0SZyfLa+5Gjq9WHKtiDDvKfJcQhkDE1dC7HcyA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Sahil,

On Fri, Aug 25, 2023 at 12:02 PM Sahil Harpal <sahilharpal1234(at)gmail(dot)com>
wrote:

> Hi Aditya,
> On Fri, 25 Aug 2023 at 11:29, Aditya Toshniwal <
> aditya(dot)toshniwal(at)enterprisedb(dot)com> wrote:
>
>> Hi Sahil,
>> On Thu, Aug 24, 2023 at 8:07 PM Sahil Harpal <sahilharpal1234(at)gmail(dot)com>
>> wrote:
>>
>>> Hi,
>>> Can we include total space stats (left pie chart) in the same bar chart?
>>> or would it be better if we keep it separate?
>>> [image: image.png]
>>>
>> How do you propose to merge both? I would also suggest using a stacked
>> bar chart on the right. And format from bytes to MBs.
>>
>>>
> Currently, I have implemented like this:
> [image: image.png]
> So, I was thinking of adding one more column for total space for each disk.
> Regarding the stacked bar chart, we will need to increase the height of
> the default chart container; otherwise, the proportion of different
> categories won't be clearly visible in some cases.
> And I believe that if we use a stacked bar chart, there won't be a need to
> provide total space details, as the height of that stacked bar will be
> nothing but the total space, right?
>
I don't think we'll need to increase the height though. Even if you use
stacks, they will show total for each drive and not total available space.

--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
<https://www.enterprisedb.com/>
"Don't Complain about Heat, Plant a TREE"

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Sahil Harpal 2023-08-25 06:45:12 Re: Pgadmin4 System Stats Extension Design
Previous Message Sahil Harpal 2023-08-25 06:32:17 Re: Pgadmin4 System Stats Extension Design