Questions tagged [microsoft-chart-controls]
150 questions
25
votes
4 answers
how to enable zooming in Microsoft chart control by using Mouse wheel
I am using Microsoft Chart control in my project and I want to enable zooming feature in Chart Control by using Mouse Wheel, how can I achieve this?
but user don't have to click on chart, It should be like if mouse position is on my Chart than from…

yogendra
- 341
- 2
- 4
- 11
9
votes
3 answers
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 stats)
{
Chart barchart = BarChart(400, 300);
Series series1 = new Series("Series1");
…

p.campbell
- 98,673
- 67
- 256
- 322
7
votes
2 answers
Enabling mouse wheel zooming in a Microsoft Chart Control
how to enable zooming in Microsoft chart control by using Mouse wheel
I have the below code, i need to know how to make this event? in which class it is..
private void chData_MouseWheel(object sender, MouseEventArgs e)
{
try
{
if…

user2427616
- 71
- 1
- 1
- 4
6
votes
2 answers
ASP.net chart control: hide all lines (axes, etc.) except data points
I'm trying to generate sparklines for a dashboard using the Microsoft chart control on ASP.net. Sparklines generally have no axes or anything other than the data points showing.
I've succesfully turned off most of the lines but I'm stuck with one…

Justin Grant
- 44,807
- 15
- 124
- 208
6
votes
1 answer
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 …

puco
- 428
- 5
- 18
5
votes
1 answer
Custom MarkerStyles possible in Microsoft Chart Controls?
I'm using Microsoft Chart Controls (4.0), and have a line chart with several marker types. So much so, that I'm running out of markertypes. The defaults (square, triangle, circle, etc.) are insufficient.
Is it possible to add custom marker type…

greggorob64
- 2,487
- 2
- 27
- 55
4
votes
2 answers
Chart Controls: Stacked Column Series Label Positioning
I am creating a stacked column graph but am currently limited by the lack of label positioning for each series. There are not any custom properties which relate to alignment of label positioning, is there some other way to offset labels or align…

Scott Simontis
- 748
- 1
- 10
- 24
4
votes
2 answers
How do I change chart parameters (e.g. pie slice colors) in chart created using Razor chart helper?
I'm following the ASP.NET Razor Pages guide to generate charts in an ASP.NET MVC 3 view.
I can generate/display a pie chart. But I can't see how to change the colors of the pie slides - or explode a slice.
I've tried to reference the "Series"…

dommer
- 19,610
- 14
- 75
- 137
4
votes
5 answers
Any ASP.NET MVC-friendly chart controls that support pie charts with different slice radii?
I need to create a sort of pie chart that has slices with differing radii - similar to:
http://www.andypope.info/charts/pieradius.htm.
I also want to overlay a second series on it, as a line.
The solution needs to be ASP.NET MVC-friendly - and I…

dommer
- 19,610
- 14
- 75
- 137
4
votes
1 answer
Percent value in y axis of Column Chart Microsoft chart control
I am trying to get Column charts, where I need to have percentage value in y axis and should recalculate and scale.
I have seen some suggestion to assign minimum and maximum value ( chart.ChartAreas[0].AxisY.Minimum=0) but it's not adjusting the…

M.S
- 288
- 4
- 12
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
3
votes
1 answer
Error: Chart cannot save an item after 10 attempts
My miniture web application does very little: reads SQL and displays charts, based on an item code passed in the query string. It worked fine for months, today I suddenly got this error message:
Server Error in '/'…

Fet
- 728
- 3
- 19
- 33
3
votes
1 answer
Winforms chart: how to enable background color gauge
I'm looking for a way to enable custom background color gauge in the Winform chart control library. Here is an example:
See the green, yellow, and red color in the background?
Now, I need is a way to customize the background color gauge by…

Noodles
- 157
- 2
- 10
3
votes
2 answers
C# Chart Control produces huge title for large heights
I'm developing several bar charts using chart controls in C#, one of which holds a series of ~2300 data points. In order to be able to properly display custom labels for each data point, I expanded the height of the chart to be 10000. However, it's…

panoptical
- 782
- 1
- 8
- 22
3
votes
1 answer
Chart control data series
I have a chart control.I am plotting price along y axis and month-year along x axis.
I add series1 1st and then series2 to the same chart area.
Then I plot the points for series 1 and 2 using the below…

CoolDiva
- 209
- 1
- 3
- 14