Changeset 346 for trunk/client/modules/Elezioni/grafici/jpgraph_date.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_date.php
r284 r346 407 407 if( $aStartTime == $aEndTime ) { 408 408 // Special case when we only have one data point. 409 // Create a small artific al intervall to do the autoscaling409 // Create a small artificial interval to do the autoscaling 410 410 $aStartTime -= 10; 411 411 $aEndTime += 10; 412 } 413 if( abs($aEndTime - $aStartTime) <= 1 ) { 414 // Special case when we only have one second. 415 // Create a small artificial interval to do the autoscaling 416 $aStartTime -= 1; 417 $aEndTime += 1; 412 418 } 413 419 $done=false;
Note:
See TracChangeset
for help on using the changeset viewer.