Graph Iframe not scaling proprely | 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
Graph Iframe not scaling proprely
No permission to create posts
February 9, 2018
10:09 am
Avatar
nicolas@sound-force
New Member
Members
Forum Posts: 2
Member Since:
February 9, 2018
sp_UserOfflineSmall Offline

Hi there!

This is a very basic thing but I am just beginning and I can't find the solution using google. When I increase my iframe width and height, the outside frame gets bigger but the graphs itself stay the same size. See for yourself: I have 2 graphs on this page: http://sound-force.nl/fermenter.html

Thanks in advance!

Nicolas

February 9, 2018
11:00 am
Avatar
Hans
Natick, MA

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

Welcome to the community!

Try using the "auto" sizing feature. You change your iframe's src URL to something like the following:

http://thingspeak.com/channels/423600_ID/charts/2?width=auto&height=auto

February 10, 2018
6:17 am
Avatar
nicolas@sound-force
New Member
Members
Forum Posts: 2
Member Since:
February 9, 2018
sp_UserOfflineSmall Offline

Thanks a lot Hans, this is perfect!

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
20 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:

terranceqh2, DianeEmids, Alanawaype, uqovitay, ufijifode, manish01

Administrators: Hans: 387, lee: 457