Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members Related Pages Search
StatPlotGraph Class ReferencePlot several different statistical graphs in two dimensions. These include box-and-whisker plots, frequency distribution, and scatter plots.
More...
#include <statplotgraph.h>
Inheritance diagram for StatPlotGraph:
[legend]Collaboration diagram for StatPlotGraph:
[legend]List of all members.
|
Public Slots |
void | nextPlot () |
void | prevPlot () |
void | zoomStat () |
void | setTrace (bool b) |
bool | isTracing () const |
virtual int | getGraphType () const |
void | addPlot (unsigned int index, PlotModule *) |
void | removePlot (unsigned int index) |
void | setActivePlot (unsigned int plot) |
void | setShowCurrentPlot (bool show) |
QColor | getColor (unsigned int i) const |
Public Methods |
| StatPlotGraph (QWidget *parent=0, const char *name=0) |
| ~StatPlotGraph () |
unsigned int | getCurrentPlotIndex () const |
virtual void | print (QPrinter *) |
| Prints graph as is.
|
void | exportAsImage (const QString &, const QString &) |
| Saves the graph as an image.
|
void | getPixmap (QPixmap &pm) |
Static Public Attributes |
const unsigned int | ERROR_EMPTY_XLIST = 0 |
const unsigned int | ERROR_EMPTY_YLIST = 1 |
Protected Methods |
void | updateCoords () |
void | paintEvent (QPaintEvent *) |
void | mouseMoveEvent (QMouseEvent *m) |
Friends |
class | PlotModule |
Detailed Description
Plot several different statistical graphs in two dimensions. These include box-and-whisker plots, frequency distribution, and scatter plots.
- Author:
-
Fungmeista
Definition at line 32 of file statplotgraph.h.
Member Function Documentation
void StatPlotGraph::exportAsImage |
( |
const QString & |
, |
|
|
const QString & |
|
|
) |
[virtual] |
|
|
Saves the graph as an image.
- Parameters:
-
filename |
Path plus the complete name of the image file to save to. This should include the suffix of the file name if one is desired. |
suffix |
This specifies what type of image format export the graph as. This should be the standard file suffix of the desired image format (png, jpg, bmp, etc.). |
Implements CommonGraph.
Definition at line 200 of file statplotgraph.cpp. |
void StatPlotGraph::print |
( |
QPrinter * |
|
) |
[virtual] |
|
The documentation for this class was generated from the following files:
|