Added support for visualise the graph using a Pie chart in the query tool. Fixes #7487

This commit is contained in:
Akshay Joshi
2022-07-05 10:47:17 +05:30
parent 239e3bb6f1
commit 8b62cd1f04
6 changed files with 112 additions and 46 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

View File

@@ -331,8 +331,8 @@ Graph Visualiser Panel
**********************
Click the Graph Visualiser button in the toolbar to generate the *Graphs* of
the query results. The graph visualiser currently supports only Line Charts,
but more charts (Bar, Stacked Bar, Pie...) will be added soon.
the query results. The graph visualiser supports Line Charts, Stacked Line Charts,
Bar Charts, Stacked Bar Charts, and Pie Charts.
.. image:: images/query_graph_visualiser_panel.png
:alt: Query tool graph visualiser panel
@@ -427,6 +427,18 @@ clicking on the 'Generate' button.
:alt: Query tool graph visualiser stacked bar chart
:align: center
Pie Chart
=========
The *Pie Chart* can be generated by selecting the 'Pie Chart'
from the Graph Type drop-down, selecting the Label and Value, and
clicking on the 'Generate' button.
.. image:: images/query_pie_chart.png
:alt: Query tool graph visualiser pie chart
:align: center
Connection Status
*****************

View File

@@ -10,6 +10,7 @@ New features
************
| `Issue #7486 <https://redmine.postgresql.org/issues/7486>`_ - Added support for visualizing the graphs using Stacked Line, Bar, and Stacked Bar charts in the query tool.
| `Issue #7487 <https://redmine.postgresql.org/issues/7487>`_ - Added support for visualise the graph using a Pie chart in the query tool.
Housekeeping
************