Search found 26 matches
- Fri Apr 01, 2022 9:54 am
- Forum: wxCode
- Topic: wxFreeChart - Request for Opinions
- Replies: 11
- Views: 13733
Re: wxFreeChart - Request for Opinions
Hi, i spent the last few days trying to make it function without issues and by issues i mean that when moving the graph with the mouse or zoom in/out with the mouse wheel it lags. It is like it stops responding for a couple milliseconds and then it comes back again. I know that OpenGL is best for th...
- Tue Mar 22, 2022 6:48 pm
- Forum: wxCode
- Topic: wxFreeChart - Request for Opinions
- Replies: 11
- Views: 13733
Re: wxFreeChart - Request for Opinions
Screenshot_5.png I spent some time adding functions for displaying surface plots. I have also started working on the mouse events. Still i havent finished anything, but it looks promising. Regarding the mouse events, i chose a different logic. I catch the mouse event in chartpanel class. On each &q...
- Sat Nov 14, 2020 4:49 pm
- Forum: C++ Development
- Topic: Download file with CURL and wxThread with progressbar
- Replies: 2
- Views: 816
Download file with CURL and wxThread with progressbar
Hi, I want to have my piece of software check for available updates on my server, download and install the latest one. Currently i am using wxURL to make it happen and it works but sooner or later the http will change to https and that means the wxURL will stop functioning. I already use libcurl in ...
- Wed Apr 01, 2020 9:47 am
- Forum: C++ Development
- Topic: wxLogMessage targets
- Replies: 1
- Views: 527
wxLogMessage targets
Hi everyone, i know that we can have multiple targets where wxLog can write the messages. My question is if there is a way to have for example a target that wxLog writes all messages and a second target where wxLog can write only "INFO" messages. The ideal for me is to write to a log file ...
- Sun Apr 30, 2017 10:46 am
- Forum: wxCode
- Topic: wxFreeChart - Request for Opinions
- Replies: 11
- Views: 13733
Re: wxFreeChart - Request for Opinions
Well stripping out the "Fire" code and "Observable" was rather easier than I was expecting. Also implementing some simple events is not to bad. What is harder is deciding a good way to propagate them. My current thoughts are that every object which can change is derived from wxE...
- Fri Apr 28, 2017 3:59 pm
- Forum: wxCode
- Topic: wxFreeChart - Request for Opinions
- Replies: 11
- Views: 13733
Re: wxFreeChart - Request for Opinions
I have created a branch in Github https://github.com/iwbnwif/wxFreeChart/tree/remove_fire for getting rid of the Fire mechanism. The aim is to restore the functionality of the demos only using wxEvent. AFAIK that is only: Dynamic data Scrolling windows That is exactly what i did when i added "...
- Thu Apr 27, 2017 3:57 pm
- Forum: wxCode
- Topic: wxFreeChart - Request for Opinions
- Replies: 11
- Views: 13733
Re: wxFreeChart - Request for Opinions
As an experiment, I have deleted all the event code and it makes no difference to any of the demos with the exception of the dynamic XY demo. My thought is therefore to completely remove all the observable / observer code as well and implement just a "DatasetUpdated" -> "Redraw"...
- Thu Apr 27, 2017 9:10 am
- Forum: wxCode
- Topic: wxFreeChart - Request for Opinions
- Replies: 11
- Views: 13733
Re: wxFreeChart - Request for Opinions
I am joining in as i would really like to participate in adding features and modernizing it. The "FIRE" events do really bother me and honestly i dont understand how they work or why they are there since wxWidgets offers a better event mechanism that we could implement there. As you know i...
- Sat Feb 18, 2017 1:46 pm
- Forum: Announcements and Discoveries
- Topic: wxFreeChart project need contributors
- Replies: 36
- Views: 37899
Re: wxFreeChart project need contributors
I just saw that there seems to be some activity on the wxfreechart component. Back in 2010/2011 I made some additions to this component for my http://softsolutions.sedutec.de/audioanalyser.php project. These additions were: - LineTextMarker (for displaying a linemarker with some text, e.g. an measu...
- Sun Jan 29, 2017 11:32 am
- Forum: Announcements and Discoveries
- Topic: wxFreeChart project need contributors
- Replies: 36
- Views: 37899
Re: wxFreeChart project need contributors
Further suggestions I recommend implementing an optional "nice labels" function... This can be tricky, because a general solution will have to cope with very small numbers and very large numbers, while the ends of the axes might only be a small proportion of these values or could be at ex...
- Sat Jan 28, 2017 1:30 am
- Forum: Announcements and Discoveries
- Topic: wxFreeChart project need contributors
- Replies: 36
- Views: 37899
Re: wxFreeChart project need contributors
Further suggestions I recommend implementing an optional "nice labels" function, the charts look prettier/natural when used. It may not be obvious with sample data, but when you have a lot of varied natural data, the numbers chosen for tick label can look odd to an end user. On a similar ...
- Fri Jan 27, 2017 7:37 pm
- Forum: C++ Development
- Topic: wxGridTableMessage trigger cell changed event in wxGrid
- Replies: 8
- Views: 2810
Re: wxGridTableMessage trigger cell changed event in wxGrid
That's much more complicated than what i had in mind. You already had an event handler for wxGRID_CELL_CHANGED, so i had just sent that event. And pushing a new event handler shouldn't have been necessary. This is what i had in mind (untested though): Inside class derived from wxGridTableBase: wxGr...
- Fri Jan 27, 2017 5:45 pm
- Forum: C++ Development
- Topic: wxGridTableMessage trigger cell changed event in wxGrid
- Replies: 8
- Views: 2810
Re: wxGridTableMessage trigger cell changed event in wxGrid
I see two options: a) If you don't want to change too much to your current code, you could send a GRID_CELL_CHANGED event from the table to the grid when the model data changed. b) You move the gridChanged flag to the table and add a public method to your derived class that returns the value. Well ...
- Fri Jan 27, 2017 2:27 pm
- Forum: C++ Development
- Topic: wxGridTableMessage trigger cell changed event in wxGrid
- Replies: 8
- Views: 2810
Re: wxGridTableMessage trigger cell changed event in wxGrid
but there is one boolean flag "gridChanged = true" that triggers a whole bunch of other functions like saving the grid data Is that in the grid or the gridtable? It's hard to tell without more details, but it sounds like you have a bad separation of model and view. The grid just displays ...
- Fri Jan 27, 2017 1:56 pm
- Forum: C++ Development
- Topic: wxGridTableMessage trigger cell changed event in wxGrid
- Replies: 8
- Views: 2810
Re: wxGridTableMessage trigger cell changed event in wxGrid
That is not too much effort to implement but there is one boolean flag "gridChanged = true" that triggers a whole bunch of other functions like saving the grid data. My biggest concern is that flag which changes in the GRID_CELL_CHANGED event handler. If only there was a GRID_TABLE_CELL_CH...