Chart API | ThingSpeak API | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





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

Register Lost password?
sp_Feed sp_TopicIcon
Chart API
Avatar
foxxjnm
United States

Silver
Forum Posts: 6
sp_UserOfflineSmall Offline
1
March 30, 2011 - 10:06 pm
sp_Permalink sp_Print

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? 

Avatar
lee

Forum Posts: 457
sp_UserOfflineSmall Offline
2
March 30, 2011 - 10:26 pm
sp_Permalink sp_Print

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

Avatar
foxxjnm
United States

Silver
Forum Posts: 6
sp_UserOfflineSmall Offline
3
March 30, 2011 - 10:34 pm
sp_Permalink sp_Print

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

Avatar
Hans
Natick, MA

Forum Posts: 390
sp_UserOfflineSmall Offline
4
March 30, 2011 - 11:50 pm
sp_Permalink sp_Print

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

Avatar
foxxjnm
United States

Silver
Forum Posts: 6
sp_UserOfflineSmall Offline
5
March 31, 2011 - 10:31 pm
sp_Permalink sp_Print

Thanks 😉

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
23 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

dannymm1

KamorkasOr

GRV2903

Jusikaclaiz

Raymondpoers

ScottDus

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee