mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 19:02:48 +00:00
![]() most of the changes were done trought Katie's namefsck script which convertes forward class declarations to include directives, however other fixes here and there were needed as well as some questionable changes to Q_DECLARE_TYPEINFO() macro calls because they most likely have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and probably will be in Katie) meaning that some of the changes may be temporary and reverted later. Signed-off-by: Ivailo Monev <xakepa10@gmail.com> |
||
---|---|---|
.. | ||
kplotaxis.cpp | ||
kplotaxis.h | ||
kplotobject.cpp | ||
kplotobject.h | ||
kplotpoint.cpp | ||
kplotpoint.h | ||
kplotwidget.cpp | ||
kplotwidget.h | ||
README |
This library provides the KPlot* classes. KPlotWidget is a QWidget-derived class that provides a virtual baseclass for easy data-plotting. The idea behind KPlotWidget is that you only have to specify information in "data units"; i.e., the natural units of the data being plotted. KPlotWidget automatically converts everything to screen pixel units. KPlotWidget draws X and Y axes with tickmarks and tick labels. It automatically determines how many tickmarks to use and where they should be, based on the data limits specified for the plot. You change the limits by calling setLimits( double x1, double x2, double y1, double y2 ). Data to be plotted are stored using the KPlotObject class. KPlotObject consists of a QList of QPointF's, each specifying the X,Y coordinates of a data point. KPlotObject also specifies the "type" of data to be plotted (POINTS or CURVE or POLYGON or LABEL). Jason Harris kstars@30doradus.org