Increase Graph size | MATLAB | 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
Increase Graph size
Avatar
fanest
New Member
Forum Posts: 4
sp_UserOfflineSmall Offline
1
January 20, 2016 - 7:43 am
sp_Permalink sp_Print

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

Avatar
stofakiller
New Member
Forum Posts: 1
sp_UserOfflineSmall Offline
2
May 31, 2016 - 7:22 am
sp_Permalink sp_Print sp_EditHistory

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:
22 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