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
1 answer

MSChart and ASP.NET MVC Partial View

I'm currently trying to add an MSChart to a partial view in ASP.NET MVC RTM. I have reviewed the following blog entry, and I'm currently investigating Option B. If I take my code an place it inside a View (ASPX) Page and it works fine, but when I…
JPrescottSanders
  • 2,151
  • 2
  • 16
  • 24
3
votes
1 answer

MS Chart ChartImageHandler storage options

I've read some articles about ChartImageHandler storage options, and it seems to have 3 options which I have questions about; If we choose file options then image created by ms chart first stores in location we specified. I want to know if we…
Arian
  • 12,793
  • 66
  • 176
  • 300
3
votes
1 answer

MS Charts: Getting the real InnerPlotPosition?

When creating charts using Microsoft Charts, I need to get the exact position of the grid on the chart. This page says -- as I understand it -- that this can be achieved with InnerPlotPosition. However, when using this property, I get the following…
Erlend D.
  • 3,013
  • 6
  • 37
  • 59
3
votes
1 answer

Polar chart x axis 0 placement

I have a polar chart I created by MSChart control in my WinForms app. X axis type is date, y is integer. X represents exactly one day. My problem is that I can not set date 00:00 to the place I need, it always appears at various places. Here is the…
Tom
  • 3,899
  • 22
  • 78
  • 137
3
votes
1 answer

MsChart: How to display Calendar week number as labels on the the X-axis?

I need to format the labels of the time axis in a MSChart like "CW21", "CW22", ... I am struggling for a while and could not find any solution yet. There is a LabelStyle.Format property but this does not support (AFAIK) calendar weeks. It uses the…
jdehaan
  • 19,700
  • 6
  • 57
  • 97
3
votes
2 answers

HOw To Show Data in Ms Chart on Mouse Over C# Web Application

i am using ms chat sp line i want that when i take my cursor to the chart to any point it will show the reading at that particular point as my chart is as DataView dv = dtGroupedBy.DefaultView; dv.Sort = "DATE"; …
Forums Forall
  • 37
  • 1
  • 10
3
votes
1 answer

Fixed Intervals on MSChart Axis

I have a windows forms project in VS2010 with a simple line chart. The data is dynamic and always ranging between 1.4000 and 1.5000. I want the Y axis's gridlines/labels to always be displayed on every #.##20 data point, as in: 1.4080…
Marven
  • 53
  • 2
  • 6
3
votes
1 answer

Custom X/Y grid line in MSChart control

I have a C# windows form with a simple 2D line chart that I want to add custom X or Y axis markers to, and draw a custom grid line (in a highlighted color, dotted line for example). I have looked at the customLabels property, but this seems to…
akevan
  • 691
  • 1
  • 9
  • 21
3
votes
1 answer

MSChart: How to group RangeBar data with text labels instead of indexes?

I'm looking to plot data on a RangeBar chart area (System.Windows.Forms.DataVisualization.Charting) and I'm having issues grouping the data when I have text values for the labels on the vertical axis. Here's the pertinent code: var…
John
  • 15,990
  • 10
  • 70
  • 110
3
votes
2 answers

Multiple Series from DataSet

I have a relatively simple problem, I want to display 2 simple line series in a Chart from a DataSet with 2 tables in it. Right now I simply create a second series with the same ValueMembers but they are displayed on top of one another. The DataSet…
Tantem
  • 55
  • 5
3
votes
0 answers

How can I hide a portion of annotation outside innerplotposition in mschart?

In mschart, if I add line annotations and scoll chart, there is line annotation outside innerplotposition. I want to draw annotations and image only in innerplotposition area. How can I hide a portion of annotation outside innerplotposition? my…
park
  • 53
  • 4
3
votes
3 answers

How do I set the line colour in an MSChart?

I was wondering if someone could please show me sample code for setting the line colour in an MSChart using C#. I know I can select a scheme form the options but I was wanting to pick my own colours for the different serie's I have shown. Thank in…
C-sharing-guy
  • 61
  • 2
  • 3
3
votes
1 answer

how to temporarily pause drawing updates of a realtime data chart

I would like a “Pause” the chart's series updates to do some job (like i have a button when i click it will suspend the chart update and then when I click resume button, it will update all suspended point in series. I know about…
user1477332
  • 325
  • 2
  • 4
  • 20
3
votes
1 answer

Axis drawing over point and preventing selection in DataVisualization.Charting

I am using a circular Marker to indicate the position of data points. When the points are drawn on an axis I cannot select them (using HitTest)... but I can select them when they are drawn anywhere else on the chart. The unselectable points appear…
Andy Heath
  • 33
  • 5
3
votes
1 answer

MSchart polar chart custom labels not working

By default, the angles on the polar chart go from 0 to 360 in a clockwise direction but I want them to go counter clockwise (anticlockwise) chart.ChartAreas[0].AxisX.Title = "Elevation"; chart.ChartAreas[0].AxisY.Title =…