*

oscman

  • ****
  • 227 posts
help about graph
« on: March 18, 2017, 02:35:58 PM »
Hello, i don't use phone clicks and premium ads.
when i remove this code from graph:
Code: [Select]
, {
          yAxis: 0,
          name: '<?php echo osc_esc_js(__('Premium''veronika')); ?>',
          data: [<?php echo $premium?>],
          tooltip: {
            valueSuffix: 'x <?php echo osc_esc_js(__('viewed''veronika')); ?>'
          }
        }, {
          yAxis: 1,
          name: '<?php echo osc_esc_js(__('Phone Clicks''veronika')); ?>',
          data: [<?php echo $clicks?>],
          tooltip: {
            valueSuffix: 'x <?php echo osc_esc_js(__('clicked''veronika')); ?>'
          }
        }

Then the chart looks like in the image, the graph is in the middle instead at bottom how can i fix this?

*

MB Themes

Re: help about graph
« Reply #1 on: March 18, 2017, 08:11:09 PM »
@oscman
Why it should be in bottom? as far as I know, 0 value is not least value. There is -1, -2, ... -9999, as well as greater like 1, 5, 99.
Therefore it is correct that chart display it at middle.
I would recommend to add at least 1 view when chart will use full height of area.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oscman

  • ****
  • 227 posts
Re: help about graph
« Reply #2 on: March 18, 2017, 08:58:53 PM »
I didn't understand what do you mean? the values does what change the position? what are this values in yAxis?

*

MB Themes

Re: help about graph
« Reply #3 on: March 19, 2017, 11:09:10 AM »
@oscman
On your chart I can see just 0 value.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots