From version 34.1
edited by Quentin Conner
on 02/02/2018
To version 35.1
edited by Quentin Conner
on 02/02/2018
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -146,7 +146,7 @@
146 146   intellectual = math.sin( 2 * math.pi * (days_since_birth + float(i)) / 33.0)
147 147   intuition = math.sin( 2 * math.pi * (days_since_birth + float(i)) / 38.0)
148 148   composite = physical + emotional + intellectual
149 - print "|" + str(this_month) + "/" + str(i+1) + "|" + "%8.4f" % physical + "|" + "%8.4f" % intellectual + "|" + "%8.4f" % emotional + "|" + "%8.4f" % intuition + "|" + "%8.4f" % composite
149 + print "|" + str(this_month) + "/" + str(i+1) + "|" + "%6.4f" % physical + "|" + "%6.4f" % intellectual + "|" + "%6.4f" % emotional + "|" + "%6.4f" % intuition + "|" + "%6.4f" % composite
150 150  print ""
151 151  
152 152  print "{{/chart}}"
... ... @@ -162,7 +162,7 @@
162 162   intellectual = math.sin( 2 * math.pi * (days_since_birth + float(i)) / 33.0)
163 163   intuition = math.sin( 2 * math.pi * (days_since_birth + float(i)) / 38.0)
164 164   composite = physical + emotional + intellectual
165 - print "|" + str(this_month) + "/" + str(i+1) + "|" + "%8.4f" % physical + "|" + "%8.4f" % intellectual + "|" + "%8.4f" % emotional + "|" + "%8.4f" % intuition + "|" + "%8.4f" % composite
165 + print "|" + str(this_month) + "/" + str(i+1) + "|" + "%6.4f" % physical + "|" + "%6.4f" % intellectual + "|" + "%6.4f" % emotional + "|" + "%6.4f" % intuition + "|" + "%6.4f" % composite
166 166  print ""
167 167  
168 168  print "{{chart type=\"xy_line_and_shape\" params=\"document:Web-O-Rhythm.MonthlyBiorhythm;table=composite;range:B2-F%d;series:columns;dataset:timetable_xy;domain_axis_type:date;domain_axis_date_format:MM/dd;date_format:MM/dd;time_period:day; colors:FF0000,00FF00,0000FF,FF00FF,000000\" title=\"Composite\" height=\"400\" width=\"800\"/}}" % last_day_this_month
This website content is not licensed to you. All rights reserved.
XWiki Enterprise 9.11.1 - Documentation