PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.0.2
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.0.2
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 3.10.4 All 148 releases
← All changes | classes/Visualizer/Source/Csv/Remote.php +2 -2 3.1.23.0.2 View file →
@@ -96,9 +96,9 @@
96 96 * @param int $chart_id The chart id.
97 97 * @return array The re populated array of data or old one.
98 98 */
99 99 public function repopulateData( $data, $chart_id ) {
100 - return array_key_exists( 'data', $data ) ? $data['data'] : $data;
100 + return $this->_repopulate( $chart_id ) ? $this->_data : $data;
101 101 }
102 102
103 103 /**
104 104 * Re populates series.
@@ -110,9 +110,9 @@
110 110 * @param int $chart_id The chart id.
111 111 * @return array The re populated array of series or old one.
112 112 */
113 113 public function repopulateSeries( $series, $chart_id ) {
114 - return $series;
114 + return $this->_repopulate( $chart_id ) ? $this->_series : $series;
115 115 }
116 116
117 117 /**
118 118 * Returns source name.