Questions tagged [mschart]

This tag refers to the System.Windows.Forms.DataVisualization.Charting and System.Web.ui.datavisualization.charting Namespaces, used to create controls for charting using the .NET framework.

This tag refers to the System.Windows.Forms.DataVisualization.Charting and System.Web.UI.DataVisualization.Charting Namespaces, used to create controls for charting using the .NET framework.

These namespaces have been available by default since version .NET Framework 4.0, and and have been available as an add-on available at no cost from Microsoft since .NET Framework 3.5 SP1. The download from Microsoft is called MSChart.exe. A very useful set of Sample code and demos is also available from microsoft.

1192 questions
35
votes
3 answers

Microsoft Charting, MVC 3 and Razor

Related to This topic I wonder if anyone has made the Microsoft Charting library working with Asp MVC 3 and Razor. I know about the new chart helper introduced, but since that is very limited that is not really an option. To create an action method…
Victor
  • 3,999
  • 3
  • 24
  • 27
31
votes
4 answers

MSCharts "No http handler was found for request type 'GET'" error

I tried to install MSCharts on my Win2008 server. It installed without problem. Then I wrote in config. But when I'm trying to open page with charts it returned following error. No http handler was found for request type 'GET' Do you have any…
Danil
  • 1,883
  • 1
  • 21
  • 22
21
votes
3 answers

see values of chart points when the mouse is on points

I have a chart and I want the user to see the values when the pointer is on the points. By using digEmAll's help in the page finding the value of the points in a chart ,I could write the following code: Point? prevPosition = null; ToolTip tooltip =…
Asma Good
  • 421
  • 3
  • 9
  • 19
20
votes
8 answers

Hide labels in pie charts (MS Chart for .Net)

I can't seem to find the property that controls visibility of labels in pie charts. I need to turn the labels off as the information is available in the legend. Anyone know what property I can use in code behind? I tried setting the series labels…
grenade
  • 31,451
  • 23
  • 97
  • 126
18
votes
3 answers

How to show tooltip on MS Chart

I am using MS Chart control to draw graphs on Winform. I want to show the current (x,y) Value as tooltip on Mousedown on chartarea. How do I do that?
Gaddigesh
  • 1,953
  • 8
  • 30
  • 41
17
votes
2 answers

C# dashed lines in chart series?

I'm using the Chart control from .net 4.0 in my C# WinForms app. I have two series' of data displayed as line graphs. I'm graphing basically a supply and demand as a function of time. I want the demand to be a solid line of some colour, and the…
Ozzah
  • 10,631
  • 16
  • 77
  • 116
15
votes
7 answers

Auto-Interval precision in MS Chart

I'm currently using the charting within .NET using System.Windows.Forms.DataVisualization.Charting.Chart. Thus far it seems very powerful, and works great. However, there is a huge problem in terms of how it is auto-calculating intervals. I use a…
drharris
  • 11,194
  • 5
  • 43
  • 56
15
votes
4 answers

MS Chart with ASP.NET chart type "column" not showing axis x label if there are more than 9 bar in the chart

I have a problem with an MS Chart chart type column. If there are more than 9 bars in the chart, the axis-x labels won't show up properly, some of them just disappear. Here's my mark-up for the chart:
Tola
  • 2,401
  • 10
  • 36
  • 60
15
votes
1 answer

Formatting chart axis labels

I'm making some charts in C# Visual Studio 2010 and I had a quick (hopefully simple) question about formatting the labels on the X-Axis. I searched SO and Google for an answer and I'm pretty sure it has to do with simply editing the…
SlimPDX
  • 713
  • 1
  • 6
  • 21
15
votes
2 answers

How to save a Chart control picture to a file?

Having a chart displayed with a System.Windows.Forms.DataVisualization.Charting.Chart control in a .Net 4.0 WinForms application, can I save its render into a picture file?
Ivan
  • 63,011
  • 101
  • 250
  • 382
14
votes
7 answers

MS Chart for .NET predefined palettes color list?

Microsoft Chart for .NET (3.5, 4.x) has predefined palettes e.g. Berry, Bright, SeaGreen etc. Is there anywhere a list of colors for each palette (hex or named)? Thanks!
Yuriy Galanter
  • 38,833
  • 15
  • 69
  • 136
13
votes
4 answers

Disabling/Fixing Code Analysis warnings from .Designer.cs files

I am using DataVisualization.Charting.Chart extensively, and for the most part it is working. However, I've been running Code Analysis frequently, and have all my own warnings taken care of. But, there are about 30 CA2000 (object not disposed along…
drharris
  • 11,194
  • 5
  • 43
  • 56
13
votes
7 answers

Showing Mouse Axis Coordinates on Chart Control

Is there a simple way to retrieve the X/Y coordinates of ANY point in the chart Area (relative to that chart Axis of course)? As of now, I just managed to retrieve coordinates when the mouse is on a Series (not outside) private void…
Mehdi LAMRANI
  • 11,289
  • 14
  • 88
  • 130
12
votes
2 answers

MS Chart Control axis formatting

I'm using the MS Chart Control in a Winforms app I'm writing. The X-axis component of the scatter plot I'm displaying is Int64 data, which ultimately represents a UTC time. I'd like to take that Int64 data and essentially do a…
itsmatt
  • 31,265
  • 10
  • 100
  • 164
12
votes
2 answers

Enable Scrolling on the Microsoft Chart Control for Windows Forms

I understand that Scrollbars are only shown when zooming occurs. In other words, even if a scrollbar is enabled, it will only be visible when a view is being displayed. but then, how do I enable zooming on the Chart Control. I am looking to do…
Sebas
  • 411
  • 1
  • 3
  • 10
1
2 3
79 80