MASON-INTEREST-L Archives

June 2013

MASON-INTEREST-L@LISTSERV.GMU.EDU

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

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

Print Reply
Mime-Version:
1.0 (Apple Message framework v1283)
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Subject:
From:
Ryan McCune <[log in to unmask]>
Date:
Sun, 23 Jun 2013 20:56:38 -0400
Content-Transfer-Encoding:
8bit
Content-Type:
text/plain; charset=us-ascii
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
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