Advertisement
Guest User

Untitled

a guest
May 20th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. {this.state.multibar.map( (val, index) =>
  2. <g>
  3. <rect x={60 + index * 120} y={350 - val.nda} width="20px" height={val.nda+ 'px'} fill="#ff9933" />
  4. <text x={60 + index * 120} y={350 - val.nda} fontSize="11" fontFamily="arial" fill="black" >
  5. {val.nda}
  6. </text>
  7.  
  8. <rect x={90 + index * 120} y={350 - val.upa} width="20px" height={val.upa+ 'px'} fill="#00BFFF" />
  9. <text x={90 + index * 120} y={350 - val.upa} fontSize="11" fontFamily="arial" fill="black" >
  10. {val.upa}
  11. </text>
  12.  
  13. <rect x={120 + index * 120} y={350 - val.others} width="20px" height={val.others+ 'px'} fill="#a7a2a2" />
  14. <text x={120 + index * 120} y={350 - val.others} fontSize="11" fontFamily="arial" fill="black" >
  15. {val.others}
  16. </text>
  17.  
  18. <text x={90 + index * 120} y={360} fontSize="11" fontFamily="arial" fill="black" >
  19. {val.year}
  20. </text>
  21. </g>)}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement