You are here

function views_plugin_style_chart::render in Views Charts 6

Same name and namespace in other branches
  1. 7 views_plugin_style_chart.inc \views_plugin_style_chart::render()

Render the display in this style.

File

./views_plugin_style_chart.inc, line 176
Holds views_plugin_style_chart class which implements the chart plugin.

Class

views_plugin_style_chart

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;
}