Want to draw the chart at specified position in webpage
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Want to draw the chart at specified position... Expand / Collapse
Author
Message
Posted 1/23/2008 5:57:14 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 3/3/2008 11:41:23 PM
Posts: 23, Visits: 29
HI,

My problem is as follows:

I would like to draw the chart at the specified positions. I have a <div id="chart1"> specified at that position. My XML is being craeted dynamically from the database. I would like to draw the chart only when I click the button. Right now I am able to draw the chart but not in the div. So could you please help me with the code that I should write at codebehind....

I am unable to make this lines in code-behind

<div id="chart1Div">
      This text is replaced by chart.
    </div>
    <script type="text/javascript">
       var chart1 = new FusionCharts("Charts/FCF_Column2D.swf", "ChId1", "240", "200");
       chart1.setDataURL("Data/ItemsSold.xml");
       chart1.render("chart1Div");
    </script>

as I tried to do

Dim chart1 as new fusionchart

But I don't get any setdata url and chart1.render method...

Plzzzz help I need it....

Thanks,

Regards,

Abhisek

Post #4026
Posted 1/23/2008 7:40:36 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 5:38:52 AM
Posts: 884, Visits: 1,420
hi,

You can use FusionCharts.dll assembly to render chart from code behind. Can please visit our latest documentaion on this from http://www.fusioncharts.com/docs

Regards,

Sudipto Choudhury
FusionCharts Team

Post #4028
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 5:55pm


Execution: 0.094.