Lengkap

Fix a JS code with PHP

I am using ApexCHartsJS and i want the DATA to show a PHP variable, my PHP variables looks like this %Grammar% for example:

I've created variables gra / lis / voc / rea / ave , but the result i get blank chart

<script>

var colors = ['#008FFB', '#00E396', '#FEB019', '#FF4560'];

var gra = ['%AVERAGE_CATEGORY_POINTS_Grammar%'];

var lis = ['%AVERAGE_CATEGORY_POINTS_Listening%'];

var voc = ['%AVERAGE_CATEGORY_POINTS_Vocabulary%'];

var rea = ['%AVERAGE_CATEGORY_POINTS_Reading%'];

var ave = ['%CORRECT_SCORE%'];

var options = {

chart: {

height: 500,

type: 'bar',

events: {

click: function(chart, w, e) {

[login to view URL](chart, w, e )

}

},

},

colors: colors,

plotOptions: {

bar: {

columnWidth: '50%',

distributed: true

}

},

dataLabels: {

enabled: true,

},

series: [{

data: [gra,lis,voc,rea,ave]

}],

xaxis: {

categories: ['Grammar / 15', 'Listening / 15', 'Vocabulary / 15', 'Reading / 15', 'Average %'],

labels: {

style: {

colors: colors,

fontSize: '15px'

}

}

}

}

var chart = new ApexCharts(

[login to view URL]("#chart"),

options

);

[login to view URL]();

</script>

the expected data is numbers for each var, kindly share your knowledge

a very easy small task

Kemahiran: PHP, Javascript, HTML5, CSS, Charts

Lihat lagi: how to fix javascript errors in wordpress, how to fix javascript error discord, chrome javascript error console, php js interpreter, how to fix javascript error in internet explorer, how to fix javascript errors in google chrome, youtube how to fix javascript error, fix javascript error google chrome, random alphanumeric code php online, convertir code php php, video url embedd code php, mail code php post check, security code php, forgot password code php, google conversion code php, fix xss report php, invitation code php script, fix perl code, flex chat source code php, form fix page code php html

Tentang Majikan:
( 1 ulasan ) Amman, Saudi Arabia

ID Projek: #20373165

Dianugerahkan kepada:

sumit914

can start right now and fix it I am a technical consultant, and architect with over 7 years of experience with specialises in full-stack, highly scalable, real-time web and mobile applications using PHP(laravel, CI a Lagi

$25 USD dalam 7 hari
(5 Ulasan)
3.3

17 pekerja bebas membida secara purata $35 untuk pekerjaan ini

jinxing4

Dear Sir. I am interesting in your project. I'm senior Laravel, PHP, SQL, Javascript developer. I am sure, I will do my best to work with you on your project to present the best possible outcome for you. I will also do Lagi

$50 USD dalam sehari
(127 Ulasan)
6.1
aftabyounas

Hi I am software engineer and full stack PHP developer your project is looking very interesting and I am looking forward to your message

$25 USD dalam sehari
(102 Ulasan)
6.3
kyleevert

Hello dear How are you? I read your requirement carefully I am very interested in your post project. I am sure i can give you great result. I have rich experience on it. so please discuss more detail via chat. loo Lagi

$20 USD dalam 7 hari
(24 Ulasan)
5.9
honeyocs803

★★★ Chance To Touch Great Developer! ★★★ Dear, Nice to meet you. While reading your job description, I understood your main goal. I am proud of my Top skill, 8+ years of experience, 100% satisfaction rate in Web dev Lagi

$30 USD dalam 7 hari
(24 Ulasan)
5.5
dreammate0621

Hello! I am a web developer. I have checked your project description. I can help you as I have rich experience with JS (javascript) and PHP I guarantee the good result. I will wait for your reply. Thank you.

$20 USD dalam 7 hari
(25 Ulasan)
5.5
matteus1118

Dear sir! I am a senior full stack developer who has rich experiences in ecommerce website development. I have been working for 10+ years in information technology. I can fulfill your all requirements to the fullest. G Lagi

$20 USD dalam 7 hari
(12 Ulasan)
5.2
harshitagraphics

Hey there, With more than 9 years of experience in this industry, I am a professional full-stack web developer. I’ve good hands-on experience in following Frameworks, CMSs- WordPress, Magento, Joomla, Drupal & PHP bas Lagi

$150 USD dalam 2 hari
(21 Ulasan)
4.6
skysoft0405

Hello I am an experienced web & mobile developer with over 7 years. And I have many working experiences with HTML/CSS/Javascript, jQuery, PHP and MySQL, etc. I can help you with it in a few hours. Please get in touch Lagi

$50 USD dalam sehari
(14 Ulasan)
4.7
santoshm143

Hello, I am a full-time freelancer with strong communication skills and have flexible working hours. I assure you quality work, complete attention and proper communication. It would be great if we can have a shor Lagi

$20 USD dalam 7 hari
(6 Ulasan)
4.1
vladzolotukhin

Hello sir. I read your requirement in care. It is no problem for me. As you can see in my profile, I am fully experienced and lots of skills about your project. Chat by pressing a button and discuss me about it, we'd Lagi

$50 USD dalam sehari
(8 Ulasan)
4.0
lzx0102

Dear Client. I've just read your details. As an expert in php and js, I'm sure I can do your task perfectly. I was wondering if you'd like to work with me. If so, I'll make big efforts for you and you will be satisfie Lagi

$20 USD dalam sehari
(14 Ulasan)
4.0
AyubArif

Hi, i hope this finds you in good health. I can fix the issue you are facing. You are not calling php variables correctly. Question Are you receiving php variables as json ? And are you encoding them ? I can fix the Lagi

$30 USD dalam sehari
(6 Ulasan)
3.4
jinjinwu

Hi, Client. Thank you for your job posting. I read your description very carefully. I have experience PHP framework(laravel and codeigniter) and Wordpress development for 5 years long. And I majored Angular.js, JavaSc Lagi

$30 USD dalam sehari
(3 Ulasan)
2.4
phplogics00

==================================== Done within 30 to 60 miniutes,Start now ==================================== I am a dedicated full stack Web Developer Having 3+ Year Experience. In Past, I have done 50+ Proje Lagi

$15 USD dalam sehari
(15 Ulasan)
2.2
IvanKovalenko13

Hi I have checked the code. I can finish within 3 hours. Look forward to working with you. Thank you for your attention to my proposal. Best regards.

$15 USD dalam sehari
(8 Ulasan)
2.4
andrewraktim7

I am a Php developer.I also expert in wordpress.I have been worked during 11 yrs in Jquery/Javascript and core php also.I have been worked on that field during 11 years of experience with that filed. I am able to fi Lagi

$20 USD dalam 0 hari
(1 Ulasan)
1.0