Questions tagged [microsoft-chart-controls]
150 questions
0
votes
1 answer
ChartControl - How to plot a line on X Axis (x - fixed coordinate, y - infinity)
I'm developing a C# winforms application in which I want to plot lines on X axis such that the X coordinate is a fixed value, but there is no Y coordinate specified.
Something like this:
Can this be done?

zeuschyant8
- 453
- 7
- 14
0
votes
1 answer
Add images on chart control
I'm not sure if I titled the question correctly so it would be better if I explained what I'm trying to do. I want to add some images on chart control and
around their to draw graphics.
I want to display the layout of the sensors on the coordinate…

Mister Black
- 21
- 5
0
votes
2 answers
Save ASP.NET Chart Control output on server?
I'm just now getting familiar with the .NET chart controls. I'd like to know if I can save the contents of a chart as a .jpg or similar file on the server.
I would like to be able to have the user download the file or display it to the user in a…

Vivian River
- 31,198
- 62
- 198
- 313
0
votes
1 answer
How to make mscharts y axis always go to a specific value
For reasons I cannot fathom, a client wants the chart to always go to 1000. Regardless of whether the maximum data point is 300 or something and usually goes nowhere near 1000, they want to see the axis go to 1000. I tried…

user609926
- 801
- 2
- 12
- 25
0
votes
1 answer
Tsql Sorting an ORDER BY with WHERE
I am working on a .net chart control project and am new to sql. I want to be able to sort the date which is from a textbox input.
SELECT Employee.[First Name] + ' ' + Employee.[Last Name] AS 'Name',
sum(Time.[Total Hours]) AS 'Total Hours'
,…

Albin Vinoy
- 381
- 1
- 5
- 14
0
votes
1 answer
Microsoft Chart Control: MultiSeries and zoom
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms.DataVisualization.Charting;
using System.Windows.Forms;
using…

Roman
- 1
- 1
0
votes
1 answer
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,…

twal
- 6,999
- 17
- 48
- 58
0
votes
2 answers
Changing graph on radio button selection change - ASP.NET MVC
I use Microsoft chart and I have below line of code to get chart.
I have a radio button list and upon changing the selection, i need to show a different chart…

techspider
- 3,370
- 13
- 37
- 61
0
votes
0 answers
asp.net chart control shows gap between series
I have a chart which dynamically generates series. The series represent people. and Im using only the Yaxis in a Stacked bar chart to generate for each day of a month how many people have data. My problem is that if person1 and person3 have data for…

SubqueryCrunch
- 1,325
- 11
- 17
0
votes
1 answer
X-Axis has alternate interval in asp.net
I am using Microsoft Chart , Spline chart type . And I have months on X-Axis but it shows alternate months
ie; January , March, May....etc.
But I need to show it in continuation. Though it has marker which shows for each month so that means its…

mark
- 623
- 3
- 21
- 54
0
votes
2 answers
Microsoft Chart Controls legend
Using Microsoft Chart Controls, 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?

Serge
- 643
- 1
- 8
- 21
0
votes
1 answer
Google Charts VS Microsoft Chart Control
I am working on a project in which I have to display some dynamic graphs. I am new into web development and I am confused between Google Charts and Microsoft Chart Controls. I am using razor syntax and MVC.
Please suggest me for which charting…

Bint-e-Adam
- 13
- 1
- 1
- 7
0
votes
1 answer
Microsoft WinForms Chart Control - TitleBox
I am looking to produce this type of TitleBox in the Microsoft WinForms Chart Control, so that the titlebox is docked to the top of the chartarea.
Is there any way to position the standard titlebox on the top of the chartarea like this or can I add…

user3329538
- 289
- 1
- 5
- 12
0
votes
1 answer
How to change the order of SeriesType legends in MS Chart Control?
I'm trying to change the order of legends (series type legend) in code behind. I have already tried to use the LegendItemOrder property as shown here. But this didn't work out for me.
I also tried to add a custom legend event through code behind as…
user1622535
0
votes
0 answers
ASP.NET Chart. Binding 2 String Columns to XValueMember? (First + Last Name)
DB Query returns First and Last name as separate columns:
The control is bound to First name only right now.
What's the syntax to bind the series to First + Last name?
I know I can do it in the code behind but I want to know if it can be done in…

Tomas Beblar
- 468
- 4
- 18