mirror of
				https://github.com/aclindsa/moneygo.git
				synced 2025-11-03 18:13:27 -05:00 
			
		
		
		
	StackedBarChart.js: Add tooltips to the bars
This commit is contained in:
		@@ -125,7 +125,10 @@ module.exports = React.createClass({
 | 
				
			|||||||
					}
 | 
										}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
					seriesBars.push((
 | 
										seriesBars.push((
 | 
				
			||||||
						<rect onClick={rectOnClick} className={rectClasses} x={x(i) + barStart} y={rectY} width={barWidth} height={rectHeight} rx={1} ry={1}/>
 | 
											<g>
 | 
				
			||||||
 | 
												<title>{child} - {value}</title>
 | 
				
			||||||
 | 
												<rect onClick={rectOnClick} className={rectClasses} x={x(i) + barStart} y={rectY} width={barWidth} height={rectHeight} rx={1} ry={1}/>
 | 
				
			||||||
 | 
											</g>
 | 
				
			||||||
					));
 | 
										));
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				if (seriesBars.length > 0) {
 | 
									if (seriesBars.length > 0) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user