Skip to content
Permalink
Browse files

fix chart Q grow

  • Loading branch information...
deemru committed Sep 19, 2019
1 parent cf3c17c commit 033c439910bace4a89d72e4873995b45d6eef972
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.php
@@ -110,9 +110,9 @@
$to = min( $height, $to );
$Q = 1;
while( ( $to - $from ) / $Q > 2500 && $Q < 1000 )
while( ( $to - $from ) / $Q > 1000 && $Q < 10000 )
$Q *= 10;
$from -= $from % $Q;
$dataset = $api->get_dataset( $Q, $from, $to );

0 comments on commit 033c439

Please sign in to comment.
You can’t perform that action at this time.