The setting "Min. Value of Y axis" doesn't work for the latest dev version. It wasn't working in the alpha release and I made it work as I suggested on this issue: http://drupal.org/node/503710#comment-1982172

Comments

irakli’s picture

Category: bug » feature
Status: Active » Postponed

This is not even a bug. It's just a placeholder setting that is completely not implemented right now.

Not very cool, I admit, but just the way it is, for now. So changing to feature request and postponed.

rsevero’s picture

Assigned: Unassigned » rsevero
Status: Postponed » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

batje’s picture

Status: Closed (fixed) » Needs work

When we store a '0' for the min_y value in a barchart, we see the value is stored, but not used.

Even if we set the value in code like this

      $view->display['page_3']->display_options['style_options']['y_min'] = 0;
     return $view->preview($display_id, array($context, $qid));

the y-axis will be at 1. When you open the view after saving, and return to the field, the 0 has disappeared. Our workaround (for now) is to put in a value close to 0.

      $view->display['page_3']->display_options['style_options']['y_min'] = -0.000000000000000000000000001;
     return $view->preview($display_id, array($context, $qid));

Sorry to reopen this, great stuff you built!

rsevero’s picture

Status: Needs work » Postponed (maintainer needs more info)

batje: With which charting library you got the problem above?

I'm betting only with Bluff. Can you please confirm the results with each of the 4 charting libraries available?

batje’s picture

the issue seems more that the views options with a value 0 are not stored at all. Is this becasue 0 is also FALSE?

(and the issue is not just for min value for y axis, but also for the max value & the step value. The issue occurs in chromium, FF & IE)

batje’s picture

Status: Postponed (maintainer needs more info) » Needs work

forgot to update the status

marshmn’s picture

I also hit the issue with setting the Y-minimum to '0' fails to work (with Bluff at least).

I found that I was able to workaround it by setting the value to '0.0'

AvalancheOfLlamas’s picture

Confirmed for Flot Charts as well, a value of 0 disappears. EDIT: However the 0.0 workaround works, thanks!