Search Wiki:
The samples environment for Microsoft Chart Controls for .NET Framework contains over 200 samples for both ASP.NET and Windows Forms. The samples cover every major feature in Chart Controls for .NET Framework. They enable you to see the Chart controls in action as well as use the code as templates for your own web and windows applications.

ChartSamples_thumb_1.jpg

The samples environments each contains a Getting Started section to help you start using the Chart controls quickly. The samples demonstrates how to use the following features in Microsoft Chart Controls for .NET Framework:
  • All supported chart types.
  • Data series, chart areas, axes, legends, labels, titles, and more.
  • Data Binding
  • Data manipulation, such as copying, splitting, merging, alignment, grouping, sorting, searching, filtering, and more.
  • Statistical formulas and financial formulas.
  • Advanced chart appearance, such as 3D, anti-aliasing, lighting, perspective, and more.
  • Chart rendering.
  • Events and Customizations.
  • Interactivity and AJAX.

See the following related links:
Last edited Nov 4 2008 at 3:46 AM  by cephalin, version 12
Comments
B33S wrote  Nov 26 2008 at 5:35 PM  
Thank you so much, its rocks !!
Hello from France ;)

bypan6 wrote  Dec 2 2008 at 6:54 PM  
This is awesome! Is there a version of these samples in Visual Basic?

bypan6 wrote  Dec 2 2008 at 9:40 PM  
Nevermind. I found the Visual Basic code in the samples on a separate tab. Thanks!

shmulyeng wrote  Dec 3 2008 at 1:41 AM  
Is there an online version of the samples?

spoiledtechie wrote  Dec 5 2008 at 8:07 PM  
Man, I am just flattened by the most impressive examples of charting controls that you put out. WOW!

Any chance you could do a Radial Chart control. Like in a CAR speedometer?

AlexGor wrote  Dec 8 2008 at 7:08 PM  
Gauges is another visualization our team would like to add. We do not have the exact time line when this is going to happen.

Alex.

zyran wrote  Dec 10 2008 at 5:29 PM  
The entire api look almost the same as dundas charts, what's the deal with that?

/Björn, Sweden.

Stevishere wrote  Dec 10 2008 at 5:41 PM  
I am feeleing very dense. I can not find the VB code in the Samples as bypan6 evidently did. Can you tell me where?

AlexGor wrote  Dec 10 2008 at 7:34 PM  
Dundas Visualization IP was acquired by Microsoft. Check out this post: http://blogs.msdn.com/alexgor/archive/2008/11/07/microsoft-chart-control-vs-dundas-chart-control.aspx

Alex.

zyran wrote  Dec 11 2008 at 1:57 AM  
That explains alot, thank's Alex :)

Valnuke wrote  Dec 13 2008 at 3:58 AM  
This is simply wonderful! thanks

liubiqu wrote  Jan 9 at 11:15 AM  
This is wonderful! thanks

kwis wrote  Jan 14 at 3:34 PM  
It's incredible!

canbilteknoloji wrote  Jan 18 at 1:24 PM  
Es ist unglaublich, was mann mit der .Net Technologie alles mögliche machen kann. Mann haette sich das in vor Jahren wirklich nicht denken können, dass mann soweit kommen könnte.

http://www.canbilteknoloji.com

liveidiscrap wrote  Jan 23 at 9:23 PM  
So I pulled up the VB source for one of the examples and gave it a try. No errors and no chart. How about a meaningful how to get started and work with the charts document instead of the vague and worthless garbage provided? An actual tutorial would be nice and maybe something covering common errors and issues and how to solve them.

AlexGor wrote  Jan 25 at 5:55 PM  
You can find a getting started tutorial right here: http://weblogs.asp.net/dwahlin/archive/2008/11/25/getting-started-with-the-asp-net-3-5-chart-control.aspx.

Alex.

mulder wrote  Feb 10 at 12:35 AM  
That's great! I don't need any third party chart control any more!
Thanks!

salagirisamy wrote  Feb 16 at 5:21 AM  
Can I use these assemblies in VS 2003? Or is there a .NET 1.1 version compatible MS Chart available?

AlexGor wrote  Feb 16 at 8:07 AM  
MS Chart only supported for .NET Framework 3.5 SP1

Alex.

nbrege wrote  Feb 17 at 8:50 PM  
Alex ... how do I create tooltips that display the charted values when you hover over a column or bar? The included sample code is useless, it just shows how to display the data point index, but not the actual data values. Thanks.

AlexGor wrote  Feb 18 at 2:55 AM  
Please post all chart related questions on the dedicated forum: http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/threads/
Alex.

