MagnifyingGlass
class MagnifyingGlass extends JsonConfig (View source)
MagnifyingGlass Object
An object containing all the values for the magnifying glass which can be passed into the chart's options. If created with no parameter, it defaults to enabled with a zoom factor of 5. Passing a number in upon creation, then the zoomFactor will be set.
Constants
| TYPE | 
                     Type of JsonConfig object 
  | 
            
Methods
Builds the MagnifyingGlass object.
Shortcut method to set the value of an option and return $this.
Parses the config array by passing the values through each method to check validity against if the option exists.
Sets whether the magnifying glass is enabled or not.
The zoom factor of the magnifying glass.
Details
        at line 54
                            
    
    __construct(
    array $config = array())
    
    Builds the MagnifyingGlass object.
        in 
    JsonConfig at line 64
                            
    mixed
    __get(
    string $option)
    
    Get the value of a set option via magic method.
        in 
    JsonConfig at line 75
                            
    Options
    getOptions()
    
    Gets the Options object for the JsonConfig
        in 
    JsonConfig at line 90
                            
    JsonConfig
    setOption(
    string $option, 
    mixed $value)
    
    Shortcut method to set the value of an option and return $this.
In order to maintain backwards compatibility, ConfigObjects will be unwrapped.
        in 
    JsonConfig at line 106
                            
    
    setOptions(
    array $config)
    
    Parses the config array by passing the values through each method to check validity against if the option exists.
        in 
    JsonConfig at line 275
                            
    array
    jsonSerialize()
    
    Custom serialization of the JsonConfig object.
        at line 75
                            
    MagnifyingGlass
    enable(
    bool $enable)
    
    Sets whether the magnifying glass is enabled or not.
        at line 87
                            
    MagnifyingGlass
    zoomFactor(
    integer $zoomFactor)
    
    The zoom factor of the magnifying glass.