Increase Graph size | MATLAB | 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
Increase Graph size
No permission to create posts
January 20, 2016
7:43 am
Avatar
fanest
New Member
Members
Forum Posts: 4
Member Since:
December 19, 2015
sp_UserOfflineSmall Offline

Hello,

I would like to know if its possible to increase graph size, so that when you load the page graph is already bigger than the default 240x100. I know this is possible with with normal Plugins but is the same possible with MATLAB apps?
If so can you please tell he how to do it.
All I would like to do is display my data publicly (can't with normal plugins, can with MATLAB), and have ability to customize graph size (can with normal Plugin, don't know if possible with MATLAB graph).
This is my graph that i would like to resize.

https://thingspeak.com/apps/matlab_visualizations/45521

Cheers,

Fanest

May 31, 2016
7:22 am
Avatar
stofakiller
New Member
Members
Forum Posts: 1
Member Since:
May 31, 2016
sp_UserOfflineSmall Offline

Hi Fanest,

I had the same "problem"... And here is my solution.

1. Create an plugin: Chart with multiple series, also if you only need 1 🙂

2. In the CSS you change 425px to 100% and 235px to 100%

3. In the java script you put in channelID, field number etc

If you only need ONE plot then delete the following lines:

// variables for the second series
var series_2_channel_id = 9;
var series_2_field_number = 2;
var series_2_read_api_key = '';
var series_2_results = 10;
var series_2_color = '#00aaff';

// add the second series
addSeries(series_2_channel_id, series_2_field_number, series_2_read_api_key, series_2_results, series_2_color);

Save and now push the view button

Regards,

Jan

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