You are here

protected function ChartsGraphsGoogleCharts::_get_url in Charts and Graphs 7

Same name and namespace in other branches
  1. 6.2 apis/charts_graphs_google_charts/charts_graphs_google_charts.class.inc \ChartsGraphsGoogleCharts::_get_url()
1 call to ChartsGraphsGoogleCharts::_get_url()
ChartsGraphsGoogleCharts::get_chart in apis/charts_graphs_google_charts/charts_graphs_google_charts.class.inc
Function that renders data.

File

apis/charts_graphs_google_charts/charts_graphs_google_charts.class.inc, line 353
Implementation of abstract class ChartsGraphsCanvas for Google Charts library.

Class

ChartsGraphsGoogleCharts
Implementation of abstract class ChartsGraphsCanvas for Google Charts library.

Code

protected function _get_url() {
  $this->parameters_to_send = array();
  $this
    ->_encode_chart_type();
  $this
    ->_encode_data();
  $this
    ->_encode_other_parameters();
  $this
    ->_encode_user_parameters();
  $url = CHARTS_GRAPHS_GOOGLE_CHARTS_URL_PREFIX . $this
    ->_get_query();
  return $url;
}