Search the web
Sign In
New User? Sign Up
Amulet · Amulet Easy GUI Users Group
? 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
Changing the Color of line plot whilie drawing   Message List  
Reply | Forward Message #1453 of 1569 |
Re: Changing the Color of line plot whilie drawing

This can actually be done, probably just like you were trying to do. It's the
"lineColor" parameter you need to set the InternalRAM.color variable to, not the
fillColor, which is the background color.

The only trick here may be that the line color changes exactly when you tell it
to, which may end up looking weird if you have large changes in data from point
to point, but I can give you some work arounds for that if you want. If the data
is slow moving, like room temperature, you wouldn't pass through more than 1
"color range" border at a time and I wouldn't foresee any problems.

--- In Amulet@yahoogroups.com, "gshdsilva11" <gshdsilva11@...> wrote:
>
> Hi,
> I want to draw a line plot by three different colors from the data coming from
UART. Within 3 different ranges of y axis , graph line should be draw in 3
different colors. I have tried with giving a color variable to "fillColor"
parameter. But it does not detect and default color is using through out the
drawing. Can i manage this issue with line plot?
>
> Is there any option other than line plots?
>
> Thank you!
>





Thu Jul 2, 2009 1:17 am

amulet_deters
Offline Offline
Send Email Send Email

Forward
Message #1453 of 1569 |
Expand Messages Author Sort by Date

Hi, I want to draw a line plot by three different colors from the data coming from UART. Within 3 different ranges of y axis , graph line should be draw in 3...
gshdsilva11
Offline Send Email
Jul 1, 2009
10:00 am

This can actually be done, probably just like you were trying to do. It's the "lineColor" parameter you need to set the InternalRAM.color variable to, not the...
Brian Deters
amulet_deters
Offline Send Email
Jul 2, 2009
1:17 am
Advanced

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