Selesai

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;

}

Keahlian: Javascript, PHP

Lihat lebih lanjut: 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

Tentang Pemberi kerja:
( 7 ulasan ) Darch, Australia

ID Proyek: #6876289

Diberikan kepada:

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 Lebih banyak

$40 AUD dalam 0 hari
(36 Ulasan)
4.5

11 freelancer menawar dengan rata-rata $147 untuk pekerjaan ini

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 dalam 3 hari
(442 Ulasan)
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 Lebih banyak

$216 AUD dalam 10 hari
(301 Ulasan)
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 dalam 1 hari
(291 Ulasan)
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 dalam 1 hari
(43 Ulasan)
6.3
techvolcano

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

$80 AUD dalam 2 hari
(137 Ulasan)
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 Lebih banyak

$206 AUD dalam 7 hari
(14 Ulasan)
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 Lebih banyak

$242 AUD dalam 3 hari
(90 Ulasan)
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 Lebih banyak

$268 AUD dalam 8 hari
(17 Ulasan)
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 Lebih banyak

$200 AUD dalam 3 hari
(37 Ulasan)
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 dalam 3 hari
(11 Ulasan)
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 Lebih banyak

$250 AUD dalam 10 hari
(3 Ulasan)
3.3