| // +----------------------------------------------------------------------+ /** * Renders chart data setup page. * * @category Visualizer * @package Render * @subpackage Page * * @since 1.0.0 */ class Visualizer_Render_Page_Data extends Visualizer_Render_Page { /** * Renders page content. * * @since 1.0.0 * * @access protected */ protected function _renderContent() { // Added by Ash/Upwork if ( defined( 'Visualizer_Pro' ) ) { global $Visualizer_Pro; $Visualizer_Pro->_addEditor(); } // Added by Ash/Upwork echo '
';
echo ''; esc_html_e( 'Select and upload your data CSV file here. The first row of the CSV file should contain the column headings. The second one should contain series type (string, number, boolean, date, datetime, timeofday).', 'visualizer' ); echo '
'; echo ''; esc_html_e( 'If you are unsure about how to format your data CSV then please take a look at this sample:', 'visualizer' ); echo ' ', $this->type, '.csv '; printf( esc_html__( 'or read how you can add Google spreadsheet in following %1$sarticle%1$s.', 'visualizer' ), '', '' ); echo '
'; echo ''; echo '