Page 1 of 1

amcharts / flash (Adobe) / js

Posted: Wed Dec 23, 2015 12:52 am
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?

Re: amcharts / flash (Adobe) / js

Posted: Wed Dec 23, 2015 2:08 am
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.

Re: amcharts / flash (Adobe) / js

Posted: Wed Dec 23, 2015 11:39 pm
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 3384 times
JS
JS
Bildschirmfoto 2015-12-24 um 00.46.27.png (25.73 KiB) Viewed 3384 times

Re: amcharts / flash (Adobe) / js

Posted: Thu Dec 24, 2015 2:36 pm
by netsigi
P.S. I realized there is a separate meteoplug forum.Will use this in future for this kind of posts..