Fix to axis rendering for donut and pie charts
This commit is contained in:
		
							parent
							
								
									133959a971
								
							
						
					
					
						commit
						54c3630236
					
				| @ -107,13 +107,11 @@ class PHPExcel_Chart_Renderer_jpgraph | ||||
| 
 | ||||
| 		$testCurrentIndex = 0; | ||||
| 		foreach($datasetLabels as $i => $datasetLabel) { | ||||
| 			array_reverse($datasetLabel); | ||||
| 
 | ||||
| 			if (is_array($datasetLabel)) { | ||||
| 				if ($rotation == 'bar') { | ||||
| 					$datasetLabel = array_reverse($datasetLabel); | ||||
| 					$datasetLabels[$i] = implode(" ",$datasetLabel); | ||||
| 				} else { | ||||
| 					$datasetLabel = array_reverse($datasetLabel); | ||||
| 					$datasetLabels[$i] = implode("\n",$datasetLabel); | ||||
| 				} | ||||
| 			} else { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Mark Baker
						Mark Baker