Search the web
Sign In
New User? Sign Up
flexcoders · RIA Development with Adobe Flex
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Continuous Multi-colored Line Chart   Message List  
Reply | Forward Message #145111 of 149661 |
Re: Continuous Multi-colored Line Chart

That one is a little tricky.  But, here's one way that you can do it:

http://www.timothyhoff.com/projects/LineRendererSample/LineRendererSample.html
(right click to view source)

-TH

--- In flexcoders@yahoogroups.com, "kenny14390" <kenny14390@...> wrote:
>
> Hi all. It's been a year since my last question and this one seems like an interesting problem.
>
> First to give you some background, I'm making a stats page for a game. The game consists of three rounds and each round consists of five clicks. Each click can either add or subtract points from your score. So after each round I'd like to show a line chart to plot out the value of the users' points (y axis) against each click (x axis). Since the second round starts with the points from the first and the third from the second, the graph of the entire game (all three rounds) is continuous.
>
> In order to graphically distinguish which clicks came from a certain round, I would really like to have the line be broken up into three colored segments.
>
> I couldn't find a good solution so I tried to hack my own by simply drawing three individual segments head to tail. However, this doesn't work for two reasons: the line needs to be continuous and it needs to show data tips. The three segments at a glance appear to be continuous, but I set the line to be "curved" so it's smooth. Back-to-back lines don't curve corners and all of a sudden a smooth line has a sharp angle. Secondly, since the ending point of the first or second round is the starting point of the next round, hovering over that point on the chart displays two data tips; one for each round (displaying the same point values).
>
>
> Does anyone know of anything built in to simply say "starting at x-value X change line color to #xxxxxx"?
>
>
> Thanks!
>



Mon Jul 6, 2009 11:10 pm

turbo_vb
Offline Offline
Send Email Send Email

Forward
Message #145111 of 149661 |
Expand Messages Author Sort by Date

Hi all. It's been a year since my last question and this one seems like an interesting problem. First to give you some background, I'm making a stats page for...
kenny14390
Offline Send Email
Jul 6, 2009
2:36 pm

That one is a little tricky. But, here's one way that you can do it: http://www.timothyhoff.com/projects/LineRendererSample/LineRendererSampl\ e.html ...
Tim Hoff
turbo_vb
Offline Send Email
Jul 6, 2009
11:11 pm

That's perfect. Thank you very much for your help, Tim....
kenny14390
Offline Send Email
Jul 7, 2009
3:35 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help