<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18882">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi Dave,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Sadly I don't believe that this is supported as
saclar values in the legend all use the '%g' format for printing.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>A workaround, of sorts, would be to specify an
equation for the value you want to print:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>So instead of putting [Vector/Rms] in the legend
you could put something like:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>[=([Vector/Rms]*1000.0 - ([Vector/Rms]*1000.0)%1.0)
/ 1000.0]</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Horribly inelegant, but it does get the job
done!</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Andrew</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=daveboettger@yahoo.com href="mailto:daveboettger@yahoo.com">David
Boettger</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=kst@kde.org
href="mailto:kst@kde.org">kst@kde.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, March 06, 2010 3:36
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Kst] Legend
dataPrecision?</DIV>
<DIV><BR></DIV>
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD vAlign=top>Hi,
<DIV><BR></DIV>
<DIV>I have made a legend that in addition to labeling each vector
displays the scalar RMS value for the vector, and this works great. My
question is if there is something similar to the dataPrecision setting
for labels that would apply to legends? I would like only 2-3 digits
displayed instead of all of them. I have not been able to find any
documentation for this.</DIV>
<DIV><BR></DIV>
<DIV>Thanks,</DIV>
<DIV>Dave</DIV></TD></TR></TBODY></TABLE><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Kst mailing
list<BR>Kst@kde.org<BR>https://mail.kde.org/mailman/listinfo/kst<BR><BR></BLOCKQUOTE></BODY></HTML>