MASON-INTEREST-L Archives

June 2013

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ryan McCune <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Sun, 23 Jun 2013 20:56:38 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (12 lines)
Hello,

I am attempting to add a bar chart using BarChartGenerator.  I have a small array and would like to chart each entry.

JFreeChart adds series to bar charts using datasets, of which I have created.  But the BarChartGenerator's addSeries method in MASON uses an array of Objects, and I'm unclear how the array correlates to what is charted.  I passed my array, and only the length was charted.

I have had success plotting Time Series Charts.  Is there an example of adding series data for a Histogram or Bar Chart?

Much Thanks,

Ryan

ATOM RSS1 RSS2