Build a graph using Google Charts and Fix JS Line Code: [10 USD]!!!!
$10-11 USD
Скасований
Опублікований almost 4 years ago
$10-11 USD
Оплачується при отриманні
I need to build a graph using Google Charts based on the information that I have in my array. The issue is than i do not understand how to start making it because I do not have any idea how to build the x-axis. So the freelancer has to build the graph.
My array:
0: Shopping {name: "pedro", desc: "", amount: 1250, …}
1: Shopping {name: "marie", desc: "", amount: 250, …}
2: Shopping {name: "fia", desc: "", amount: 270, …}
...
In the x-axis, is going to have the range of the amounts that starts from 0-99, 100-199.. to the max value that exists in my whole array called Shopping. For example like in the case that I have in my array, now the max value seems to be 1250, so the range in the x-axis have to go from 0-99, 100-199, 200-299... to 1200-1299 that is my latest range.
In the y-axis, I have the quantity of how many values from the amount are in that range, for example, the array shopping key one and two, are in the range in 200-299, so the bar is going to go to the number 2, and the array shopping key cero is going to go to the number 1 because only exist an amount that belongs in the range 1200-1299
Also, i have an HTML table with information that is ordered by ascending numbers. When i press a button it has to order the table by the name of the person and if i press another button has to order again by numbers
I can not use Jquery. Thanks
Hi, I am good with javascript. I will provide a way to minimize the use of the main thread and do all the heavy calculations in worker thread. Using this approach you will not have any type of juddering, animation pause, or broken UI due to calculations on main thread and will work smoothly on all browsers.