Changeset 346 for trunk/client/modules/Elezioni/grafici/jpgraph_pie.php
- Timestamp:
- Mar 30, 2021, 11:16:34 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/grafici/jpgraph_pie.php
r284 r346 335 335 336 336 if( $this->setslicecolors==null ) { 337 $graph->legend->Add($l,$colors[$ta[$i%$numcolors]],"",0,$this->csimtargets[$i],$alt,$wintarg); 337 $csimtarget = isset($this->csimtargets[$i]) ? $this->csimtargets[$i] : null; 338 $graph->legend->Add($l,$colors[$ta[$i%$numcolors]],"",0,$csimtarget,$alt,$wintarg); 338 339 } 339 340 else { 340 $graph->legend->Add($l,$this->setslicecolors[$i%$numcolors],"",0,$this->csimtargets[$i],$alt,$wintarg); 341 $csimtarget = isset($this->csimtargets[$i]) ? $this->csimtargets[$i] : null; 342 $graph->legend->Add($l,$this->setslicecolors[$i%$numcolors],"",0,$csimtarget,$alt,$wintarg); 341 343 } 342 344 }
Note:
See TracChangeset
for help on using the changeset viewer.