RE: [flexcoders] Partial LineSeries - is it possible?

2010-02-24 Thread Battershall, Jeff
Geoff,

Good call - that works perfectly - thanks!!!

Jeff


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Geoff White
Sent: Tuesday, February 23, 2010 3:48 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Partial LineSeries - is it possible?




You shouldn't need to do this.  Try setting the minimum and maximum values on 
the date time axis to the desired dates and it should do the rest(regardless of 
which dates there are data for).



From: Battershall, Jeff jeff.battersh...@dowjones.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Tue, February 23, 2010 1:44:39 PM
Subject: RE: [flexcoders] Partial LineSeries - is it possible?


Thanks Richard,

I'm going to give this a try - basically I'm going make placeholder data 
elements that map to my DateTimeAxis and fill in the remaining values for the 
decade.

Jeff


From: flexcod...@yahoogro ups.comhttp://ups.com [mailto:flexcoders@ 
yahoogroups. com] On Behalf Of Richard Rodseth
Sent: Tuesday, February 23, 2010 2:59 PM
To: flexcod...@yahoogro ups.com
Subject: Re: [flexcoders] Partial LineSeries - is it possible?



I'm not sure I quite understand the question, but a couple of thoughts:

- if you have a data function that returns null you can get gaps in a line 
chart, if that's desired
- on the other hand, if your data provider filters out the empty data points, 
the chart should fill the available space
- I think you might be able to have a separate data provider for the axis

In other words, I would be surprised if custom renderers are necessary.
On Tue, Feb 23, 2010 at 10:26 AM, Battershall, Jeff jeff.battershall@ 
dowjones. commailto:jeff.battersh...@dowjones.com wrote:

I have a line chart with a DateTimeAxis that is stipulated to be about 750 
pixels wide and it's used to display a decade's worth of data points.  However, 
in the current decade, there are only a couple month's worth of data points.  
As a result the line series takes up the entire chart's entire available 
horizontal space.  What I'd LIKE to have happen is have the line series only as 
wide as the data points require - kind of like a YTD graph.  See what I'm 
getting at?

Any charting experts available?  Eli?

Jeff Battershall
Application Architect
Dow Jones Indexes
jeff.battershall@ dowjones. commailto:jeff.battersh...@dowjones.com
(609) 520-5637 (p)

(484) 477-9900 (c)








Re: [flexcoders] Partial LineSeries - is it possible?

2010-02-23 Thread Richard Rodseth
I'm not sure I quite understand the question, but a couple of thoughts:

- if you have a data function that returns null you can get gaps in a line
chart, if that's desired
- on the other hand, if your data provider filters out the empty data
points, the chart should fill the available space
- I think you might be able to have a separate data provider for the axis

In other words, I would be surprised if custom renderers are necessary.

On Tue, Feb 23, 2010 at 10:26 AM, Battershall, Jeff 
jeff.battersh...@dowjones.com wrote:



  I have a line chart with a DateTimeAxis that is stipulated to be about
 750 pixels wide and it’s used to display a decade’s worth of data points.
 However, in the current decade, there are only a couple month’s worth of
 data points.  As a result the line series takes up the entire chart’s entire
 available horizontal space.  What I’d LIKE to have happen is have the line
 series only as wide as the data points require – kind of like a YTD graph.
 See what I’m getting at?



 Any charting experts available?  Eli?



 Jeff Battershall

 Application Architect

 Dow Jones Indexes

 jeff.battersh...@dowjones.com

 (609) 520-5637 (p)

 (484) 477-9900 (c)


  



RE: [flexcoders] Partial LineSeries - is it possible?

2010-02-23 Thread Battershall, Jeff
Thanks Richard,

I'm going to give this a try - basically I'm going make placeholder data 
elements that map to my DateTimeAxis and fill in the remaining values for the 
decade.

Jeff


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Richard Rodseth
Sent: Tuesday, February 23, 2010 2:59 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Partial LineSeries - is it possible?



I'm not sure I quite understand the question, but a couple of thoughts:

- if you have a data function that returns null you can get gaps in a line 
chart, if that's desired
- on the other hand, if your data provider filters out the empty data points, 
the chart should fill the available space
- I think you might be able to have a separate data provider for the axis

In other words, I would be surprised if custom renderers are necessary.
On Tue, Feb 23, 2010 at 10:26 AM, Battershall, Jeff 
jeff.battersh...@dowjones.commailto:jeff.battersh...@dowjones.com wrote:

I have a line chart with a DateTimeAxis that is stipulated to be about 750 
pixels wide and it's used to display a decade's worth of data points.  However, 
in the current decade, there are only a couple month's worth of data points.  
As a result the line series takes up the entire chart's entire available 
horizontal space.  What I'd LIKE to have happen is have the line series only as 
wide as the data points require - kind of like a YTD graph.  See what I'm 
getting at?

Any charting experts available?  Eli?

Jeff Battershall
Application Architect
Dow Jones Indexes
jeff.battersh...@dowjones.commailto:jeff.battersh...@dowjones.com
(609) 520-5637 (p)

(484) 477-9900 (c)








Re: [flexcoders] Partial LineSeries - is it possible?

2010-02-23 Thread Geoff White
You shouldn't need to do this.  Try setting the minimum and maximum values on 
the date time axis to the desired dates and it should do the rest(regardless of 
which dates there are data for).






From: Battershall, Jeff jeff.battersh...@dowjones.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Tue, February 23, 2010 1:44:39 PM
Subject: RE: [flexcoders] Partial LineSeries - is it possible?

  
Thanks Richard, 
 
I’m going to give this a try - basically
I’m going make placeholder data elements that map to my DateTimeAxis and
fill in the remaining values for the decade.
 
Jeff
 


 
From:flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
Behalf Of Richard Rodseth
Sent: Tuesday, February 23, 2010
2:59 PM
To: flexcod...@yahoogro ups.com
Subject: Re: [flexcoders] Partial
LineSeries - is it possible?
 


I'm not sure I quite understand the
question, but a couple of thoughts:

- if you have a data function that returns null you can get gaps in a line
chart, if that's desired
- on the other hand, if your data provider filters out the empty data points,
the chart should fill the available space
- I think you might be able to have a separate data provider for the axis

In other words, I would be surprised if custom renderers are necessary.
On Tue, Feb 23, 2010 at 10:26 AM, Battershall, Jeff jeff.battershall@ 
dowjones. com
wrote:
  
I have a line chart with a DateTimeAxis that is stipulated
to be about 750 pixels wide and it’s used to display a decade’s
worth of data points.  However, in the current decade, there are only a
couple month’s worth of data points.  As a result the line series
takes up the entire chart’s entire available horizontal space.  What
I’d LIKE to have happen is have the line series only as wide as the data
points require – kind of like a YTD graph.  See what I’m
getting at?
 
Any charting experts available?  Eli?
 
Jeff Battershall
Application Architect
Dow Jones Indexes
jeff.battershall@ dowjones. com
(609) 520-5637 (p)
(484) 477-9900 (c)