Questions tagged [microsoft-chart-controls]
150 questions
1
vote
1 answer
Ms chart controls for automated report/metrics generation to image, web or win forms?
Are there reasons to go one way or the other?
System.Web.UI.DataVisualization vs. System.Windows.Forms.DataVisualization
I'm building a process for a build server, where it will simply output a chart to an image based on a sql data rows fetched at…

Maslow
- 18,464
- 20
- 106
- 193
1
vote
1 answer
ChartAreas(0).AxisX.LabelStyle.Format Is changing my Axis label Text instead of my format
So I'm starting to play with the Microsoft Chart control for the first time and I ran into an issue.
I'm returning a database query into a List object and using that list object to fill the X and Y axes of my chart as seen below. (_runData is a…

Neberu
- 211
- 1
- 8
- 19
1
vote
1 answer
Grouped bar chart with WinForms Chart Control
I can create with MS Excel Grouped bar chart like this.
I need to create the same Chart via WinForms Chart Control.
I try this code but it seems like I need more sophisticated solution to build correct chart like it does MS Excel.
So help me to…

NoWar
- 36,338
- 80
- 323
- 498
1
vote
1 answer
ms Chart Multiple Series X Value Mismatch (ASP.NET)
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 (https://web.archive.org/web/20210927195532/http://www.4guysfromrolla.com/articles/093009-1.aspx)…

Paul Catton
- 11
- 3
1
vote
1 answer
Get all DataPoints within a 'rubber-band' rectangle in a Chart control
I have an X-Y plot in a .NET 4.0 WinForms chart control. I am trying to implement rubber-band selection, so that the user could click and drag the mouse to create a rectangle on the plot, thus selecting all the points that lie within this…

Spry
- 688
- 8
- 16
1
vote
2 answers
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…

Charles Cavalcante
- 1,572
- 2
- 14
- 27
1
vote
1 answer
How to plot TEMA indicator with Microsoft Chart Control
I've added two series: Series1 (CandeleStick), Series2 (Line). I've added points and the FinancialFormula:
public Form1() {
InitializeComponent();
chart1.Series[0].Points.Add(24.00, 25.00, 25.00, 24.875);
…

Eugene Maksimov
- 1,504
- 17
- 36
1
vote
1 answer
SaveImage of ChartControl without display It in the screen
I wanna save a ChartControl to an Image without display it in the screen.
var theChart = new Chart();
var theSeries = new Series("values");
theSeries.IsVisibleInLegend = false;
theChart.Series.Add(theSeries);
theSeries.Points.AddXY(1,…

Julian50
- 2,462
- 1
- 21
- 30
1
vote
2 answers
How to loop through the ChartColorPalette properties and add to list?
Possible Duplicate:
How do I enumerate an enum?
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…

John M
- 14,338
- 29
- 91
- 143
1
vote
1 answer
MSChart - RangeBar Series Label alignment
I have a RangeBar chart that looks like the image below. I want to align the Series Labels so that they appear at the top of the bar instead of centered.
Things I've discovered:
SmartLabelStyle doesn't work with Bar chart types
LabelStyle custom…

Jez Clark
- 383
- 5
- 19
1
vote
0 answers
Microsoft chart control - DataPoint is shown as PlottingArea
I am trying to display a series containing several values.
I mouse hover a 'DataPoint' on chart to display a tooltip with some details.
But I am having a serious problem here.
The first value on chart is always detected as 'PlottingArea' So I am…

zah33r
- 46
- 5
1
vote
1 answer
Microsoft Chart Control labels
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…

Serge
- 643
- 1
- 8
- 21
1
vote
2 answers
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()
{
…

Jimbo
- 22,379
- 42
- 117
- 159
1
vote
1 answer
Change ChartImg.axd path
I have an .ascx file embedded in my MVC app using this extension. In the ascx there is a asp:Chart object.
When I open my page http://localhost:56854/Machines/Details/1 there is no chart image. Looking at page source I've found that there is…

johnatann
- 145
- 11
1
vote
0 answers
How use chart control in .net 3.5 visual studio 2012
I am working on visual studio 2012 .NET 3.5 web application and am trying to use the Chart Control.
I have installed mschart.exe and tried to drag and drop the DLL into the toolbox and also tried adding reference to the project.
But, when I import…

user3675866
- 11
- 3