You are here

protected function ChartsGraphsOpenFlash::_get_translated_chart_type in Charts and Graphs 7

Same name and namespace in other branches
  1. 6.2 apis/charts_graphs_open_flash/charts_graphs_open_flash.class.inc \ChartsGraphsOpenFlash::_get_translated_chart_type()

Translate Charts and Graphs graph type to Open Charts Flash 2 types.

It currently doesn't nothing of value but will leave it here in case some brave soul decides to implement horizontal bar or area or some other graph type.

Return value

<string>

1 call to ChartsGraphsOpenFlash::_get_translated_chart_type()
ChartsGraphsOpenFlash::get_chart in apis/charts_graphs_open_flash/charts_graphs_open_flash.class.inc
Function that renders data.

File

apis/charts_graphs_open_flash/charts_graphs_open_flash.class.inc, line 212

Class

ChartsGraphsOpenFlash
Implementation of abstract class ChartsGraphsFlashCanvas for Open Charts Flash 2 library.

Code

protected function _get_translated_chart_type() {
  switch ($this->type) {
    default:
      $type = $this->type;
  }
  return $type;
}