electrohead wrote  Feb 19 at 9:30 AM  
Wow, this is incredible!! -Big thanks!

Xandy wrote  Feb 26 at 11:24 AM  
very interesting, hello brazil !!!

TheKronos wrote  Mar 23 at 10:17 AM  
Excellent work !!
/France

VineetNair wrote  Apr 1 at 7:31 PM  
You don't support Scroll,
Regarding Financial Chart it is worst. We have to do all work for it. ChartFX7 was better than u. It was mistake from my superior to move to Microsoft chart Contol. Plz work to improve on chart.

dsb wrote  Apr 12 at 11:16 AM  
Hi. Will this control work on a shared hosting server without access to the GAC? i.e. Will I be able to simply add the .dll to my web application's bin directory for it to work?

alijohn wrote  Apr 14 at 4:16 PM  
Great Stuff!!!
Hello from Pakistan

cephalin wrote  Apr 23 at 4:40 PM  
Hi VineetNair, the Windows Forms version of the Chart control supports scrolling and zooming. Please try it out in the Windows Forms samples.

shwetacha wrote  May 11 at 12:29 PM  
hi, I am using MS Chart Control for .Net Framework 3.5. in VS 2005. I want to add the functionality to show or hide the series by using Datagridview Checkbox. Any help will be Appreciated.
Thanks

thgreen100 wrote  May 12 at 12:05 PM  
Great Job you guys! This is the best so far!

matixsc wrote  Jun 11 at 10:05 AM  
Where is Gantt chart?

AlexGor wrote  Jun 19 at 4:57 AM  
You can use RangeBar chart type to create some basic Gantt charts.

Alex.

Hwani wrote  Jun 23 at 2:14 PM  
very interesting, hello Korea !!!

diegopro wrote  Jun 25 at 3:03 PM  
I think there is a bug on the temp directory that stores the files.

Setup: ASP.NET 3.5 application running on IIS 7 and Windows Server 2008.
You need to add rights to asp.net worker with modify/write access to the folder, then on web.config you need to set the key with a absolute path.
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=%DRIVE%:\inetpub\wwwroot\%APPLICATION%\TempImages\;" />
this is the only way you can deploy it on a server.
Relative paths like ~ or ./xxxxxxx/ is not working
Regards

bjmc wrote  Jul 3 at 3:29 PM  
Does anybody know how to make the plotted area transparent rather than white. The examples provided show that you need to change the Backcolor to transparent, but Backcolor in reality only changes the far background color, not the plotted background color. Thanks,

acousticguitar wrote  Jul 6 at 9:56 AM  
Download of the Win Forms example is missing Resource.resx, hundreds of errors attempting to compile. Maybe I'm missing something...

Saul wrote  Jul 14 at 10:29 AM  
I'm trying to create a semi-log chart (y is linear, x is log). Are there any samples out there that someone can direct me to?

FGPilgrim wrote  Jul 19 at 8:22 PM  
The Download with the Free Download Manager is impossible cause you will get only the Download .ASPX. Say CANCEL to the download Manager to get the ZIP File.

Kind Regards
Frank

berend wrote  Aug 2 at 5:08 AM  
@bjmc: set the background color of the chart area to a (semi-)transparent color. Like this:
chart.BackColor = Color.FromArgb(0xd3, 0xdf, 0xf0);
chart.BackSecondaryColor = Color.White;
chart.BackGradientStyle = GradientStyle.TopBottom;
ChartArea ca = new ChartArea("main");
ca.BackColor = System.Drawing.Color.FromArgb(64, System.Drawing.Color.White);

Rajeevbhatt wrote  Sep 9 at 1:20 PM  
Can one use the control in a NET 2.0 application, with .NET Framework 3.5 installed?

andrew5335 wrote  Oct 15 at 5:20 AM  
what an awesome component !!!
I try to find component like this.
It looks very useful for my project !!

ddancers wrote  Oct 16 at 6:24 PM  
To use charts do I need NET Framework 3.5 installed on both my remote VS2005 machine, and hosting server? If must be installed on server is NET Framework 3.5 compatible with Sever 2003?

mikos wrote  Oct 19 at 8:45 PM  
newbie question: I have downloaded the chart samples solution, installed the control and the VS plugin. Howveer, on compiling it I get (31 errors) of " the type or namespace chart is missing. I added the reference to "System.Web.DataVisualization.dll". however the errors continues to occur. I am sure it is something simple, but I am unable to figure out. Please help!

amiglin wrote  Fri at 11:55 PM  
should ask quests on forums not comments. try forums.asp.net

Updating...
Page view tracker