Search found 11 matches

by andrew99
Fri Jan 08, 2010 6:10 pm
Forum: chartsEngine
Topic: Calculated Variables and Chart Positioning
Replies: 8
Views: 15702

Re: Calculated Variables and Chart Positioning

Malte, Wondering if you might be able to help, I'm getting errors with my graphing of a number of calculated variables - hopefully a useful sample of my code is as follows --Income Charts Variable Calculations --Gross Income put (v_Total_Letting_Income * v_Rental_Growth) into v_Gross_Income_Y1 put (...
by andrew99
Tue Jan 05, 2010 5:47 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Scrollbar / Slider - On Bar Click ?
Replies: 2
Views: 2082

Scrollbar / Slider - On Bar Click ?

Wondering if anyone can help me - I need to change the 'On Bar Click' increment from 1 to 0.5 and the basic properties for the slider / scrollbar won't allow it. Any ideas?

Andrew
by andrew99
Tue Jan 05, 2010 5:44 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Calculating numbers with currency formating
Replies: 2
Views: 2237

Re: Calculating numbers with currency formating

SparkOut,

Many thanks for this it worked like a charm. Sorry for the re-post I had forgotten I had posted the same question over a year ago...

Andrew
by andrew99
Mon Jan 04, 2010 6:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Calculating numbers with currency formating
Replies: 2
Views: 2237

Calculating numbers with currency formating

Any ideas, I've tried the following. setProp cDisplaySepCurrency pValue local tSepValue if word 1 of the name of the target is not "field" then return "Invalid target" else if pValue is not a number then return "Invalid value" else put format ("%1.0f", pValue) into pValue put char -6 to -1 of pValue...
by andrew99
Thu Mar 26, 2009 6:58 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Number formats
Replies: 4
Views: 9673

Calculating variables with set number formats

SparkOut thanks for all your help on number formats, but I've got a related and probably simple question. How do I use a field value set to a particular number format for a calculation? ie. my code is as below and returns a compile error. I assume because revolution doesn't recognise £50,000.00 and...
by andrew99
Thu Mar 26, 2009 3:37 pm
Forum: chartsEngine
Topic: Calculated Variables and Chart Positioning
Replies: 8
Views: 15702

Variables & Charts

Malte, Sorry - it probably looked more complicated than it really is. I'll try to clarify. Note the () indicate the number format - ie. (£) indicates a £XXX,XXX value format and (%) indicates a X.X% value format. The [] indicates the variables known or calculated. On the X axis we have time repres...
by andrew99
Wed Mar 25, 2009 1:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Number formats
Replies: 4
Views: 9673

Number formats

Wow,

Many thanks SparkOut. I've not implemented your suggestions but had to say in advance thanks for your assistance thats more than i'd hoped for!

Will let you know how I get on.

Andrew
by andrew99
Wed Mar 25, 2009 1:14 pm
Forum: chartsEngine
Topic: Calculated Variables and Chart Positioning
Replies: 8
Views: 15702

Chart variables

Malte, Thankyou for your reply its very helpful. The calculated variables for the stacked line chart I mentioned would be as follows. (X axis) years 1 to 10 (#) (Y axis) calculated values (£) Line 1 - Year 0 Annual Income - [Gross Income (£)] Line 1 - Year 1 Annual Income - [Gross Income (£)] * [...
by andrew99
Mon Mar 23, 2009 1:17 pm
Forum: chartsEngine
Topic: Calculated Variables and Chart Positioning
Replies: 8
Views: 15702

Calculated Variables and Chart Positioning

Hello, I'm new to revolution and working with ChartsEngine (which looks great!). I'm trying to display a chart (stacked line) based on a bunch of calculated variables and i'm a bit confused. Hopeing someone might be able to help. Is there a worked example that might be able to be published to show h...
by andrew99
Mon Mar 23, 2009 1:02 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Number formats
Replies: 4
Views: 9673

Number formats

Hi, I'm new to Revolution so appologies if this is rather simple question. I have a number of fields to which i'm outputing values for display. These need to display a certain number format - some need to display a currency format ie: £XX,XXX and others need to display a percentage XX% format. Any ...

Go to advanced search