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 07:02:06
Message-ID: CAM9w-_ki8J4F5p3ioKFaa4Qq6OKykbFnJ=0xnSispVaRyec1yA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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

> Hi Aditya,
>
> On Fri, 25 Aug 2023 at 12:06, Aditya Toshniwal <
> aditya(dot)toshniwal(at)enterprisedb(dot)com> wrote:
>
>> 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.
>>
>
> Ahh yes, users won't be able to see the absolute total value. So should I
> change it to a stacked bar with 3 categories then?
>
I would suggest keeping the pie chart and making the stacks of used and
unused. If possible please keep the pie chart colors different from bar
chart.

--
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 Anil Sahoo 2023-08-25 07:18:44 [pgadmin-org/pgadmin4] 5fb80a: Added all the new options of the 'WITH' clause in ...
Previous Message Sahil Harpal 2023-08-25 06:45:12 Re: Pgadmin4 System Stats Extension Design