amcharts / flash (Adobe) / js

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
netsigi
Senior Boarder
Senior Boarder
Posts: 74
Joined: Wed Aug 05, 2009 7:27 pm

amcharts / flash (Adobe) / js

Post by netsigi »

Hi,

just trying a eval key for meteoplug with one of my meteohubs. I was searching for creating charts like highcharts based graphs from swiss SLF http://www.slf.ch/fragment/chart.html?s ... nd&lang=de
I was happy for the extended possibility for graphing and it seemed to be a quick win for a new project until i noticed that it is based on Adobe Flash. As many may have noticed Flash is no more the thing industry is setting on it. When i check amcharts site i can find following self exclaiming link for the Flash Version: https://www.amcharts.com/download/deprecated/
I would kindly ask if there are plans for moving to some newer charting which is more flexible and not depending on flash? As i understand amcharts has gone this way already some Years ago?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: amcharts / flash (Adobe) / js

Post by admin »

I don't understand this request. Meteoplug offers graphs in flash AND javascript since two years now.
Just add "&engine=js" to the calling URL or set "engine=js" parameter directly into the chart definition.
netsigi
Senior Boarder
Senior Boarder
Posts: 74
Joined: Wed Aug 05, 2009 7:27 pm

Re: amcharts / flash (Adobe) / js

Post by netsigi »

admin wrote:I don't understand this request.

Mee too. I tried several predefined definitions. There was flash,gnuplot and HTML Table. Now i found it in the manual. There it is... Thanks for the hint.


Unfortunately "Radar" does not work well as js

Code: Select all

#engine=js
timeframe=6h              # set total time frame to previous month
dirlist=N,NNO,NO,ONO,O,OSO,SO,SSO,S,SSW,SW,WSW,W,WNW,NW,NNW

gtitle=Hauptwindrichtung_letzte_6_Stunden  # name of graph
gheight=400                 # height in pixels of graph
gwidth=400                  # width in pixels of graph
glunit=_%                   # show percent as unit on axis and balloons
gtype=radar%                # radar graph shows directional distribution in percent
res=minute15

sid0=wind4 sfill0=20 sname0=main_wind_dir ssel0=maindir sprec0=0
Flash is perfect, but wanted js has black background only while the Data is visible:
Flash
Flash
Bildschirmfoto 2015-12-24 um 00.46.05.png (102.27 KiB) Viewed 3382 times
JS
JS
Bildschirmfoto 2015-12-24 um 00.46.27.png (25.73 KiB) Viewed 3382 times
netsigi
Senior Boarder
Senior Boarder
Posts: 74
Joined: Wed Aug 05, 2009 7:27 pm

Re: amcharts / flash (Adobe) / js

Post by netsigi »

P.S. I realized there is a separate meteoplug forum.Will use this in future for this kind of posts..
Post Reply