Rafael

Changing the field from N(4,0) to Int did not solve the problem.  Kevin wrote 
to me privately and suggested that I try ScaleLegend.Format = [@ 999].  The 
space after the @ solved the problem.

Paul

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Rafael 
Copquin
Sent: 27 March 2013 19:25
To: [email protected]
Subject: Re: Foxcharts scale legends

I had a similar problem and solved it thus:

The main cursor, with the decimals, I show in a grid.
 From this cursor I derived another, but with the money fields as I

ie select total,....... from sales into cursor curSales   (sales total 
is N(10,2) )
this cursor is shown in a grid

then

   create cursor curGraph( sales I,........) select curSales scan all
         nTotal = int(curSales.total)
        insert into curGraph( sales,.....) values (nTotal,.....) endscan

and I draw the graph from curGraph

Rafael Copquin


El 27/03/2013 11:50 a.m., Paul Newton escribió:
> Hi all
>
> I am using Foxcharts and have a simple vertical bar chart.  The underlying 
> cursor has an N(4,0) field for the values and the value in question is the 
> number of users (which obviously must be a whole number).  In this case there 
> was only one user and the scale was marked at intervals of 0.25.  I got 
> around that by setting Scale = 1.
>
> The chart scale now goes from 0 to 2 with the bar occupying half the height 
> of the chart.  All this is fine except that the scale legends are showing as 
> 0.00, 1.00 and 2.00.
>
> I want these to be 0, 1 and 2 but I can't seem to find how to achieve this.  
> Any suggestions would be highly appreciated.
>
> Paul Newton
>
>
>
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to