Hello,
Currently the PieCharts are under development, and as
of now, one can create only one of a simple
or multi-level PieChart in a single Plot Area.
Additionally, one can use doughnut charts too for the same
data, and switch between the two by changing SeriesType.PIE
to SeriesType.DOUGHNUT.
The migration of PieCharts from LinuxTools to SWTChart
was proposed by me in my GSoC proposal, and I shall complete
the work ASAP, in any situation it shall be completed well
before
August mid, and further debugging till August end. I
shall keep the API for the Chart drawing the same as
they are in Linux Tools. Details on the release of version
0.13 are known to Philip Sir.
I shall keep this mailing list updated on any progress on
the implementation of the PieCharts from LinuxTools. Expect
an update soon.
There is enough example code in the develop branch of
swtchart project, have a look at
org.eclipse.swtchart.extensions.examples.parts.SimplePieChart
for running it as an eclipse part,
org.eclipse.swtchart.examples.SingleLevelPieChartExample
for running a simple Pie Chart as a java application
org.eclipse.swtchart.examples.MultiLevelPieExample for
running a multi-level PieChart as a java application.
Additionally there are Doughnut Charts as well, have a
look at
org.eclipse.swtchart.examples.SingleLevelDoughnutChartExample
for a Doughnut Chart as java application,
org.eclipse.swtchart.examples.MultiLevelDoughnutChart for
multi-level doughnut chart as a java application.
Just FYI, let me bring you upto what all has been done
yet, and what all we plan to do....
The PieCharts have a smooth transition of color, having a
calm effect... User can also change the color of the nodes
Recently, we added a listener, which displayed details of
the node we hovered on
Upcoming in the next few days is adding a listener that
listens to clicks and dynamically renders the chart, redrawn
from the node it was clicked on.
Eg. If Asia were clicked in the above chart, the redrawn
chart would be
Finally, we shall add all the functionalities that Linux
Tools Provides, and shall try to maintain the API, to the
extent we can.
Do let us know if you would want anything additional to
be implemented other than API from Linux Tools.
Thanks and regards,
Himanshu