Skip to content

Commit 4755318

Browse files
author
Csala
committed
fixes pies
1 parent 1d54569 commit 4755318

File tree

12 files changed

+25246
-797
lines changed

12 files changed

+25246
-797
lines changed

index.html

Lines changed: 787 additions & 3 deletions
Large diffs are not rendered by default.

index.old2.html

Lines changed: 0 additions & 785 deletions
This file was deleted.

index.redirect.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<html>
2+
<meta http-equiv="Refresh"
3+
content="0.1; URL=https://www.lancaster.ac.uk/staff/csala/food/#&01&2011&United-States"><body></body></html>

js/food.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ d3.select("#mypie2").style("margin-right", widepie / 2 + 10)
9595
var piewidth = widepie
9696

9797
function updatepie(data, placeholder, placelabel1, placelabel2, pievalue, flow) {
98-
console.log(data,data.reduce((accum,item) => accum + item.v, 0))
98+
// console.log(data,data.reduce((accum,item) => accum + item.v, 0))
9999
one = flow
100100
if (flow) {
101101
piewidth = widepie

js/food.js.new renamed to js/food.new.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ d3.select("#mypie2").style("margin-right", widepie / 2 + 10)
9595
var piewidth = widepie
9696

9797
function updatepie(data, placeholder, placelabel1, placelabel2, pievalue, flow) {
98-
console.log('d')
98+
console.log(data,data.reduce((accum,item) => accum + item.v, 0))
9999
one = flow
100100
if (flow) {
101101
piewidth = widepie
File renamed without changes.

0 commit comments

Comments
 (0)