Re: Graphics -- Scaling (Addl Issues)
- From: "David" <dw85745NOT@xxxxxxxxxxxxx>
- Date: Sat, 16 Aug 2008 09:56:24 -0400
Larry:
Thanks for your time.
The "small bit of code" is turning into a big "Project".
Both your and Mikes posts have given me something to think about regarding
my approach.
I think where the disconnect is coming (on my end) is I'm keeping a static
scale (ScaleWidth, ScaleHeight) then redrawing my graph points to fit this
static scale. Hence, if I want the graph to be zoomed, I plot lesser
points by increasing the distance between each point.
The "Scale" method appears to be plot the graph and then adjust the
container scale which adjusts the graph.
Whether obtaining the line endpoint values using the "Scale" method will
return the correct endpoint value (Dollars) as the scale is adjusted is
unknown -- hopefully so?
Have a nice day
David
"Larry Serflaten" <serflaten@xxxxxxxxxxxxxx> wrote in message
news:e2Gf1rt$IHA.4648@xxxxxxxxxxxxxxxxxxxxxxx
"David" <dw85745NOT@xxxxxxxxxxxxx> wrote
In may case the bitmap is constantly changing.
A small demo that shows the problem would be a
big help. Looking at the code and its results is
far easier to envision than imagining a chart explained
by a paragraph of text, from your point of view.
Like the small demo I posted, can you post a small
bit of code that exemplifies the problem?
LFS
.
- Follow-Ups:
- Re: Graphics -- Scaling (Addl Issues)
- From: Larry Serflaten
- Re: Graphics -- Scaling (Addl Issues)
- References:
- Graphics -- Scaling (Addl Issues)
- From: David
- Re: Graphics -- Scaling (Addl Issues)
- From: Larry Serflaten
- Re: Graphics -- Scaling (Addl Issues)
- From: David
- Re: Graphics -- Scaling (Addl Issues)
- From: Larry Serflaten
- Graphics -- Scaling (Addl Issues)
- Prev by Date: Re: Is it Possible to write a section of a byte array to a file?
- Next by Date: Re: Is it Possible to write a section of a byte array to a file?
- Previous by thread: Re: Graphics -- Scaling (Addl Issues)
- Next by thread: Re: Graphics -- Scaling (Addl Issues)
- Index(es):
Relevant Pages
|