MASON-INTEREST-L Archives

May 2012

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Proportional Font
Show HTML 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
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Subject:
From:
Axel Kowald <[log in to unmask]>
Date:
Tue, 22 May 2012 14:00:34 -0400
Content-Transfer-Encoding:
8bit
Content-Type:
text/plain; charset="ISO-8859-1"
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
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