在Symfony操作文件中加载sdInteractiveChartPlugin

在Symfony操作文件中加载sdInteractiveChartPlugin,symfony,Symfony,我想在symfony操作中加载sdInteractiveChartPlugin,但出现错误。 这是我的密码 $chart = InteractiveChart::newAreaChart(); $chart->setWidthAndHeight('400', '240'); $chart->setDataColors(array('#aa0000')); $chart->setBaselineColor('#ccc'); $chart->i

我想在symfony操作中加载sdInteractiveChartPlugin,但出现错误。 这是我的密码

$chart = InteractiveChart::newAreaChart();
    $chart->setWidthAndHeight('400', '240');
    $chart->setDataColors(array('#aa0000'));
    $chart->setBaselineColor('#ccc');
    $chart->inlineGraph(array('hits' => array(1,9,5)), array('Monday', 'Tuesday', 'Wednesday'), 'chart_div');
    $chart->render();
   return sfView::NONE;

$this->getContext()->getConfiguration()->loadHelpers('sdInteractiveChart');这就是我如何加载它,但不工作,我不知道为什么