User-defined Charts

This section covers the Meteobridge PRO, NANO SD and Raspberry Pi units exclusively

Moderator: Mattk

Post Reply
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 6631
Joined: Mon Oct 01, 2007 10:51 pm

User-defined Charts

Post by admin »

Version 4.1 introduces the concept of "Meta Charts" which allow users very easily to define their own individual charts. It just needs some declarations and a broad variety of charts can be designed. Please have a look at this link to understand how meta charts can be defined.

https://www.meteobridge.com/wiki/index. ... Definition

Please inspect the example definition and result below. It cannot be much easier.

Meta chart definition:

Code: Select all

# meta chart for Temperature and Humidity
#
title Temp/Hum Chart
type line           
data1 th0temp-avg=F.1
data2 th0hum-avg.0   
data3 th0dew-avg=F.1 
name1 Temperature    
name2 Humidity       
name3 Dewpoint       
axis1 left                   
axis2 right                  
axis3 axis1                  
active1 yes                  
active2 yes                  
active3 no                  
unit1 ..F                
unit2 %             
unit3 ..F          
color1 #10E010     
color2 #4430FF     
color3 #E01010     
min2 0             
max2 100

Resulting chart:

Screenshot 2019-08-19 at 23.31.13.png
Screenshot 2019-08-19 at 23.31.13.png (212.07 KiB) Viewed 7783 times

Ger
Junior Boarder
Junior Boarder
Posts: 35
Joined: Tue Jun 02, 2015 12:13 pm

Re: User-defined Charts

Post by Ger »

How can I find the folder in the network? I see several items in the network tab (printer/ archer_MR400) but not the meteobridge.

The charts are located on the internal storage and can be access as a PC network drive in forder "templates"

Mattk
Platinum Boarder
Platinum Boarder
Posts: 885
Joined: Mon Sep 22, 2014 3:24 am

Re: User-defined Charts

Post by Mattk »

"templates" folder is under \\your-mbpro-ip\data\

Ger
Junior Boarder
Junior Boarder
Posts: 35
Joined: Tue Jun 02, 2015 12:13 pm

Re: User-defined Charts

Post by Ger »

Thanks, I can now edit the charts. But I want change the dateformat in dd mm yyyy , wind in Bft and add windchill. Where can I find instructions for those changes?
I copied windchill from hws-temphum-iso chart and insert it into the renamed allin-one-iso chart. But it doesn' t work for me

},{
"fromField": "c",
"toField": "chill"
},{

and
}, {
"id": "g3",
"valueField": "chill",
"valueAxis": "v1",
"type": "line",
"title": mbtext['windchill'],
"hidden": false,
"lineThickness": 1,
"lineColor": "#ff3399",
"useDataSetColors" : false,
"fillAlphas": 0,
"visibleInLegend": true,
"legendValueText": "[[value]]°C",
"connect": false,
"gapPeriod": gap,
"balloonText" : "[[title]]: [[value]]°C"

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 6631
Joined: Mon Oct 01, 2007 10:51 pm

Re: User-defined Charts

Post by admin »

AMCharts is used for graphing. So you might want to read in their documentation to generate individual charts beyond the metacharts. But this needs some work on your own, I cannot support you on this.

Post Reply