microsoft-chart-controls

Using "Microsoft Chart Controls for .NET 3.5" for WinForms, how can I mark certain dates with a grid mark and label?

I'm using the Microsoft Chart Controls, and displays data with dates along the X axis and want to have a grid line with a different color on some dates. Let's say I display data for one week with 7 values along the X-axis: 05.04.09 06.04.09 07.04.09 08.04.09 09.04.09 10.04.09 11.04.09 In addition I have a collection of DateTimes and ...

Adjusting the number of X intervals in Microsoft Chart Controls

I'm using the Microsoft Chart Controls and databinds it like this: chart1.Series["Default"].Points.DataBindXY(events.Dates, events.Values); //where // events.Dates is IList<DateTime> // events.Values is Double I'm having some issues getting the chart/chartarea to display a reasonable amount of intervals though. It works fine on Auto...

How to get dynamic intervals in Dundas / Microsoft Chart Controls for WinForms?

Hi, I'm using the Microsoft Chart Controls for .NET 3.5, and struggles with getting the chart control to support window/control resizing. I have graphs where the X value is dates, and want the chart to display the maximum available of intervals/labels on the chart axis when I resize the window. The closes I've come is to call this fro...

Microsoft Chart Controls - Xml Bind?! C#

I have an xml file: <Database> <Stat> <Date>06/07/2009 00:00:00</Date> <DayOfWeek>Monday</DayOfWeek> <SentNumber>3248</SentNumber> <ReceivedNumber>50</ReceivedNumber> </Stat> <Stat> <Date>07/07/2009 00:00:00</Date> <DayOfWeek>Tuesday</DayOfWeek> <SentNumber>1000</SentNumber> <ReceivedNumber>500</ReceivedNumber> </Stat> ...

C# Microsoft Chart Control/Dundas Charts Clear Contents!?

Hello! I am using the Dundas Chart Controls/Microsoft Chart Control for .Net. Currently I have a method which populates the chart control with date from a generic List. Lets say for example that I populate the chart with data from one list. Then I want to populate the chart with data from another list. The problem I have is that when p...

Developing multiple charts with same look and feel - patterns?

I'm on a team that will use the Microsoft .NET Chart control, and want to build something that will allow us to plug in data and render the chart as a PNG. This will be saved to a binary HTTP stream (we won't be using the built-in Charting HTTP handler). I don't want to hide any of the advanced features (since there will inevitably b...

How to show the color value within a chart?

Hi to All, I have a web application in which it contain a (microsoft chart chart control ) chart with X-axis as value Question & Y having multiple values as yes count, no count & unsure count in different auto color. I want to display the characterization of each color on top. Means which color shows yes count & which shows no count & ...

How to use chart control's assemblies in application without installing it?

I am using a web application in which there is a chart control. I had installed the Microsoft chart control exe and Visual studio add on. The problem is that when I upload the application on the server, there is a problem with the two assemblies missing System.Web.DataVisualization.Design.dll and System.Web.DataVisualization.dll. So, ...

Can microsoft chart control run with .net framework 3.5 without service pack1?

Can we use the DLL that getting from installation of microsoft chart control for f/w 3.5 service pack1 into the special application where there is not setup service pack1 for .Net 3.5? ...

Microsoft Chart control and Reporting Services reports (SSRS)

Hi, I'm wondering whether anyone has been able to use the Microsoft Chart control in SQL Server Reporting Service reports? Specifically the 2005 version... Further to that, are the SSRS 2008 charts the same control (as the Chart control)? (i'm thinking that they are...) Thanks heaps! ...

ASP.NET Chart: setting the fonts on X and Y axis

Consider an ASP.NET MVC controller method that builds an ASP.NET Chart image. public FileStreamResult MakeImg(IEnumerable<MyObj> stats) { Chart barchart = BarChart(400, 300); Series series1 = new Series("Series1"); series1.ChartArea = "ca1"; series1.ChartType = SeriesChartType.Column; ...

Using Microsoft Chart Control in ASP.NET MVC Returns a Blank Image

Using the answer Generating the Image from a Controller from this post, I created a controller action to return a chart image as seen below (the X and Y values are just there as test data): public FileContentResult HistoryChart() { Chart chart = new Chart(); string[] currencies = { "ZAR", "USD", "GBP", "JPY" }; ...

Microsoft Chart Control labels

Hello, I've been searching for a while and browsing through the samples but could not find a solution to my problem. In Microsoft Chart Control I have created a line series that plots real-time data. As new data points are added, the chart margins will sometimes jump on the form. I have tried disabling the grid lines and have determined...

Microsoft Chart Control legend

Hello, is it possible to be able to remove a series from a chart by clicking on it in the legend, or do I Have to create a separate control for that? Thanks. ...

How to loop through the ChartColorPalette properties and add to list?

I am using the Microsoft Chart Controls for .NET 3.5 (C#) and have a chart in a winform. My hope is to allow the user to change the color palette based on their preference. How do I iterate through the color properties of the ChartColorPalette and add them to a combobox list? I know it should be something like: for each(something in ...

MS Chart Controls: Position grid lines between labels

Is there a possibility to format a MS Chart Control chart, that the axis label is rendered between major/minor tick marks? E.g.: on the X axis | | | x | | | x | x | | | | | | | x | +-------+-------+-------+-------+ 1/1 2/1 3/1 4/1 instead of default: ...

How to always show the first and the last AxisX Label with Microsoft Chart Controls?

I'm developing a stocks evolution chart with Microsoft Chart Controls and I need to show the initial and final dates on the AxisX labels but I can't do it. I google and found many solutions like set the properties: Chart1.ChartAreas[0].AxisX.Minimum = InitialDate.ToOADate(); Chart1.ChartAreas[0].AxisX.Maximum = FinalDate.ToOADate(); C...

ms Chart Multiple Series X Value Mismatch (ASP.NET)

Hi, I'm currently developing a website that shows multiple charts that I build using data from SQL tables. I've used and followed Scott Mitchell's tutorial (http://www.4guysfromrolla.com/articles/093009-1.aspx) and K. Scott Allen's ChartBuilder class (http://code.msdn.microsoft.com/mag200903XASP/Release/ProjectReleases.aspx?ReleaseId=224...

How to begin with Microsoft Chart Controls in MFC

I'm creating an MFC application using V.C++ 6.0. I need to plot a graph between two parameters like Intensity(on X-Axis) & Count(on Y-Axis). Is there any good tutorial that explains using Microsoft Chart Controls in MFC. Please help me with this. ...

Creating a custom palette in microsoft charting

Is there a way to create my own charting palette in which I can specify my own colors? The ones that are available from chart.Palette = System.Web.UI.DataVisualization.Charting.ChartColorPalette. //palette do not really fit in with our design, so creating my own would be nice if this is possible thanks! ...