mschart

Where to set AreaDrawingStyle of a MS Chart Control

I'm using MSChart control to chart a radar map. I can set the AreaDrawingStyle property of a series in code behind (as you can see sample here). But I can't set it in HTML. Any suggestions? ...

Microsoft Chart Control: Prevent Series from appearing in Legend

In the MS Chart control (which they bought from Dundas), I have three series that need to be plotted. Two of the series should have an entry in the Legend, but the third should not. I've tried these lines of code, but none work: Chart c = new Chart(); ChartArea ca = c.ChartAreas.Add("main"); Legend lg = c.Legends.Add("mainLegend"); Se...

MS Chart Control: Change the order of series in a legend

How do I change the order of series in a legend? My Line series is appearing before my StackedColumn series, but after my Column series. Chart c = new Chart(); ChartArea ca = c.ChartAreas.Add("main"); Legend lg = c.Legends.Add("mainLegend"); Series s1 = c.Series.Add("s1"); s1.ChartType = ChartType.StackedColumn; Series s2 = c.Series.Ad...

What is the schema for MSChart template xml?

Anyone know where to find the schema for templates used in System.Web.UI.DataVisualization.Charting? Background info: In object System.Web.UI.DataVisualization.Charting.Chart, you can load an XML file that serves as a template for your charts. Here would be a VB call to use it. I am putting this in my question so anyone searching can fi...

Create a Gannt chart using mschart

Is it possible to create a Gannt Chart using MS Chart? The chart will be created based on data returned from a web service. We are using ASP.Net MVC. From other posts it appears that MS Chart does not support ASP.Net MVC. If this is the case we can place the chart on a web forms page. ...

MS pie chart with 2 querys

i have two queries which give two different values One query gives the freespace select sum(freesize) as freespace from freespace the next query gives totalspace select sum(NumRegions) as totalspace from fileidtofilename then usedspace= totalspace- freespace Now i want to display the usedspace region and freespace region in the p...

Export MS Charts to PDF and Excel

Hi I need to export a few (could be just one or more than one) Microsoft Charts to a PDF and Excel. It needs to happen on a button click and the charts should be directly exported to a PDF without getting rendered onto a web page. Environment used: ASP.NET Please suggest the approach to achieve this. cheers ...

MSChart - Auto Zoom Y Axis on X Axis Zoom

I'm using MSChart and I want to enable zoom on the X Axis and once this is zoomed I want the Y Axis to auto zoom into a range appropriate for the data viewable. Any assistance with the problem would be greatly appreciated! Thanks ...

Use the MSChart in the Web Part

Hi all I use the MSChart in the web part, it works fine. But there is a problem. I add some controls in the Web Part Editor to configure the MSChart's color. Everytime after I change the color of the Chart, then click the Apply button, it does not show the change. You need click twice or refresh the page again. Does anyone meet the sam...

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

Hello guys, 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 thougths about the problem? ...

Force a gap between points on the x axis (MS .Net Chart Controls, Column Chart)

I have a column chart with multiple series each containing multiple points. Currently the columns all touch each other. I want to force a gap between each column. How can I achieve this? I found that applying a PointWidth (Chart1.Series[seriesName]["PointWidth"] = (0.6).ToString();) gives me a separation between the x value groups but n...

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 to nothing Chart1.Series[i].Label = string.Empty; but the labels seem to show up anyway....

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 selectStart = e.NewSelectionStart; double selectEnd = e.NewSelectionEnd; } e.N...

Lock MSChart Gridlines

How do I do the following with an MSChart? Set axes to x: [0 - 1000] and y: [0 - 1]. Show the gridlines when chart has no points. Disable auto adjusting of gridlines. Note: Setting Axis(X/Y).(Min/Max)imum seems to have no effect if a point exists inside the bounds. ...

MSChart: Link different axis for selection and zoom

Greetings, The chart I'm working on has 8 different graph areas in it of multiple types. Some are range charts, others are line charts. Because the range charts and the line charts use different primary axis to store their data zooming gets kinda funky. I have all 8 graphs stacked on top with time represented on the horizontal axis. ...

ASP.NET chart controls & character encoding issues

I'm trying to use the ASP.NET chart controls for a website that is localised for number of languages. However, we've had issues with the charts when we recently added a Chinese localisation - all of the labels show squares where we actually want Chinese characters, as shown in my sample below (please note I don't know any Chinese so thi...

MSChart: ChartImageHandler pros/contras of the different storage settings

Hi I'm using the MSChart Control in a Web Project. I saw that there are 3 different storage mode settings: file/memory/session. I couldn't find any information about the pros/contras or the impact of the settings. Anyone can help? ...

How to print labels on both sides of a rangebar in WinForms MS Chart using C#

How can i add labels for each and every yvalue in series of a rangebarchart ? You all know that for plotting rangebartype series ,we need two yvalues as yvalue[0] and yvalue[1] .Here I need to add data labels to each of those yvalues( which means both at yvalue[0] and yvalue[1]).how can i implement that?can anybody suggest me?please!! ...

Page containing Microsoft Chart Control returns Service Unavailable

I have a frustrating problem with an asp.net mvc view containing the Microsoft Chart control. When I request the view containing the control I get the following error. Service Unavailable HTTP Error 503. The service is unavailable. When I run the project under the visual studio 2008 dev server it works fine. When I deploy th...

ASP.NET with MS Chart disable the vertical line

Hi, I have a graph created with MS Chart like the following picture. As you can see the vertical lines are messed up with value of the top of each bar. Here's the mark-up for the graph: <asp:Chart ID="chtNBAChampionships" runat="server"> <Series> <asp:Series Name="Championships" YValueType="Int32" ChartType="Column...