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


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"),



[login to view URL]();


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

a very easy small task

Habilidades: PHP, Javascript, HTML5, CSS, Charts

Veja mais: 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

Acerca do Empregador:
( 1 comentário ) Amman, Saudi Arabia

ID do Projeto: #20373165

Concedido a:


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 Mais

$25 USD em 7 dias
(5 Comentários)

17 freelancers estão ofertando em média $35 para esse trabalho


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 Mais

$50 USD em 1 dia
(127 Comentários)

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 em 1 dia
(102 Comentários)

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 Mais

$20 USD in 7 dias
(24 Comentários)

★★★ 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 Mais

$30 USD in 7 dias
(24 Comentários)

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 in 7 dias
(25 Comentários)

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 Mais

$20 USD in 7 dias
(12 Comentários)

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 Mais

$150 USD in 2 dias
(21 Comentários)

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 Mais

$50 USD em 1 dia
(14 Comentários)

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 Mais

$20 USD in 7 dias
(6 Comentários)

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 Mais

$50 USD em 1 dia
(8 Comentários)

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 Mais

$20 USD em 1 dia
(14 Comentários)

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 Mais

$30 USD em 1 dia
(6 Comentários)

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 Mais

$30 USD em 1 dia
(3 Comentários)

==================================== 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 Mais

$15 USD em 1 dia
(15 Comentários)

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 em 1 dia
(8 Comentários)

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 Mais

$20 USD in 0 dias
(1 Comentário)