Version: 1.1.0_devel (using KDE 3.2 BRANCH >= 20040204, Mandrake Linux Cooker i586 - Cooker) Compiler: gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk) OS: Linux (i686) release 2.6.3-7mdk (Seems to be new since 1.0.0) If you choose to use symbols for a curve in a plot that shows its legend, you'll notice that the symbol is HUGE ! It also seems to me that the drawing it much slower than in 1.0.0, but if it is confirmed I suppose I'll open another report.
CVS commit by arwalker: Draw legend of correct size and correct line type. CCMAIL: 95018-done@bugs.kde.org M +3 -2 kstlegend.cpp 1.19 --- kdeextragear-2/kst/kst/kstlegend.cpp #1.18:1.19 @@ -184,13 +184,14 @@ void KstLegend::draw(KstBaseCurveList* p // draw the corresponding line and point... // - p.setPen(QPen((*it)->color(), (*it)->lineWidth(), KstLineStyle[(*it)->lineStyle()])); iX = iX + iLineWidth + iCharWidth; iY = py - iLineHeight/2; if((*it)->hasLines()) { + p.setPen(QPen((*it)->color(), (*it)->lineWidth(), KstLineStyle[(*it)->lineStyle()])); p.drawLine(iX, iY, iX+2*iCharWidth, iY); } if((*it)->hasPoints()) { + p.setPen(QPen((*it)->color(), (*it)->lineWidth())); tmppoint.setType((*it)->Point.type()); - tmppoint.draw(&p, iX+iCharWidth, iY, 600); + tmppoint.draw(&p, iX+iCharWidth, iY, (*it)->lineWidth(), 600); } py += iLineSpace;