MASON-INTEREST-L Archives

August 2010

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:
Sean Luke <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Wed, 11 Aug 2010 19:03:57 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
On Aug 11, 2010, at 6:11 PM, vlasios voudouris wrote:

> Using the MultiTimeSeriesChartGenerator, I have 93 timeseries charts
> (one for each of the 93 countries/agents that are of interest to us).
>
> What I want is to add an inspector to these charts so that when I
> click on the chart I can view and modify state of the country/agent.

I see. The basic problem is that the charting facility has no
backpointers to the MASON core -- it just stores and updates raw data
as it comes streaming in. So you'll need to create a backpointer of
some sort.

I can't speak to MultiTimeSeriesChartGenerator (this is I think not a
MASON-standard class, right?), but let's consider
TimeSeriesChartGenerator. Each series plotted on the chart has an
associated XYSeries and an associated TimeSeriesAttributes. In this
case what I would do is modify the TimeSeriesAttributes to hold onto
the underlying object generating this property, and include a button
where you can click on the attributes to pop up an inspector. This is
quite a bit of work right now, I'm afraid.

Sean

ATOM RSS1 RSS2