Sign in to follow this  
gajotres

Problem with soruce of page

Recommended Posts

My problem is when I view page source, I have all data in page source. It looks something like this

 

 

 

var chart_investChart = new FusionCharts("/charts/line.swf", "investChart", "460", "330", "0", "0", "", "noScale", "EN" )anchorRadius='3' caption='Allianz Best Invest' yAxisName='Vrijednost (EUR)' labelDisplay='Rotate' slantLabels='1' inDecimalSeparator=',' inThousandSeparator='.' decimalSeparator=',' formatNumberScale='0' decimals='4' setAdaptiveYMin='1' labelStep='9' showValues='0'>

 

 

 

 

 

 

 

In my first page http://www.azinvest.hr/naslovnica/charts.aspx I didn't have that problem. I thinck that only difference is in my first page I did charting this way

 

 

<%=GetFactorySummaryChartHtml()%>

 

 

 

 

and on thi page I did it

 

code behind

 

 

ispisGrafa.Text = GetFactorySummaryChartHtml(prod, d1, dateTo, prodType, trancheId, ddProizvod.SelectedItem.Text);

 

 

 

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

 

 

 

Allso in this one I am using ajax

 

 

 

I have graf but I dont want for all data to bee seend in source like in first pge

post-6213-128441576113_thumb.jpg

post-6213-128441576155_thumb.jpg

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Rajroop

Hi,

 

 

 

Could you please consider using 'dataURL' method for passing the data to your charts, in case you don't want to showcase the data in the source page/code?

 

 

 

Ref.-

 

 

 

http://www.fusioncharts.com/docs/Contents/HowFCWorks.html

 

http://www.fusioncharts.com/docs/Contents/DataURL.html

 

http://www.fusioncharts.com/docs/Contents/JSDataURL.html

 

 

 

I hope this helps. :)

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