I have 5 locations in database table and percentage of these locations.
I want to pick locations on x-axis from database and percentage on y-axis.
From comparing these two locations on x-axis and 5 on y-axis ..i want to represent this data from database in graphically representation .
Please help me ...
i am using something like this script ..given below.
var bg = new Graph(4);
bg.parent = document.getElementById('here');
bg.title = 'Graphical Representation For Each Hostel To Overall % Score';
bg.xCaption = 'Hostel Names';
bg.yCaption = '% For Hostels On<br>Daily Basis';
bg.xValues = [<?php echo $J_L_Bridge;?>,'Journeys London Bridge'];
bg.xValues = [<?php echo $J_K_Cross;?>,'Journeys Kings Cross'];
bg.xValues = [<?php echo $J_Greenwich;?>,'Journeys Greenwich'];
bg.xValues = [<?php echo $J_Brighton;?>,'Journeys Brighton'];
bg.xValues = [<?php echo $J_Test;?>,'Journeys Test'];