You are here

protected function D3ViewsDataMapping::mapS in d3.js 7

File

modules/d3_views/includes/D3ViewsDataMapping.inc, line 335

Class

D3ViewsDataMapping

Code

protected function mapS($mapping, $row, &$output, $index) {

  // Only populate once.
  if (empty($output)) {
    $output = $this->plugin->view->field[$mapping]
      ->label();
  }
}