zaven
zaven

Reputation: 27

Map with pie chart and label

I've been looking for map charts with pie charts on them where tooltip will pop on hover having the data in it. Now, I've been looking for some libraries like http://jvectormap.com, amcharts that have this functionality. But I have no interest in buying these products since all I want to use is this module.

I tried Google map with chart maker but still not getting what I actually want.

Here is a screenshot of what I want to create:

enter image description here

I would appreciate if someone could help me. Meanwhile, I will continue my research on them

Upvotes: 1

Views: 367

Answers (1)

trashgod
trashgod

Reputation: 205775

Using , add a custom MapMarker, as shown here. In your marker's implementation of paint(), invoke the draw() method of the JFreeChart matching the marker's coordinates. A typical invocation is seen in the paintComponent() method of ChartPanel.

Upvotes: 1

Related Questions