Re: Graphics -- Scaling (Addl Issues)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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




.



Relevant Pages

  • Re: Microsoft Graph Chart
    ... then on the tabs select scale. ... From there adjust the Min and Max ... settings. ... >I do not want to change the size of the graph only reduce the range. ...
    (microsoft.public.access.forms)
  • Re: BLT StripChart + scrollbar
    ... The way I solved this is with a hack in the code that handles scrollbar ... set result [eval $graph axis view x $args] ... We also have a scale widget that lets you adjust the scale of the graph, ...
    (comp.lang.tcl)
  • Re: BLT StripChart + scrollbar
    ... The way I solved this is with a hack in the code that handles scrollbar requests. ... set result [eval $graph axis view x $args] ... We also have a scale widget that lets you adjust the scale of the graph, and it has the following comment at the top: ...
    (comp.lang.tcl)
  • Re: Help with graphs
    ... notice two charts with numbers to change the scale. ... .DisplayUnit = xlNone ... Jon Peltier, Microsoft Excel MVP ... strangely enough graph 1 is dynamic but graph 2 is not. ...
    (microsoft.public.excel.misc)
  • Re: M3A and ATAPI
    ... graph pane, ... setting the graph scale to ... one disk the writing, and a total count is good enough. ... SATA drives but I won't remember the details and I won't remember to find ...
    (alt.comp.periphs.mainboard.asus)