create irradiance composite graph

This commit is contained in:
Eric Hulburd
2016-03-11 17:38:03 -06:00
parent 2dd9389694
commit 782f5cbf91
32 changed files with 824 additions and 379 deletions

View File

@@ -6,8 +6,10 @@ class EnergyDataApi {
static index(params){
return jQuery.ajax({
url: ENDPOINT + '?' + jQuery.param(params),
type: 'GET',
url: ENDPOINT,
data: JSON.stringify(params),
contentType: 'application/json',
type: 'POST',
dataType: 'json'
}).then((res)=>{
return res.data;