Graph Iframe not scaling proprely | 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
Graph Iframe not scaling proprely
Avatar
nicolas@sound-force
New Member
Forum Posts: 2
sp_UserOfflineSmall Offline
1
February 9, 2018 - 10:09 am
sp_Permalink sp_Print sp_EditHistory

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

Avatar
Hans
Natick, MA

Forum Posts: 391
sp_UserOfflineSmall Offline
2
February 9, 2018 - 11:00 am
sp_Permalink sp_Print

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

Avatar
nicolas@sound-force
New Member
Forum Posts: 2
sp_UserOfflineSmall Offline
3
February 10, 2018 - 6:17 am
sp_Permalink sp_Print

Thanks a lot Hans, this is perfect!

Forum Timezone: America/New_York

Most Users Ever Online: 114

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

ibgedubo

aogomaeqaza

ureomug

itixuwidouzuv

eilimir

memozupi

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee