GitHubLionel / wxMathPlot

An enhanced version of the wxMathPlot component for wxWidgets
14 stars 5 forks source link

Scaling bug: Problem in Fit() or bounding box processing? #30

Closed DRNadler closed 3 months ago

DRNadler commented 3 months ago

In demo program, click the following:

  1. Draw sinus (OK)
  2. Draw Sample (OK)
  3. Draw sinus (now not properly scaled).

Or:

  1. Draw Sample (OK)
  2. Draw Barchart (not properly scaled)
  3. Draw Barchart (now properly scaled)

Any idea what is going on? Thanks!

asmwarrior commented 3 months ago

I can confirm you mentioned bugs. I'm not sure why.

BTW: I see you have made a lot of contributions to this library. Great job.

GitHubLionel commented 3 months ago

Yes and the problem come in the latest correction in delete all :(

GitHubLionel commented 3 months ago

I go back to my first correction using do ... while

DRNadler commented 3 months ago

Seems OK now, Thanks.... Sorry about all the iterator confusion...