mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 10:45:10 +02:00
bigger pies
This commit is contained in:
parent
2ccade1f9a
commit
1b41a3d964
@ -112,9 +112,11 @@ const WinnerMonth = (obj) => {
|
|||||||
<VictoryPie padding={0} data={pieList} x="address" y="sum"
|
<VictoryPie padding={0} data={pieList} x="address" y="sum"
|
||||||
sortOrder="descending"
|
sortOrder="descending"
|
||||||
sortKey="sum"
|
sortKey="sum"
|
||||||
radius={200}
|
radius={300}
|
||||||
innerRadius={10}
|
width={620}
|
||||||
labelRadius={({ radius }) => radius * 0.5}
|
height={620}
|
||||||
|
innerRadius={50}
|
||||||
|
labelRadius={140}
|
||||||
cornerRadius={3}
|
cornerRadius={3}
|
||||||
colorScale={[
|
colorScale={[
|
||||||
"#282678",
|
"#282678",
|
||||||
@ -148,7 +150,7 @@ const WinnerMonth = (obj) => {
|
|||||||
fillOpacity: 0.9, stroke: "#636363", strokeWidth: 1.5
|
fillOpacity: 0.9, stroke: "#636363", strokeWidth: 1.5
|
||||||
},
|
},
|
||||||
labels: {
|
labels: {
|
||||||
fontSize: 10, zIndex: 999
|
fontSize: 16, zIndex: 999
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
labelPosition="centroid"
|
labelPosition="centroid"
|
||||||
@ -190,9 +192,11 @@ const WinnerMonth = (obj) => {
|
|||||||
<VictoryPie padding={{ top: 20, bottom: 20, left: 120, right: 120 }} data={pieList} x="address" y="sum"
|
<VictoryPie padding={{ top: 20, bottom: 20, left: 120, right: 120 }} data={pieList} x="address" y="sum"
|
||||||
sortOrder="descending"
|
sortOrder="descending"
|
||||||
sortKey="sum"
|
sortKey="sum"
|
||||||
radius={200}
|
radius={300}
|
||||||
innerRadius={10}
|
width={620}
|
||||||
labelRadius={({ radius }) => radius * 0.5}
|
height={620}
|
||||||
|
innerRadius={50}
|
||||||
|
labelRadius={140}
|
||||||
cornerRadius={3}
|
cornerRadius={3}
|
||||||
colorScale={[
|
colorScale={[
|
||||||
"#282678",
|
"#282678",
|
||||||
@ -226,7 +230,7 @@ const WinnerMonth = (obj) => {
|
|||||||
fillOpacity: 0.9, stroke: "#636363", strokeWidth: 1.5
|
fillOpacity: 0.9, stroke: "#636363", strokeWidth: 1.5
|
||||||
},
|
},
|
||||||
labels: {
|
labels: {
|
||||||
fontSize: 10, zIndex: 999
|
fontSize: 16, zIndex: 999
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
labelPosition="centroid"
|
labelPosition="centroid"
|
||||||
@ -266,9 +270,11 @@ const WinnerMonth = (obj) => {
|
|||||||
<VictoryPie padding={{ top: 20, bottom: 20, left: 120, right: 120 }} data={pieList} x="address" y="sum"
|
<VictoryPie padding={{ top: 20, bottom: 20, left: 120, right: 120 }} data={pieList} x="address" y="sum"
|
||||||
sortOrder="descending"
|
sortOrder="descending"
|
||||||
sortKey="sum"
|
sortKey="sum"
|
||||||
radius={200}
|
radius={300}
|
||||||
innerRadius={10}
|
width={620}
|
||||||
labelRadius={({ radius }) => radius * 0.5}
|
height={620}
|
||||||
|
innerRadius={50}
|
||||||
|
labelRadius={140}
|
||||||
cornerRadius={3}
|
cornerRadius={3}
|
||||||
colorScale={[
|
colorScale={[
|
||||||
"#282678",
|
"#282678",
|
||||||
@ -302,7 +308,7 @@ const WinnerMonth = (obj) => {
|
|||||||
fillOpacity: 0.9, stroke: "#636363", strokeWidth: 1.5
|
fillOpacity: 0.9, stroke: "#636363", strokeWidth: 1.5
|
||||||
},
|
},
|
||||||
labels: {
|
labels: {
|
||||||
fontSize: 10, zIndex: 999
|
fontSize: 16, zIndex: 999
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
labelPosition="centroid"
|
labelPosition="centroid"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user