Questions tagged [microsoft-chart-controls]

150 questions
2
votes
0 answers

Microsoft Chart Controls - Line Series Aliasing

I am using the Microsoft Chart Controls Chart class in System.Web.UI.DataVisualization.Charting and have a problem with a line series looking very jagged. I am setting up my chart like so: chart.AntiAliasing = AntiAliasingStyles.All; …
row1
  • 5,568
  • 3
  • 46
  • 72
2
votes
2 answers

multiple boxplots in one chart in C#

I'm trying to figure out how to get c# to put in more than one boxplot in a chart. There's not much help in the internet as soon as it comes to c# instead of R or python. So I'm asking: What did I do wrong or miss in this code? private void…
MeepMania
  • 103
  • 2
  • 13
2
votes
0 answers

Showing Z axis in ASP.Net Chart Control for 3D column chart

I am new to asp.net chart controls. I am plotting a 3D column chart using the same. In excel when ever we plot the same we get the option to plot data in all the 3 axis. i.e X Y and Z. But in case of the asp.net chart control I am able to create…
2
votes
3 answers

C#, Concatenate integer and string into var

How to concatenate integer and string into var? int a; int x=2; int y=7200; a=x*y; var B=a+"D"; // How to concatenate this to turn it 14400D // I need use this in the code that changes the AxisX.LabelStyle.Interval. // We can not use string…
Ocaccy Pontes
  • 257
  • 1
  • 5
  • 14
2
votes
2 answers

Creating dynamic charting tooltips

I am using Visual Studio 2010 and WFC to create a point graph of data. To create my chart I have a datatable with 3 different columns; these are Date, Value and Serial. This table is generated dynamically off of an SQL query and then I plot the Date…
2
votes
1 answer

How to use Visual Studio chart control 3.5 with SQL Server in ASP.NET?

I am using Visual Studio 3.5 chart control :
Arindam Das
  • 699
  • 4
  • 20
  • 39
2
votes
1 answer

Mouse wheel rolled event for MS chart control

Im trying to figure out how to zoom in and out of a MS chart by rolling the mouse back and forth. Ive had a look in the charts event list but cant find anything which would be suitable. Is this possible + whats the best way to go about doing this?
Hans Rudel
  • 3,433
  • 5
  • 39
  • 62
1
vote
2 answers

How to display logarithmic x-axis minor label?

I set x-axis as logarithmic scale, but it only displays the major labels, exp : 1E000, 1E001, 1E002, etc... Now i also want to display the minor values, for example : 2E000, 3E000, 4E000,..., 2E001, 3E001, ..... it should look like the graph below…
Jay Dao
  • 494
  • 6
  • 15
1
vote
1 answer

Adding lines into chart control

I am struggling with SqlDataReader and ChartControl. I have added one line without any problem, but i want to add multiple of them and can't do that at all altought I was searching for that all day long. What I have is table with some names of…
dargod
  • 334
  • 1
  • 15
1
vote
1 answer

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

I'm using the Microsoft Chart Controls for .NET 3.5 and am struggling with getting the chart control to support window and control resizing. I have graphs where the X value is dates, and want the chart to display the maximum available of…
Geir-Tore Lindsve
  • 1,147
  • 1
  • 17
  • 27
1
vote
0 answers

How can I generate a stacked bar chart with a for loop using data queried from a database

I've written some code that should loop through the dates in a selected date range within a data table and generate a stacked bar chart. I took a look at: multiple horizontal stacked bar charts using for loop and Plotting a stacked Bar Chart but…
1
vote
2 answers

Calculating Min/Max Y-Axis values for a line chart

I am attempting to replicate how 'right' Excel feels with regards to calculating the Y-Axis boundaries for a line chart. As an example, lets assume I currently have a chart with three datapoints on it. (0, 100), (1,500), (2,930). The simplistic code…
Sean Anderson
  • 27,963
  • 30
  • 126
  • 237
1
vote
1 answer

How to export an editable chart to excel which is created with Mschart?

I want to export the chart which is created with mschart to excel. I want real chart in excel which user can change it's values not an image of chart. What's the solution?
Raymond Morphy
  • 2,464
  • 9
  • 51
  • 93
1
vote
0 answers

how to omit a time period from the x-axis in microsoft chart control

I am developing a Windows Application in Visual Studio, coding in c#, .Net Framework 4. On a chart, I plot the intraday time series of prices for a stock. When I plot a single day, it works fine. However, when I plot multiple days, there is a huge…
Ben
  • 149
  • 2
  • 2
  • 9
1
vote
1 answer

How to show or hide cursor on WinForms MS chart, C#

I have to use System.Windows.Forms.DataVisualization.Charting.Chart in my project I created hair cross pair of System.Windows.Forms.DataVisualization.Charting.Cursor() on a chart; I would like to show or hide these CursorX, CursorY on chart if…
Igor K
  • 31
  • 2
1 2
3
9 10