summaryrefslogtreecommitdiffstats
path: root/doc/html/chart-chartform_canvas-cpp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/chart-chartform_canvas-cpp.html')
-rw-r--r--doc/html/chart-chartform_canvas-cpp.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/chart-chartform_canvas-cpp.html b/doc/html/chart-chartform_canvas-cpp.html
index 182d1d8f9..0c4fa1ae5 100644
--- a/doc/html/chart-chartform_canvas-cpp.html
+++ b/doc/html/chart-chartform_canvas-cpp.html
@@ -117,8 +117,8 @@ void <a name="f168"></a>ChartForm::drawPieChart( const double scales[], double t
BrushStyle(m_elements[i].valuePattern()) ) );
arc-&gt;<a href="tqcanvasitem.html#show">show</a>();
angle += extent;
- <a href="ntqstring.html">TQString</a> label = m_elements[i].label();
- if ( !label.<a href="ntqstring.html#isEmpty">isEmpty</a>() || m_addValues != NO ) {
+ <a href="tqstring.html">TQString</a> label = m_elements[i].label();
+ if ( !label.<a href="tqstring.html#isEmpty">isEmpty</a>() || m_addValues != NO ) {
label = valueLabel( label, m_elements[i].value(), total );
CanvasText *text = new CanvasText( i, label, m_font, m_canvas );
double proX = m_elements[i].proX( PIE );
@@ -170,8 +170,8 @@ void <a name="f169"></a>ChartForm::drawVerticalBarChart(
rect-&gt;<a href="tqcanvaspolygonalitem.html#setPen">setPen</a>( pen );
rect-&gt;<a href="tqcanvasitem.html#setZ">setZ</a>( 0 );
rect-&gt;<a href="tqcanvasitem.html#show">show</a>();
- <a href="ntqstring.html">TQString</a> label = m_elements[i].label();
- if ( !label.<a href="ntqstring.html#isEmpty">isEmpty</a>() || m_addValues != NO ) {
+ <a href="tqstring.html">TQString</a> label = m_elements[i].label();
+ if ( !label.<a href="tqstring.html#isEmpty">isEmpty</a>() || m_addValues != NO ) {
double proX = m_elements[i].proX( VERTICAL_BAR );
double proY = m_elements[i].proY( VERTICAL_BAR );
if ( proX &lt; 0 || proY &lt; 0 ) {
@@ -214,8 +214,8 @@ void <a name="f170"></a>ChartForm::drawHorizontalBarChart(
rect-&gt;<a href="tqcanvaspolygonalitem.html#setPen">setPen</a>( pen );
rect-&gt;<a href="tqcanvasitem.html#setZ">setZ</a>( 0 );
rect-&gt;<a href="tqcanvasitem.html#show">show</a>();
- <a href="ntqstring.html">TQString</a> label = m_elements[i].label();
- if ( !label.<a href="ntqstring.html#isEmpty">isEmpty</a>() || m_addValues != NO ) {
+ <a href="tqstring.html">TQString</a> label = m_elements[i].label();
+ if ( !label.<a href="tqstring.html#isEmpty">isEmpty</a>() || m_addValues != NO ) {
double proX = m_elements[i].proX( HORIZONTAL_BAR );
double proY = m_elements[i].proY( HORIZONTAL_BAR );
if ( proX &lt; 0 || proY &lt; 0 ) {
@@ -239,21 +239,21 @@ void <a name="f170"></a>ChartForm::drawHorizontalBarChart(
TQString <a name="f171"></a>ChartForm::valueLabel(
- const <a href="ntqstring.html">TQString</a>&amp; label, double value, double total )
+ const <a href="tqstring.html">TQString</a>&amp; label, double value, double total )
{
if ( m_addValues == NO )
return label;
- <a href="ntqstring.html">TQString</a> newLabel = label;
- if ( !label.<a href="ntqstring.html#isEmpty">isEmpty</a>() )
+ <a href="tqstring.html">TQString</a> newLabel = label;
+ if ( !label.<a href="tqstring.html#isEmpty">isEmpty</a>() )
if ( m_chartType == VERTICAL_BAR )
newLabel += '\n';
else
newLabel += ' ';
if ( m_addValues == YES )
- newLabel += TQString::<a href="ntqstring.html#number">number</a>( value, 'f', m_decimalPlaces );
+ newLabel += TQString::<a href="tqstring.html#number">number</a>( value, 'f', m_decimalPlaces );
else if ( m_addValues == AS_PERCENTAGE )
- newLabel += TQString::<a href="ntqstring.html#number">number</a>( (value / total) * 100, 'f', m_decimalPlaces )
+ newLabel += TQString::<a href="tqstring.html#number">number</a>( (value / total) * 100, 'f', m_decimalPlaces )
+ '%';
return newLabel;
}