Adobe Dreamweaver Forums



Last 10 THreads :         problems linking PDFs (Last Post : Mantzi - Replies : 2 - Views : 3 )           »          VERY newbie question (Last Post : cashcrate13 - Replies : 0 - Views : 1 )           »          Undesired offset with Flash object (Last Post : TC2112 - Replies : 1 - Views : 2 )           »          Code that can effect two movie clips (Last Post : NedWebs - Replies : 1 - Views : 2 )           »          pop up blocker jacking my login (Last Post : reelhero - Replies : 6 - Views : 7 )           »          RoboHelp 7 Skins (Last Post : HelpDev - Replies : 7 - Views : 35 )           »          Clock .getUTC not working (Last Post : kglad - Replies : 3 - Views : 4 )           »          Changing RadioButton Label (Last Post : justintoflex - Replies : 2 - Views : 5 )           »          Table Borders MIssing in JavaHelp (Last Post : soxmann - Replies : 3 - Views : 8 )           »          cfimage error (Last Post : masoud_amen - Replies : 2 - Views : 3 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-20-2008, 09:23 PM
john isaacks
 
Posts: n/a
Diggs:
Default can you make a LineChart cumulative?

basically I want it to keep adding the previous values as it goes.

for instance if the dataprovider was: 5, 15, 10.

it would instead graph it as 5, 20, 30

make since?


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-21-2008, 03:42 AM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: can you make a LineChart cumulative?


"john isaacks" <webforumsuser@macromedia.com> wrote in message
news:gg4k3c$cgi$1@forums.macromedia.com...
> basically I want it to keep adding the previous values as it goes.
>
> for instance if the dataprovider was: 5, 15, 10.
>
> it would instead graph it as 5, 20, 30
>
> make since?


http://demo.quietlyscheming.com/ChartSampler/app.html

General features/watching collections


Reply With Quote
  #3 (permalink)  
Old 11-22-2008, 02:43 AM
john isaacks
 
Posts: n/a
Diggs:
Default Re: can you make a LineChart cumulative?

Thanks for the great link, that is very helpful. Unfortunately it doesn't solve
my particular question. I think you misunderstood what I needed. say I was
going to graph a company's sales for the year, and I had an array of 12 values,
each the total sales for each month. I need the graph to show the total sales
for the entire year up to each month not just each month...so the line graph
would continually be going up instead of up/down for example. If January was
3,000 and February was 2,000 it would graph February as 5,000 because that is
what is in for the year. I currently just used a for loop to create a new array
where each index adds all the indexes before it to achieve this.

By the way what is a "Newsgroup User"?

Thanks

Reply With Quote


  #4 (permalink)  
Old 11-22-2008, 03:53 AM
John Hall
 
Posts: n/a
Diggs:
Default Re: can you make a LineChart cumulative?

Re: Newsgroup User, apparently there's cross-posting a group - but whatever it
is, Amy has been very helpful in the forums and she claims to have only been
doing Flex for a year. Makes me feel like a slow learner.
Re: your dataprovider, can you not restructure the array that acts as the dp
to show year-to-date instead of individual months? Seems like it would be
easiest to alter the dataprovider. You might play around with data filter
functions that actually return the total to year to populate your chart.

Reply With Quote
  #5 (permalink)  
Old 11-22-2008, 02:26 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: can you make a LineChart cumulative?


"john isaacks" <webforumsuser@macromedia.com> wrote in message
news:gg7rd4$io4$1@forums.macromedia.com...
> Thanks for the great link, that is very helpful. Unfortunately it doesn't
> solve
> my particular question. I think you misunderstood what I needed. say I was
> going to graph a company's sales for the year, and I had an array of 12
> values,
> each the total sales for each month. I need the graph to show the total
> sales
> for the entire year up to each month not just each month...so the line
> graph
> would continually be going up instead of up/down for example. If January
> was
> 3,000 and February was 2,000 it would graph February as 5,000 because that
> is
> what is in for the year. I currently just used a for loop to create a new
> array
> where each index adds all the indexes before it to achieve this.


You could consider doing a dataFunction.

I think newsgroup user means I use NNTP instead of the slow web interface.

HTH;

Amy


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:12 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk