Dual y-axis for multiple fields on one graph | ThingSpeak Plugins | 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
Dual y-axis for multiple fields on one graph
Avatar
geo3geo

Silver
Forum Posts: 9
sp_UserOfflineSmall Offline
1
December 24, 2014 - 10:29 am
sp_Permalink sp_Print

Can anyone advise on how to generate a second y-axis for one of the fields on a multiple-feed graph?

Thanks

Avatar
lee

Forum Posts: 457
sp_UserOfflineSmall Offline
2
December 29, 2014 - 9:23 am
sp_Permalink sp_Print

Hi,

To create a secondary y-axis, you'll need to modify the JavaScript and utilize Highcharts' API:
http://api.highcharts.com/highcharts#yAxis . Here's an example: http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/yaxis/opposite/ .

lee

Avatar
geo3geo

Silver
Forum Posts: 9
sp_UserOfflineSmall Offline
3
December 31, 2014 - 12:52 pm
sp_Permalink sp_Print

Thanks - great example - nice and clear.
Geo

Forum Timezone: America/New_York

Most Users Ever Online: 114

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

yeseniara11

RomanFug

JamesPes

RobertBak

ScottSmiva

Amourhotte

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee