MASON-INTEREST-L Archives

May 2012

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:
Axel Kowald <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Tue, 22 May 2012 14:00:34 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
Hi,

>> TimeSeriesChartGenerator chartgen;
>> SeriesAttributes[] attrib = new TimeSeriesAttributes[2];
>> XYSeries[] series = new XYSeries[2];
>> series[0] = new XYSeries("Fish", false);
>> series[1] = new XYSeries("Seal", false);
>> chartgen.addSeries(series[0],  null);
>> chartgen.addSeries(series[1],  null);
>> attrib = chartgen.getSeriesAttributes();

The MASON16 documentation and also my IDE says that getSeriesAttributes() is
a protected method.  So how can you access it like that ??   

I also want to set the line color of a TimeSeries, but Eclipse insists:
"The method getSeriesAttributes() from the type ChartGenerator is not visible"

What am I doing different form you ?

Many thanks,
Axel

ATOM RSS1 RSS2