amCharts support forum

You are not logged in.

Announcement

FORUM CLOSED! This forum is closed. We moved to a new place at Zendesk. Update your bookmarks.

JavaScript Charts: JavaScript Charts Bundle (Serial, Pie, XY, Radar)


#1 2012-03-19 10:36:25

ngolub
Member

migration from 2.5 to 2.6 branch

Hello everyone. i use amcharts 2.5 branch and now i want to update it.
I used this code for creating javascript charts:

Code:

                
                //paint javascript charts
                $('#' + id).width(780);
                $('#' + id).height(460);
                var amFallback = new AmCharts.AmFallback();
                amFallback.settingsFile =  settings;
                amFallback.dataFile = path;
                amFallback.pathToImages = "https://www.example.com/js/amchart/images/";
                amFallback.type = type;
                amFallback.write(id);

path is path do datafile - csv or xml. what should i do to get new javascript charts work?

Offline

 

#2 2012-03-20 03:44:33

martynasma
Administrator

Re: migration from 2.5 to 2.6 branch

You don't need to change anything. From 2.5 yo 2.6 only underlying graphics engine has chnaged. Nothing on the API side.

Offline

 

#3 2012-03-20 08:15:27

ngolub
Member

Re: migration from 2.5 to 2.6 branch

thank you, my problem was that i replaced whole folder and don't copy amfallback.js

Offline

 

#4 2012-06-28 15:36:05

eoneill
Member

Re: migration from 2.5 to 2.6 branch

Just want to thank the original poster ngolub because this $("#"+id).height(x) fixed a serious lack of chart displaying AT ALL in my application.

Offline

 

© amCharts | Forum engine: PunBB