You are here

function QuantChartChartAPI::size in Quant 7

Add size to the chart

1 call to QuantChartChartAPI::size()
QuantChartChartAPI::build in plugins/QuantChartChartAPI.inc
Implements parent::build().

File

plugins/QuantChartChartAPI.inc, line 208

Class

QuantChartChartAPI
QuantChart plugin class to generate charts using chart.module (Chart API)

Code

function size() {
  $this->chart['#size'] = chart_size(variable_get('quant_width', 500), variable_get('quant_height', 200));
}