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
3
votes
3 answers

Link to a sample of a charting or scheduling control

I'm looking for a component that I can use to plot class times against a timeline for four different instructors. So the y axis will contain a timeline at 30 minute intervals, with the instructors class times stacked in one column per instructor. …
FiveTools
  • 5,970
  • 15
  • 62
  • 84
3
votes
1 answer

C# Chart axisY2 adjust (how to make it like Excel )

I've use chart to draw 2 of data value use axisY & axisY2, But C#'s chart didn't match what I want. I want it like Excel draws. Excel chart: C# chart: I don't know how to do it , let series axisY & axisY2 auto draw line like Excel . I think…
Khyas
  • 43
  • 2
3
votes
2 answers

Using a Microsoft Chart (WinForm) in Mono

I am using a chart for a simple WindowsForm example. Works well in Windows. I am compliling the solution on my Windows platform using XBuild. When I try to run the executable with Mono (version used 4.2.3.4) on my Linux machine (Red Hat 6.8), I am…
L. Parietti
  • 31
  • 1
  • 3
3
votes
1 answer

C# MSChart - How can I create two pie graphs side by side sharing the same axis?

I'm trying to create two pie charts, side by side, that share the same axis. Does anyone have an example of code to accomplish this using MSChart? Example of what I want to achieve: Here's my code so far: Chart chart = new Chart(); …
Ben
  • 1,853
  • 19
  • 20
3
votes
1 answer

MSChart Winforms. How to remove blank points?

I use the MSChart control for creating candlestick chart (namespace System.Windows.Forms.DataVisualization.Charting). I added two points in friday and two points in monday. Total four points. In result, I see four candlesticks and many blank points…
Artem
  • 33
  • 4
3
votes
2 answers

How to change the MS Charts label font size in C#?

I have created few MS charts. Below code extracted from my application. It is working fine. but I want to increase the font size of label. How can I change the font size of label ? Thanks. Series MIN = Chart2.Series.Add("Minimum"); …
Sachith
  • 191
  • 1
  • 7
  • 15
3
votes
1 answer

Set maximum width of labels in an ASP.NET Chart

I am using the .NET 4 Chart control to create a bar chart. I have labels listed along the left axis (I believe this is the y-axis, I may be wrong). I want to set the maximum width that this axis can be. Currently, I have some labels that are really…
user336786
  • 963
  • 3
  • 13
  • 20
3
votes
2 answers

MS Chart Control Scale - Line graph show 12 months

On my X Axis, I have months. The chart shows up to 11 points, i.e. Jan - Nov of the same year, but when I add 12 points (Jan - Dec), it will do an auto label thing and change the interval for every 4 months. How can I change the graph so that it…
Mike
  • 1,532
  • 3
  • 21
  • 45
3
votes
1 answer

MSChart axis lines

How to show axis line for each bar in chart? I have line only on second, fourth ..., alt text http://img35.imageshack.us/img35/6106/chartiu.png
wassertim
  • 3,116
  • 2
  • 24
  • 39
3
votes
1 answer

How to change font color in .net 4 Chart

I want to change font of labels for this chart: alt text http://img268.imageshack.us/img268/4563/chartjk.png How to do it in C#?
wassertim
  • 3,116
  • 2
  • 24
  • 39
3
votes
1 answer

TFS automated build failure when using MS Chart 'file' generation

We have a web application which uses MS Chart to produce some chart images. The configuration for MS Chart uses Storage=file and as a result creates a bunch of temporary images when it's running. Unfortunately when we trigger an automated build…
dougajmcdonald
  • 19,231
  • 12
  • 56
  • 89
3
votes
2 answers

Invalid temp images directory in chart handler configuration [C:\Users\user1\Documents\Visual Studio 2010\WebSites\Website1\]

I am getting this error: Invalid temp directory in chart handler configuration [C:\Users\user1\Documents\Visual Studio 2010\WebSites\Website1]. Intially I was getting No http handler was found for request type ‘GET’ error which I solved. But now I…
Arpita
  • 445
  • 3
  • 14
  • 28
3
votes
2 answers

Tooltip displaying wrong datetime

I have a mschart control where I am graphing some points from a datagrid. After populating my chart I do the following code: foreach (Series s in chart1.Series) { s.ToolTip = "X=#VALX, Y=#VALY"; } This does set the tooltip, but as shown in the…
Baddack
  • 1,947
  • 1
  • 24
  • 33
3
votes
2 answers

MS Chart and NaN

I'm using MS Chart with C# and I'm having issues when I try to retrieve almost any meta values from the chart, all I am getting is NaN. Couple of examples... void chart_CursorPositionChanged(object sender, CursorEventArgs e) { double…
Motie Mediator
  • 268
  • 1
  • 3
  • 9
3
votes
1 answer

ASP.NET Chart control set month names from int value on X Axis labels

I want to replace numbers (1, 2, 3, ...) on the X Axis of the chart with the corresponding month name. This is my actual chart: On the DataView that populates the Series I have the "MONTH" column that contains values from 1 to 12. I also had to…
Cheshire Cat
  • 1,941
  • 6
  • 36
  • 69