Sign in to follow this  
skipper_geffen

Problem with the Literal and graph

Recommended Posts

Hey fellas.

Im using asp.net to build my graphs, and put it in a literal.

the literal looks something like this :

 
<asp:Literal ID="L1" runat="server"></asp:Literal>

To apply its info, i run this line :

 

 
 L1.Text = FusionCharts.RenderChart("FusionCharts/Line.swf", "", strXML, "L1", "770", "200", False, False)

Thing is that although most of the times the chart shows just fine, sometimes the chart tends to crop.

Instead of being 770x220 it crops down to 500x100 or something like that, and puts white background to fill up the literal.

I tried putting that literal inside a div tag,

<div id="Chart" style="width:770px; height:200px;" >
<asp:Literal ID="L1" runat="server"></asp:Literal>
</div> 

But to no avail...

How do i fix it ?

Thanks ahead

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

We have tested the issue in our lab and is not able to replicate the same.

Please refer to the sample that we are sending you as an attachment.

hope this helps. :)

working.zip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this