bgcolor for Charts | 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
bgcolor for Charts
No permission to create posts
December 22, 2011
6:08 am
Avatar
voyager

Silver
Members
Forum Posts: 6
Member Since:
May 3, 2011
sp_UserOfflineSmall Offline

Hi,

for the chart color=Red&bgcolor=Yellow& works perfect but using

 

color=Red&bgcolor="#003300"& does not work.

 

What am i doing wrong or is it not possible to use color codes ?

 

Voy

December 22, 2011
11:14 am
Avatar
Hans
Natick, MA

Admin
Forum Posts: 411
Member Since:
January 18, 2011
sp_UserOfflineSmall Offline

Just drop the "#" - it's a reserved character in the URL.

http://api.thingspeak.com/channels/3/charts/1?timescale=60&width=455&height=260&bgcolor=ff0&color=fff

 

You could also URL encode the "#".

http://api.thingspeak.com/channels/3/charts/1?timescale=60&width=455&height=260&bgcolor=%23ff0&color=%23fff

But, we add it for you if you specify a color or HEX color.

December 22, 2011
2:03 pm
Avatar
voyager

Silver
Members
Forum Posts: 6
Member Since:
May 3, 2011
sp_UserOfflineSmall Offline

Thanks for this fast answer, it works perfect.

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

briskpanda, Dejw0089, Yassine Ben Salah, anis, 43994554AKS, suda

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457