| @@ -145,13 +145,13 @@ | ||
| 145 | 145 | |
| 146 | 146 | /** |
| 147 | 147 | * Extracts the data for a chart and prepares it for the given type. |
| 148 | 148 | * |
| 149 | - * @access protected | |
| 149 | + * @access public | |
| 150 | 150 | * @param int $chart_id The chart id. |
| 151 | 151 | * @param string $type The exported type. |
| 152 | 152 | */ |
| 153 | - protected function _getDataAs( $chart_id, $type ) { | |
| 153 | + public function _getDataAs( $chart_id, $type ) { | |
| 154 | 154 | $final = null; |
| 155 | 155 | $success = false; |
| 156 | 156 | if ( $chart_id ) { |
| 157 | 157 | $chart = get_post( $chart_id ); |