Completed

HighCharts / HighStock add plotBands from JSON feed

HighCharts / HighStock add plotBands from JSON feed

The JSON data retrieved by calling a php file which reads data from mySQL and creates the JSON array

This probably needs to use the HighCharts xAxis[i].addPlotBand() option but I do not understand how to us this function

$.getJSON(([url removed, login to view](storeName)), function(json2){

{

// The result needs to be used to create plotBands in HighCharts

// php file called attached

}

});

// This is what is returned by the above call

[{color: 'rgba(230, 126, 34, 1)',from: calcDateFromUTC(1415030400000),to: calcDateFromUTC(1416672000000)},{color: 'rgba(52, 152, 219,1)',from: calcDateFromUTC(1416844800000),to: calcDateFromUTC(1417276800000)},{color: 'rgba(192, 57, 43, 1)',from: calcDateFromUTC(1416326400000),to: calcDateFromUTC(1417276800000)},{color: 'rgba(46, 204, 113,1)',from: calcDateFromUTC(1415030400000),to: calcDateFromUTC(1416672000000)}]

xAxis: {

plotBands: [{color: 'rgba(230, 126, 34, .2)',from: calcDateFromUTC(1415030400000),to: calcDateFromUTC(1416672000000)},{color: 'rgba(52, 152, 219,.2)',from: calcDateFromUTC(1416844800000),to: calcDateFromUTC(1417276800000)},{color: 'rgba(192, 57, 43, .2)',from: calcDateFromUTC(1416326400000),to: calcDateFromUTC(1417276800000)},{color: 'rgba(46, 204, 113,.2)',from: calcDateFromUTC(1415030400000),to: calcDateFromUTC(1416672000000)}],

The plotBands data uses the below function

function calcDateFromUTC(utc) {

d = new Date(utc);

return d;

}

Skills: Javascript, PHP

See more: xaxis, what is.json, what is json, json and mysql, highcharts, feed the, 204, JavaScript JSOn, mysql php highcharts, highcharts data, json file mysql, highstock getjson, javascript highcharts mysql, mysql data highcharts, mysql json feed, highstock php, call function php javascript, json feed slider, json php array, php highcharts, json feed joomla, json file create, create json file php, json feed core data, highcharts json php

About the Employer:
( 7 reviews ) Darch, Australia

Project ID: #6876289

Awarded to:

thanhhungqb

Dear sir, Please see here: [login to view URL] I am family with HightChart, just need call functions with right parameters. I can give you solution after sev More

$40 AUD in 0 days
(36 Reviews)
4.5

11 freelancers are bidding on average $147 for this job

rinsadsl

Hi Good Day I have worked with HighChart. I also developed a C# library mapping to Highchart JS library. I can do this project for you. Looking forward to hear from you. Thanks Rinsad

$157 AUD in 3 days
(442 Reviews)
7.6
gopalvora

Hi I have gone through the details of your project and we find it well within our capabilities. I offer a wide range of services, including Web design, PHP/MySQL web application development, Open sources like Joo More

$216 AUD in 10 days
(301 Reviews)
7.6
siddhu1986

Hi, Experienced Web Developer. Good with JQuery/HighStocks/HighCharts and other Graph APIs. I can complete the work in good time. Looking forward to hearing from you. Regards Sid

$66 AUD in 1 day
(291 Reviews)
7.0
LIMEXS

Hi sir, I can help if you like, please join me on chat. I've checked the description, do you need jquery code to plot the data returned by ajax from server?

$100 AUD in 1 day
(43 Reviews)
6.3
techvolcano

Hi, We have experience in highcharts. Please discuss further details in chat Thanks

$80 AUD in 2 days
(137 Reviews)
6.2
Sonia8619

Hello, I am writing a proposal for your job.I have gone through the complete job description and have placed bid accordingly not like other bidders who bid without even viewing the job.I am really interested for this More

$206 AUD in 7 days
(14 Reviews)
5.7
anmoltech

Hi there, I am a PHP developer and working on it for last 5 years. I have a very high quality expertise on custom software development. In my career I have developed many complex custom software , E learning system, L More

$242 AUD in 3 days
(90 Reviews)
5.6
prashushinde9

Hi, I (Myself a senior PHP, ASP.NET programmer using C# and VB) have a team having experience of more than 10 years in developing web and mobile applications. I have a team of expert programmers who write robust and bu More

$268 AUD in 8 days
(17 Reviews)
5.5
opuswebdevlopers

Hello sir, We have good experience of Photoshop,Banner Design ,Flayer mail, .NET,Logo Design, PHP, HTML,HTML5,CSS,JavaScript,Mysql,JOOMLA,wordpress,Graphic Design,Website Design, Android, Sql Server please check my More

$200 AUD in 3 days
(37 Reviews)
4.8
developco

Hello i can help you to add Plot Band. Can i look to you paghe at first and can today do it. Thanks NIkolas

$45 AUD in 3 days
(11 Reviews)
4.0
bluewhaleindia

Dear Sir/Madam, Warm Greetings I have seen you requirement and can assured you to give the best quality of work.I have more that 5+ year expertise on [login to view URL],Magento and wordpress and ready to provide you be More

$250 AUD in 10 days
(3 Reviews)
3.3