FusionCharts Forum: multiple charts duplicating - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

multiple charts duplicating

#1 User is offline   tobyjoiner 

  • Forum Newbie
  • Group: Members
  • Posts: 7
  • Joined: 11-October 09

Posted 24 August 2010 - 10:19 AM

I have the following haml

= render_chart '/chart/MSCombi3D.swf', '', @total_xml, "myNextHTML1", 800, 400, 0, 1

= render_chart '/chart/MSCombi3D.swf', '', @cattle_xml, "myNextHTML2", 800, 400, 0, 1

= render_chart '/chart/MSCombi3D.swf', '', @hedging_xml, "myNextHTML3", 800, 400, 0, 1




This is causing them to output as follows:



myNextHTML1

myNextHTML2

myNextHTML3

myNextHTML1

myNextHTML1

myNextHTML2

myNextHTML1

myNextHTML2

myNextHTML3



I can't figure out what is going on, is there an issue with render_chart or am I just an idiot and did something wrong?
0

Other Replies To This Topic

#2 User is offline   tobyjoiner 

  • Forum Newbie
  • Group: Members
  • Posts: 7
  • Joined: 11-October 09

Posted 24 August 2010 - 12:43 PM

Just to add to this:



I changed it to just one chart and am still getting 2 charts showing on the page. I tried changing it to render_chart_html also.
0

Other Replies To This Topic

#3 User is offline   tobyjoiner 

  • Forum Newbie
  • Group: Members
  • Posts: 7
  • Joined: 11-October 09

Posted 24 August 2010 - 03:40 PM

I figured this out...



If anyone else runs across this problem, just take out the = to make:




= render_chart '/chart/MSCombi3D.swf', '', @total_xml, "myNextHTML1", 800, 400, 0, 1



become:


render_chart '/chart/MSCombi3D.swf', '', @total_xml, "myNextHTML1", 800, 400, 0, 1


0

Other Replies To This Topic

#4 User is offline   Sanjukta 

  • Supreme Being
  • Group: Administrators
  • Posts: 1593
  • Joined: 15-March 10

Posted 24 August 2010 - 11:22 PM

Hi,

Glad that your issue is resolved.

Thanks for sharing.

Happy FusionCharting! :)

Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Thanks,
Sanjukta

Follow us @Twitter!
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic