Shouldn't it be possible to assign minValue and maxValue of the axis directly?

If so, then this should be added to __set() function in 
Graph/src/axis/numeric.php (not sure about the cast)

           case 'minValue':
                if ( !is_numeric( $propertyValue ) )
                {
                    throw new ezcBaseValueException( $propertyName, 
$propertyValue, 'float' );
                }

                $this->properties['minValue'] = (float) $propertyValue;
                break;
            case 'maxValue':
                if ( !is_numeric( $propertyValue ) )
                {
                    throw new ezcBaseValueException( $propertyName, 
$propertyValue, 'float' );
                }

                $this->properties['maxValue'] = (float) $propertyValue;
                break;


Regards
Vitek
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to