readme.txt

来自「asp.net 的免费webchart」· 文本 代码 · 共 18 行

TXT
18
字号
For new information on Builds and demos, please send email to webchart@carlosag.net or visit http://www.carlosag.net/

To use the control you just need to:
1) Add a reference to WebChart.dll in VS.NET and optionally you can add it to your toolbox.
2) Add the correct register tag in the page:
<%@ Register TagPrefix="Web" Namespace="WebChart" Assembly="WebChart" %>
3) Add the simplest chart possible:
<Web:ChartControl id="chart" runat="server">
</Web>
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 receive an empty image, this is by design to avoid redrawing unnecesary charts for performance.


FOR USERS OF VS.NET
The steps above are only needed if you like doing things manually, with VS.NET things can be easier:
1) Open or Create a New Web Project in the language of your choice
2) Just open your toolbox (if it does not appears click Ctrl+Alt+X)
3) Right click on it and Select the option 揅ustomize Toolbox

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?