WxPlotWindow

From WxWiki

Jump to: navigation, search

Q: Has anyone noticed that there is no x-axis on MS Windows? Using gtk there is one!

Is there a solution to this problem?

A: Yes! You can change the wxPlotXAxisArea-Ctor

   wxPlotXAxisArea::... : wxWindow( , , , wxSize(-1, 40), , )
// wxPlotYAxisArea::... : wxWindow( , , , wxSize(60, -1), , )

... to

   wxPlotXAxisArea::... : wxWindow( , , , wxSize( 0, 40), , )
// wxPlotYAxisArea::... : wxWindow( , , , wxSize(60,  0), , )

as someone (I forgot) posted some time ago - thanks to him!

Personal tools