gpPanel for wxWidget
OTHER License
gpPanel is chart libary for wxWidget. It inheritance from wxPanel and use modified wxMathPlot library at chart engine. Flexible to use and easy to implement new gpLayers from examples.
Because video explain more than thousand words, there it is:
Inheritance to wxPanel
chart engine is modified wxMathPlot
Added: * point layer
gpLayer contains a number of (wxMathPlot)mpLayers
Integrated menu support
Integrated Chart tips
Integrated math library for:
FFT
graph means: * Arithmetic, Geometric, Harmonic, Quadratic, Midrange, Standard deviation, Average absolute deviation mean, Average absolute deviation median, Median, min / max. Example {{{ double aritMean = graphLayer->getArithmeticMean(); }}}
multiple charts to one gpPanel
every gpLayer features: * hide/show by gpPanel * Popup menus for:
Easy to use for everyone (If you know how use wxPanel, you know how to use gpPanel ;).
Customizable
Using Cmake on Linux/BSD:
Using Cmake on windows to create Visual Studio Solution:
..wxWindow source...
//init gpPanel
gpPanel* graphPanel = new gpPanel(parentWindow,wxNewId(),wxDefaultPosition,wxSize(240,336));
//create new line layer
gpLineLayer* lineLayer = new gpLineLayer(_("Line"), _("x-label"), _("y-label"));
// Create a data series
gpSeries* series1 = lineLayer->AddSeriesLayer("Random");
//Push data to gpLayer
for(int i=0;i<12;i++)
series1->DataPush( i, (rand()+1)%1024);
//add gpLayer to gpPanel
graphPanel->AddLayer( lineLayer, 0 );
lineLayer->RefreshChart();
graphPanel->Fit(lineLayer);
...