I would like to make a stacked area chart with prefuse similar to the folowing: http://prefuse.org/gallery/namevoyager/
I'm not quite sure where to start however, and there's no sample code for these charts. I did find prefuse.action.layout.StackedAreaChart, but am not sure what to do with it.
Have you checked the Prefuse manual? (not too complete, but it's something to start with).
In it, you can find an sample application which shows you how to load some data on a Graph element, and how to deploy it to a Visualization item.
For generating a
StackedAreaChart
you'll need to load your data into aprefuse.data.Table
object, which you could load, by the example, from a CSV file:Then, add the table to the visualization as a data group, i.e "table"
Then, create the StackedAreaChart, and add it to the visualization actions collection:
Then, you can config various layout actions,or other visual aspects (see the linked example).
At last, for displaying the chart, you'll have to create a Display object, bind the visualization, and run the layout actions on it:
Hope this helps, at least as a first start (the code snippets are not intended for copy-paste and can contain some compile errors).
Good luck.