Installation Problem With Rgraph

Hi community,

I’ve a problem running the RGraph extention.

I’d installed the rgraph extension in C:\wamp\www\yii\framework\zii\widgets\rgraph

and the RGraph Library from the www.rgraph.net, I’d downloaded, in

C:\wamp\www\redes\protected\vendor\RGraph

I’d place the following example in the view

<?php

$this->widget(‘application.vendor.rgraph.RGraphBar’, array(

'data' =&gt; array(1, 3, 5, 7, 2, 4, 6, 10, 8, 9, 12, 11),


'options' =&gt; array(


    'chart' =&gt; array(


        'gutter' =&gt; array(


            'left' =&gt; 35,


        ),


        'colors' =&gt; array('red'),


        'title' =&gt; 'A basic chart',


        'labels' =&gt; array(


            'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'


        ),


    )


)

));

?>

I’ve the following error:

[b]

CException

El asset "C:\wamp\www\redes\protected\vendors\RGraph\css a ser publicado no existe.[/b]

What am I doing wrong ? Any help will be apreciated, thanks in advance

Hi please check your path name

you can write


application.vendor.rgraph.RGraphBar

and your folder name is vendors so you can write like


application.vendors.rgraph.RGraphBar

I hope it’s work.

Thanks but it doesn’t work

Hey,

you can not install the rgraph widget on yii folder install the your project folder(redes) does not any change to yii folder.

Thanks for your reply, but noy I’m confused.

Where do I place the rgraph folder (that is the extension, the classes) and where the RGraph folder which is the version downloaded from graph.net?

Thanks Maggie Q, problem SOLVED!

I’d renamed the folder vendor to vendors and I’ve seen my first grafic.

cheers :rolleyes: