Tutorial:Simple To Do List Enhancements: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Stamp|2016-09-28|3.9.7|1.0.3}}
{{Stamp|2016-10-16|3.9.7|1.0.3}}


This tutorial page walks through implementation of enhancements to the Simple To Do List.
This tutorial page walks through implementation of enhancements to the Simple To Do List.
Line 118: Line 118:
==== Add Over/Under Calculation ====
==== Add Over/Under Calculation ====


Edit the Library again, and this time add a JavaScript field called Over or Under.
Edit the Library again, and this time add a JavaScript field called Over or Under. An edit card will be displayed for the JavaScript field.


[[Category:Tutorial]]
In the script area, where the watermark JavaScript is filled in, press the + Field button and select the Actual field. You'll see, inserted for you "field('Actual')" (the double-errors are mine). Type a minis sign ("-"), then press + Field again and this time select the Estimate field.
 
That's it for the script; now just display in the list as Entry Status, and your done. Tasks that are under budget well show a negative number, on budget a zero, and over budget a positive number. I suggest setting the field to One row with prev to keep all estimates on the left and actuals on the right.
 
Of course, with grouping, you can see the variance by phase or by contractor and overall st the bottom.
 
==== Chart task estimates ====
 
Let's chart the estimates for visual effect.
 
Open the Tools menu again, and this time, press the Charts button. You'll see a list of the charts already defined; it'll likely be empty at this point. Press the blue <big>'''+'''</big> button in the lower-right corner to add a new chart. Select Columns for the type of chart. Enter the chart name "Estimates by Task". Select Task Name for Columns, Estimate for Values, Sum for Function, and None for Series. Leave all checkboxes unchecked.
 
Press the checkmark in the upper-left corner of the card, and you return to the charts list. Tap on the chart you just created to view it.
 
[[Category:en]] [[Category:Tutorial]]

Navigation menu