Updated debian/control to support also Debian 12 Bookworm.
Fix an issue in representation of UTF-8 labels for mpBarChart - missing c_str call.
Fix an issue in representation of UTF-8 labels for mpBarChart.
Introduced mpBarChart class to draw bar charts, and a matching new sample.
Library installation path on Linux resulted to be empty in CMake file. CD-RON77
Removed comment line which seems to disturb some builds. CD-RON77
Remove forced installation of library in lib64 under Linux. CD-RON77
Adding debian/source/format file to support building on latest Ubuntu 22.04. CD-RON77
Hello, you are right, repository trunk contains a lot of fixes and updates for latest wxWidgets (I've built up to 3.1.4 currently), and the distributed release was outdated. I released 0.2.0 last week to get in sync, and I hope to make some code and build cleanup in the near future.
Hi, you should use an mpBitmapLayer for that. Just put it at the bottom of the layer stack (so add it as first layer).
Cleanup of CMake warnings.
Updated version files and changelogs for release of 0.2.0.
Fix install command for Windows cross-building using MinGW. CD-RON77
I normally use wxMathPlot with wxWidgets 3.1 and MinGW. It is not an issue, but please use the the latest SVN version, because prebuilt packages are outdated. If you experience other issues, feel fre to write them here.
Hi, I think that it should be a matter of adding a second mpScaleY layer with a different scale factor and a different position flag (mpALIGN_RIGHT and mpALIGN_LEFT for example). But probably you need to derive a new class to set a different scaling factor. I hope this helps. CD-RON77
The library builds also on Windows without Cygwin. README file refers to the build procedure that should work on POSIX systems. Under Windows I suggest to use graphical version of CMake and select proper compiler from there. I did not test recent Visual Studio, but it worked until 2012 version.
Please download the trunk/mathplot folder, sandbox branch is very outdated (2007).
Hello, there was a page with instructions somewhere, but I can't find it now. Anyway, probably it is outdated, so I summarize it here. wxMathPlot uses CMake as build tool, to generate project files for different compilers according to user needs. You also need wxWidgets configured in your compiler in order to build (see this page for install instructions). Currently I use MinGW as cross compiler for Windows, so I did't test latest versions of Visual Studio, but basically, copy wxMathPlot SVN version...
Hello Tilen, I believe the best solution for you is to get a pointer to the popup menu item using the method mpWindow::GetPopupMenu() http://wxmathplot.sourceforge.net/docs/a00018.html#a552cc32aa4f45c31cfa60ec0dba73ec8 Using that reference you get a standard wxMenu ( https://docs.wxwidgets.org/3.0/classwx_menu.html ) object, which you can manipulate adding and removing items and their callbacks. THis way you can remove standard "Fit" action and add your own. CD_RON77
Hello Tilen, I believe the best solution for you is to get a pointer to the popup menu item using the method mpWindow::GetPopupMenu() http://wxmathplot.sourceforge.net/docs/a00018.html#a552cc32aa4f45c31cfa60ec0dba73ec8 Using that reference you get a standard wxMenu (https://docs.wxwidgets.org/3.0/classwx_menu.html) object, which you can manipulate adding and removing items and their callbacks. THis way you can remove standard "Fit" action and add your own. CD_RON77
Force lib64 as needed. CD-RON77
Updating Base.spec. CD-RON77
Still updating RPM build. CD-RON77
Change Spec file. CD-RON77
Updated RPM and DEB builds. CD-RON77
Updated debian/control file to add compatibility with Ubuntu 18.04. CD_RON77
Fixed bug when saving screenshots when not in white background: taxt elements were always printed in black. CD-RON77
Adding the option to printout date and time data using gmtime instead of localtime. CD-RON77
Implemented formatting mouse coordinate display in the same way as x axis using time formats. Removed some gcc build warnings. CD-RON77
Introduced item mode in mpInfoLegend, to draw a square instead of a line in legend, which is more clear. CD-RON77
Final fix for mpInfoCoords rectangle size on Windows. CD-RON77
Try to fix visualization of mpInfoCoords on Windows with recent versions of wxWidgets: force increasing y size of rectangle. CD-RON77
Try to fix visualization of mpInfoCoords on Windows with recent versions of wxWidgets. CD-RON77
mpScaleX labels: under WIN32 platform time_t is 32 bit signed, so dates has to be checked to be valid to avoid crashes. This is subject to 2038 bug, but should be avoided on 64 bit builds. CD-RON77
Fix X scale: if X axis is set to date/time format, avoid negative values, which are not recognized by Windows. Initialized coords in mpScaleY to avoid flooding valgrind outputs of warnings. CD-RON77
Merged modifications with repository. Davide
Update for building on Debian 9 Stretch.
Fixed checking of wxWidgets version on example ...