| @@ -96,8 +96,20 @@ | ||
| 96 | 96 | return serialize( $this->_data ); |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | 99 | /** |
| 100 | + * Returns raw data array. | |
| 101 | + * | |
| 102 | + * @since 1.1.0 | |
| 103 | + * | |
| 104 | + * @access public | |
| 105 | + * @return array | |
| 106 | + */ | |
| 107 | + public function getRawData() { | |
| 108 | + return $this->_data; | |
| 109 | + } | |
| 110 | + | |
| 111 | + /** | |
| 100 | 112 | * Normalizes values according to series' type. |
| 101 | 113 | * |
| 102 | 114 | * @since 1.0.0 |
| 103 | 115 | * |
| @@ -161,7 +173,35 @@ | ||
| 161 | 173 | } |
| 162 | 174 | } |
| 163 | 175 | |
| 164 | 176 | return true; |
| 177 | + } | |
| 178 | + | |
| 179 | + /** | |
| 180 | + * Re populates series if the source is dynamic. | |
| 181 | + * | |
| 182 | + * @since 1.1.0 | |
| 183 | + * | |
| 184 | + * @access public | |
| 185 | + * @param array $series The actual array of series. | |
| 186 | + * @param int $chart_id The chart id. | |
| 187 | + * @return array The re populated array of series or old one. | |
| 188 | + */ | |
| 189 | + public function repopulateSeries( $series, $chart_id ) { | |
| 190 | + return $series; | |
| 191 | + } | |
| 192 | + | |
| 193 | + /** | |
| 194 | + * Re populates data if the source is dynamic. | |
| 195 | + * | |
| 196 | + * @since 1.1.0 | |
| 197 | + * | |
| 198 | + * @access public | |
| 199 | + * @param array $data The actual array of data. | |
| 200 | + * @param int $chart_id The chart id. | |
| 201 | + * @return array The re populated array of data or old one. | |
| 202 | + */ | |
| 203 | + public function repopulateData( $data, $chart_id ) { | |
| 204 | + return $data; | |
| 165 | 205 | } |
| 166 | 206 | |
| 167 | 207 | } |