Here , i want to generate the report in Yii
Step 1. Yii Open Flash Chart
Step 2. Extract the release file under protected/extensions
Step 3. In the view file me pasting this code
// Creating an Yii Extension component
$flashChart = Yii::createComponent(‘application.extensions.openflashchart2.EOFC2’);
// Minimum usage. You will always need at least this.
$flashChart->begin();
$flashChart->setData(array(1,2,2,3,5,6,1,9,6,4,5,6,7,8,0,8,2,2,1,9));
$flashChart->renderData(‘line’);
$flashChart->render(300, 200);
the i was run my application the error is generated…
Alias "application.extensions.openflashchart2.EOFC2" is invalid. Make sure it points to an existing PHP file.