Documente Academic
Documente Profesional
Documente Cultură
as by visiting http://autogroup/JoinGroup.asp?GroupAlias=webchart
To use the control you just need to:
1) Add a reference to Microsoft.McsMx.Web.Chart.dll in VS.NET and optionally you
can add it to your toolbox.
2) Add the correct register tag in the page:
<%@ Register TagPrefix="mcsmx" Namespace="Microsoft.McsMx.Web.Chart" Assembly="M
icrosoft.McsMx.Web.Chart" %>
3) Add the simplest chart possible:
<mcsmx:Chart id="chart" runat="server">
</mcsmx>
4) From this point you can use the VS.NET designer to format your chart.
5) BTW. Remember to call RedrawChart() whenever you want the chart to be redrawn
(usually in Page_Load or after changing the data, etc) if not you will only rec
eive an empty image, this is by design to avoid redrawing unnecesary charts for
performance.
So for example if your virtual directory is named MyApplication and lives in the
default dirs.
You would need to create
C:\inetpub\wwwroot\MyApplication\TempCharts\
And assign read and write permissions to ASPNET account.
If this doesn t work, tell me and we will find out a solution quickly.
And please check the Application Event log to see if there are any (Application)
errors to give us a clue.
Thanks for using the WebChart control.
Carlos