Yiiwheels Whhighchart size

0 down vote favorite

i use yii and this widget for making a chart

yiiwheels.widgets.highcharts.WhHighCharts

but it turns out that it couldn’t be sized as i want. it just fit as wide as my screen. i want to make it a bit smaller. But how? i’ve tried adding 'htmlOption=>array(‘height’=>…, ‘width’=>…) but it makes no change.

here’s my code

<?php

$label=array();

$nilai=array();

foreach($grafikskor->getData() as $i=>$ii)

{

&#036;label[&#036;i]=&#036;ii['idsimulasi'];


&#036;nilai[&#036;i]=(int)&#036;ii['nilai'];

}

$this->widget(

'yiiwheels.widgets.highcharts.WhHighCharts',


array(


    'pluginOptions' =&gt; array(


        'title'  =&gt; array('text' =&gt; 'Grafik Simulasi Siswa'),


        'xAxis'  =&gt; array(


            'categories' =&gt; &#036;label


        ),


        'yAxis'  =&gt; array(


            'title' =&gt; array('text' =&gt; 'Skor Simulasi')


        ),


        'series' =&gt; array(


            array('data'=&gt;&#036;nilai)


        )


    ),


    'htmlOptions' =&gt; array(


        'width'=&gt; '250',


        'heght' =&gt; '100'


    )


)

);;

    ?&gt;

anyone know this?