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

Improving custom marker images perfomance for MS chart controls

I'm using MS Chart in my WindowsForms app and I want to have a lot of different markers visible on chart. In principle it's done by specifying a MarkerImage for Series or DataPoint. The problem is that the MarkerImage property is of string type with…
Mikhail
  • 1,223
  • 14
  • 25
4
votes
1 answer

How to set label size in mschart?

this may be easy to achieve it coz I can't find any posts here. How can I set label size in mschart either in client or server side? Set LabelAutoFitMinFontSize doesn't work in my case. I'm using webform and heres my graph, I need to increase…
user1672932
  • 129
  • 1
  • 2
  • 9
4
votes
1 answer

MS chart control: hide default legend

I need to customize the legend of my MS chart control. For that I am populating the CustomItems collection of the Legend. That works fine. However, when the legend is shown, the CustomItems info is appended to the Legend's default content. How…
David
  • 1,051
  • 5
  • 14
  • 28
4
votes
1 answer

Auto Zoom Y Axis on X Axis Zoom

Yes i know about ( This post ) , if you search you will notice the event AxisValueChanged seems to only exist in this one thread. My goal is simply to automaticly zoom the Y axis when user make a selection on the X axis, but i have been unable to…
EKS
  • 5,543
  • 6
  • 44
  • 60
3
votes
1 answer

Get Mouse click event from Microsoft Chart Control click on data marker

I have a .net 4.0 point chart in my app. I would like to capture the mouse click on a data marker. When the user clicks on a particular point, I'd like to go to the row in the bound table where the data came from. Is this functionality built-in to…
DarwinIcesurfer
  • 1,073
  • 4
  • 25
  • 42
3
votes
1 answer

Colour selection of Silverlight Toolkit Chart Line Series

I'm working with the Silverlight 4 toolkit and using the Charting control, specifically the Line Series. I'm also using one of the Microsoft Silverlight themes, which comes with some default styling for the Chart. I know that in the…
Isaac Abraham
  • 3,422
  • 2
  • 23
  • 26
3
votes
1 answer

DataBindXY Gives Zeroes for X Values

Let's suppose I have a Winforms app with a Dictionary that looks like this: private Dictionary ChartCollection = new Dictionary(); And let's suppose that I populate this dictionary with the number of each type of…
Chris Barlow
  • 3,274
  • 4
  • 31
  • 52
3
votes
2 answers

datapoints with datetime x axis in asp.net chart control

I am working on asp chart control. I need to impletment datapoints in my chart having x axis with datetime data. I go to datapoint concept (not in too deep) but found that it gets only double value. My question is how can i assign my datetime…
amit patel
  • 2,287
  • 8
  • 31
  • 45
3
votes
3 answers

Values in a pie chart

How do you display the values of each pie in a pie chart using ChartHelper? I am using MVC3/Razor syntax. Trying to do something like this: The image is from this tutorial for ChartHelper in MVC: My code: var bytes = new Chart(600,…
Anish
  • 3,045
  • 3
  • 27
  • 29
3
votes
1 answer

MS Chart Control - How to change X Axis location

We want to draw spline chart with both –Ve and +Ve values using MS chart control library in .Net 4.0 .The x-axis label, the dark line legends are always shown at the bottom of the chart.We want to move x axis line and legends, to the 0th position on…
3
votes
2 answers

Mirrored Stacked Column Chart - Javascript / C#?

I am looking for a library to use that will allow me to create mirrored, stacked column charts such as For my web application, I am using the Google Visualisations API for interactive client side graphing, and on the server side (for data export),…
3
votes
1 answer

How to bind a dictionary to MSChart

I am trying to bind Dictionary to a Chart, Below is the code IDictionary dict1 = new Dictionary(); IList list1 = new List(); public Form1() { InitializeComponent(); …
Gaddigesh
  • 1,953
  • 8
  • 30
  • 41
3
votes
1 answer

MSChart render for print EMF bug

Using Microsoft's charting control, System.Windows.Forms.DataVisualization.Charting.Chart, I am trying to render a chart to vector graphics. The ultimate goal here is to render a chart to a high enough quality image to be embedded in a PDF and used…
ptrc
  • 840
  • 8
  • 16
3
votes
2 answers

ASP.NET Chart: ToolTips on X and Y axis labels?

Is it possible to set a ToolTip on the X and Y Axis labels on a databound chart? ToolTip exists in AxisY.CustomLabels, but I'm not sure how to make this work, or if there is an easier way.
CTBrewski
  • 313
  • 4
  • 7
3
votes
3 answers

MS-Chart Zooming of x-axis with scroll bar in c#

I have added the scroll bar to the x-axis of my mschart control using this link Adding a scroll bar to MS Chart control C# and it worked as expected. But now my requirement is, I need zooming for both the axis. But since I removed Zoom reset button…
NewBie
  • 41
  • 1
  • 1
  • 3