You are here

function ChartCanvas::get_wmode in Charts and Graphs 6

2 calls to ChartCanvas::get_wmode()
ChartsAmcharts::get_chart in apis/amcharts/amcharts.class.inc
Function that renders data.
ChartsOpenFlash::get_chart in apis/charts_openflash/charts_openflash.class.inc
Function that renders data.

File

./charts_graphs.class.inc, line 69
abstract class ChartCanvas.

Class

ChartCanvas
Each graphing library implementation should create a derivative of this class.

Code

function get_wmode() {
  $wmodes = self::wmode_values();
  $default = 'window';
  $wmode = strtolower(!empty($this->wmode) ? $this->wmode : $default);
  return isset($wmodes[$wmode]) ? $wmode : $default;
}