function views_plugin_style_chart::render in Views Charts 7
Same name and namespace in other branches
- 6 views_plugin_style_chart.inc \views_plugin_style_chart::render()
Render the display in this style.
Overrides views_plugin_style::render
File
- ./
views_plugin_style_chart.inc, line 203 - Holds views_plugin_style_chart class which implements the chart plugin.
Class
Code
function render() {
// Group the rows according to the grouping field, if specified.
$sets = $this
->render_grouping($this->view->result, $this->options['grouping']);
$output = '';
foreach ($sets as $title => $rows) {
$output .= $this
->_render($rows, $title);
}
unset($this->view->row_index);
return $output;
}