コード例 #1
0
ファイル: ofc_y_axis_base.php プロジェクト: RA2WP/RA2WP
 /**
  * Pass in some text for each label. This can contain magic variables "#val#" which
  * will get replaced with the value for that Y axis label. Useful for:
  * - "£#val#"
  * - "#val#%"
  * - "#val# million"
  * 
  * @param $text as string.
  */
 function set_label_text($text)
 {
     $tmp = new y_axis_labels();
     $tmp->set_text($text);
     $this->labels = $tmp;
 }