wxmathplot problem with mpScaleX

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
periscopewxyun
In need of some credit
In need of some credit
Posts: 4
Joined: Sat Dec 16, 2017 6:59 am

wxmathplot problem with mpScaleX

Postby periscopewxyun » Wed Dec 19, 2018 4:52 am

Hello all,

I am using Code::Blocks(16.01), wxWidget 3.0.3 and wxMathplot to draw a 2D plot in my application. The data is added by defining mpFXYVector, mpScaleX and mpScaleY.

When the code/application is run, the 2D plot looks ok - the curve and scales (numbers) on both X and Y axis are Ok. Then I maximized the window, the plot also looks ok. However, when the window is minimized again, the scale (numbers) on X axis disappeared.

I have tried using fit() and layout() for mpWindow, it does not work.

Can anyone help me out?

Many thanks,

periscopewxyun

Return to “C++ Development”

Who is online

Users browsing this forum: No registered users and 20 guests