Questions tagged [asp.net-charts]

Chart controls enable you to create ASP.NET pages or Windows Forms applications with simple, intuitive, and visually compelling charts for complex statistical or financial analysis.

The ASP.NET Chart server control enables you to create ASP.NET pages that include charts for complex statistical or financial analysis. The Chart control supports the following features:

  • Data series, chart areas, axes, legends, labels, and titles.
  • Data binding.
  • Data manipulation, such as copying, splitting, merging, alignment, grouping, sorting, searching, and filtering.
  • Statistical formulas and financial formulas.
  • Advanced chart appearance, such as 3-D, anti-aliasing, lighting, and perspective.
  • Events and customizations.
  • Interactivity and Ajax.

Code Samples

Community Forum

136 questions
1
vote
1 answer

How to create a stacked column chart?

I have following SQL Server Result. How to create a stacked column chart with asp.net 4 chart control? Hospital September October April OMD 10 20 15 IRH 15 16 18 Something like this:
Raymond Morphy
  • 2,464
  • 9
  • 51
  • 93
1
vote
1 answer

chart x-axis data is not visible when more than 10 point

chart x-axis data is not visible when more than 10 point: chart.ChartAreas.Add("chart1"); chart.Series.Add("s1"); for (int i = 0; i < dtRpt.Rows.count; i++) { string…
Zadalaxmi
  • 421
  • 9
  • 27
1
vote
0 answers

Can't displaying images of ASP.NET charts

I am following line by line the tutorial that exists here, in order to create an ASP chart at my MVC 4 website. For the beginning it just includes this into the aspx code
user2327751
  • 247
  • 1
  • 4
  • 11
1
vote
1 answer

Error Bar change upper, lower and center errors independently of each other

The charting that's included in .NET seems to have some pretty neat features (For free!), but I can't find a way to set the upper, lower and center markers on the error bars. I can set it to StandardError, FixedError(n), StandardDeviation or…
The1nk
  • 702
  • 14
  • 25
1
vote
1 answer

query and legend problems on asp.net c# pie chart

i've tried searching for a solution but to no avail. i've created a pie chart in my content page based on a master page (used twitter bootstrap) and the chart is placed in a asp:content area. my problem is the following, the pie chart is supposed to…
user2983177
  • 201
  • 2
  • 6
  • 18
1
vote
5 answers

.Net Chart Control label font always bold

I am creating a chart-graphic with the .net char controls. My problem is that the value-labels and the axis-labels are always bold if i dont use a white or transparent background! .ChartAreas(0).AxisY.LabelStyle.Font = New Drawing.Font("Arial",…
Nikolaj Zander
  • 1,270
  • 9
  • 13
1
vote
1 answer

How do you set the width of the legend of a Microsoft .Net chart control?

The legend currently auto-sizes according to the max width of the labels it contains, which is throwing my layout. I need to set a width or min-width. Here is my legend creation method: public Legend CreateLegend() { var legend = new Legend(); …
GP24
  • 867
  • 2
  • 13
  • 28
1
vote
1 answer

ASP .NET MVC Chart Helper Add Marker

I have a column chart (Total Points per Region). I want to display the actual points on the top of the column. I believe this is called the marker? Here is my code: var myChart = new Chart(width: 800, height: 500, theme: myTheme) .AddTitle("Region…
Jim Kiely
  • 365
  • 2
  • 6
  • 24
0
votes
1 answer

Add Trendline to ASP.Net Chart

Is there a way to an ASP.Net Chart Control (like in Excel)?
Greg
  • 8,574
  • 21
  • 67
  • 109
0
votes
3 answers

Is there any way to change the position of ValueLabel in .Net Chart?

I want to change position of ValueLabel of my chart. What is the solution? Also can I change size of that?
masoud ramezani
  • 22,228
  • 29
  • 98
  • 151
0
votes
1 answer

change multiple series chartType without iteration?

I have an asp.net 4.0 chart generated with DataBindCrossTable from LINQ db query. That creates chart with multiple series (27 in my case). Is there a way to change chartType on all those auto generated series without iteration over them ? This is…
0
votes
2 answers

C# Chart bind to var

I have var t from linq query with this structure: [0] = { Type = "K", Count = 1 } [1] = { Type = "Z", Count = 8 } and now I want to bind it to my chart with elegance (no foreach). I try to do something like this: …
Sparkzi
  • 83
  • 1
  • 6
0
votes
1 answer

About using the Microsoft Chart library and a general clarification sought in C#

I am using the Microsoft Chart. I have a UI to get the value for each property of this object. Then i store all these values in the DB. Now that I have the properties from the DB I have to bind them to the corresponding properties of the Chart…
Saravanan
  • 7,637
  • 5
  • 41
  • 72
0
votes
2 answers

How to show the statistics of training of each department in the company?

I am a new ASP.NET developer and now I am developing a web application that works as a training management system for the company. I am working now in the last task which is developing a dashboard that shows two charts that show the…
user730077
  • 199
  • 1
  • 13
0
votes
2 answers

How to display the quiz title with the number of users in each quiz in ASP.NET chart?

I am creating a quiz maker in my web application. The database consists of the following tables: QUIZ Table: QuizID, Title, Description UserQuiz Table: UserQuizID, QuizID, DateTimeComplete, Score, Username Now, I want to develop a chart the shows…
user976711
  • 115
  • 5
  • 16