开发者

Microsoft asp.net chart tool does not display the chart on the live server but works fine on my local, how do i solve this?

开发者 https://www.devze.com 2023-03-04 06:45 出处:网络
I am trying to use the microsoft Charting control on a shared server and have inserted the following:

I am trying to use the microsoft Charting control on a shared server and have inserted the following:

In my config file i have: http://go.microsoft.com/fwlink/?LinkId=169433 -->

And in the webpage I have:

Chart1.ImageStorageMode = ImageStorageMode.UseImageLocation;

Chart1.ImageLocation = "~/temporary/ChartPic_#SEQ(300,3)";

Chart1.ImageType = ChartImageType.Png;

on the aspx page:

<%@ Register assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI.DataVisualization.Charting" tagprefix="asp" %>

And i also copied the two dll files, 'System.Web.DataVisualization.Design' and 'System.Web.DataVisualization' into my bin folder on the live server.

This only generates a blank chart with only t开发者_如何学运维he title but on my local host it shows the graph with the title.

Please help as i am very stuck and I'm getting frustrated that this doesnt work. If no one can solve this is there any other free graphing tools that are just as good or even better in order for me to replace the microsoft asp charting tool?

0

精彩评论

暂无评论...
验证码 换一张
取 消