]> Git trees. - libqmvoc.git/commit
Added ability to add axis labels to the plot
authorJason Harris <kstars@30doradus.org>
Sun, 20 Jul 2003 04:52:06 +0000 (04:52 +0000)
committerJason Harris <kstars@30doradus.org>
Sun, 20 Jul 2003 04:52:06 +0000 (04:52 +0000)
commitd794935dc15742385b9c2f29b067d9f81c05cc08
treeb089618c50a290c0cabf0c47dc599c0a3706c016
parent12575abccc73fc7f678e9b34f2808f96c225d254
Added ability to add axis labels to the plot
(setXAxisLabel(QString)/setYAxisLabel(QString)).
The "padding" space around the plot area is no longer hard-coded.
The amount of padding can be set explicitly with setXXXPadding(int),
where XXX={Left, Right, Top, Bottom}.  If not explicitly set, the code
will automatically choose a good amount of padding, depending on whether
there are Axis Labels and/or Tick Mark Labels present.
Also, the placement of Tick Mark Labels is a bit smarter now; the labels
should be better centered on the corresponding tick.

CCMAIL: kstars-devel@lists.sourceforge.net

svn path=/trunk/kdeedu/libkdeedu/; revision=238085
kdeeduplot/kplotwidget.cpp
kdeeduplot/kplotwidget.h