protected function getOptionsJS()
    {
        $opts = $this->options;
        foreach ( $opts['seriesStorage'] as $label => $options ) {
            $options['label'] = $label;
            $opts['series'][] = $options;
        }
        
        if ( $this->chart->titleHidden() ) {
        	unset( $opts['title'] );
        }
        
        unset($opts['seriesStorage']);
        return $this->makeJSArray( $opts );
    }
protected function getOptionsJS()
    {
        $opts = $this->options;
        foreach ( $opts['seriesStorage'] as $label => $options ) {
            $options['label'] = $label;
            $opts['series'][] = $options;
        }
        
        if ( $this->chart->titleHidden() ) {
        	unset( $opts['title'] );
        }
        
        unset($opts['seriesStorage']);
        return $this->makeJSArray( $opts );
    }
protected function getOptionsJS ( ) { $ opts = $ this -> options ; foreach ( $ opts [ 'seriesStorage' ] as $ label => $ options ) { $ options [ 'label' ] = $ label ; $ opts [ 'series' ] [ ] = $ options ; } if ( $ this -> chart -> titleHidden ( ) ) { unset ( $ opts [ 'title' ] ) ; } unset ( $ opts [ 'seriesStorage' ] ) ; return $ this -> makeJSArray ( $ opts ) ; }
Prepares options and returns JSON
@return string
Prepares options and returns JSON