/** * Constructor */ function toC_Flash_Line($title = '') { parent::toC_Flash_Chart($title); //initialize line $this->_graph->width = $this->line_chart_width; $this->_graph->height = $this->line_chart_height; $this->_graph->x_axis_colour($this->x_axis_color, $this->x_axis_grid); $this->_graph->y_axis_colour($this->y_axis_color, $this->y_axis_grid); $this->_graph->set_x_label_style($this->x_label_size, $this->x_label_color, $this->x_label_orientation, $this->x_step); $this->_graph->set_y_label_style($this->y_label_size, $this->y_label_color); $this->_graph->set_x_axis_steps($this->x_step); $this->_graph->y_label_steps($this->y_step); }
function toC_Flash_Pie($title = '', $alpha = null, $line_color = null, $style = null, $gradient = null, $border_size = null) { parent::toC_Flash_Chart($title); //initialize pie parameters $alpha = $alpha == null ? $this->pie_alpha : $alpha; $style = $style == null ? $this->pie_style : $style; $gradient = $gradient == null ? $this->pie_gradient : $gradient; $line_color = $line_color == null ? $this->pie_line_color : $line_color; $border_size = $border_size == null ? $this->pie_border_size : $border_size; $this->_graph->pie($alpha, $line_color, $style, $gradient); $this->_graph->set_tool_tip($this->pie_tool_tip); $this->_graph->pie_slice_colours($this->pie_slice_colours); }