Chart API | ThingSpeak API | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Chart API
No permission to create posts
March 30, 2011
10:06 pm
Avatar
foxxjnm
United States

Silver
Members
Forum Posts: 6
Member Since:
March 21, 2011
sp_UserOfflineSmall Offline

I am trying out the Chart API with a temperature sensor I have reporting from my office at work. I think I must be doing something wrong. I can read the JSON data with out trouble (just a sanity check to make sure the data was transmitted properly), however when I try to view the chart it comes up empty. Y and X axis labels are correct and so is the title, just no data.

Here is the url:

http://api.thingspeak.com/channels/231/charts/field1?yaxis=Temp&timescale=10&linecolor=blue

 

Any ideas? 

March 30, 2011
10:26 pm
Avatar
lee

Admin
Forum Posts: 457
Member Since:
March 14, 2011
sp_UserOfflineSmall Offline

You specified the word "field1" when it should just be "1".  Try this url:

http://api.thingspeak.com/channels/231/charts/1?yaxis=Temp&timescale=10&linecolor=blue

March 30, 2011
10:34 pm
Avatar
foxxjnm
United States

Silver
Members
Forum Posts: 6
Member Since:
March 21, 2011
sp_UserOfflineSmall Offline

Nice, thanks! Figured I must have been doing something wrong.

March 30, 2011
11:50 pm
Avatar
Hans
Natick, MA

Admin
Forum Posts: 396
Member Since:
January 18, 2011
sp_UserOnlineSmall Online

If you want a blue line, try color=blue Cool

March 31, 2011
10:31 pm
Avatar
foxxjnm
United States

Silver
Members
Forum Posts: 6
Member Since:
March 21, 2011
sp_UserOfflineSmall Offline

Thanks 😉

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online: Hans, agrisensezm
37 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

Archieter, JamesExedo, IrbosHich, brodi, kasko, franklin castro

Administrators: Hans: 387, lee: 457