OK disregard my last message because i got it to work
here is the working code
however there is only one problem
i just can not get the 'opposite: true' to work for one of the 'yAxis:' data. So both of the Y axises appear on the right side. I just need to get one of the axises appear on the opposite side. Please someone help
ok, disregard the last one as well
somehow the code works differently here, i tried 'opposite: false' instead of 'opposite: true' and it worked. apparently all y-axis are 'opposite: true' by default in Turgo's code somehow.
so anyone is free to check it out there
good luck
Aprox 3-4 months this script do not update automaticly, just if I reload a browser. I tried Chrome, Firefox..but same.
In developer option of browser I see that it really updateing every 15second but I got error code:
I tested both the original page and the modified one by Mr_ToR.
You are right, it didn't update but I get this error
net::ERR_ABORTED 422 (Unprocessable Entity)
GET https://thingspeak.com/channels/9354/feed/last.json?callback=jQuery191003508808604683611_1560321345885&offset=0&location=false;key=XXXXXXXXXXXXXXXX&_=1560321345892 net::ERR_ABORTED 422 (Unprocessable Entity)
Unfortunately I am not able to spot the error that should be in this line
True..I realised the same. But is tehre anyone who can give us advise or change those few lines of code to work again?
Btw I getting two error messages:
Status code: 422 Unprocessable Entity
and
Status code: 301 Moved Permanently
Callback Parameter Deprecated
JSONP is no longer supported by the ThingSpeak API.
If your code uses the callback parameter in a request to api.thingspeak.com, remove callback=? from the URL.
For private channels, provide the read API key as part of the URL (for example ?api_key=READ_API_KEY). Public channels do not require an API key.
For more information, see https://community.thingspeak.com/forum/announcements/jsonp-requests-callback-parameter-are-deprecated/#p8653.
that u need to modify next lines in this script from top of page:
line: 93,149 and 378
and to remove
Has anyone managed to use the code as a Plugin that is displayed in Channel view?
For me there is no data loaded when I am using it as a Plugin in Channel view on ThingSpeak.com
I can only get data to load as a standard .html file loaded in a browser.
Hello, is anybody able to have two charts for the same channel on the same page? I managed to have two charts but only one is going to be displayed the other is blank.
Sadly this does not help. I tried to put the line: Header set Access-Control-Allow-Origin *
in apache.conf and activate in ssh mod_headers with the command: a2enmod headers and restarted the apache2, but the error is still here.
Or I misunderstand?