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
0
votes
2 answers

ASP.NET Chart Control too slow or doesn't render

I have a web page rendering two pie charts using the ASP.NET 3.5 chart controls. On my dev server (IIS 5.1) the charts load well. On the QA server, the charts load pretty slowly and sometimes one or both of them doesn't even load. I am loading the…
Tawani
  • 11,067
  • 20
  • 82
  • 106
0
votes
1 answer

ASP.Net Webform line chart shows as blank image

I using line chart to show number of jobs people have applied for date wise. I am using line chart to show it
Learning
  • 19,469
  • 39
  • 180
  • 373
0
votes
2 answers

How can I set the horizontal scroll bar to asp chart control

I am using the following code to display ASP.NET chart control on my page and it is working fine. My problem is, I need to set horizontal scroll bar on x-axis, protected void BindDataToChart2() { Chart1.DataSource = local_ds.Tables[3]; …
Gurunadh
  • 453
  • 2
  • 10
  • 24
0
votes
1 answer

ASP.NET Multi series line chart

I have following data & need to know if this can be displayed with line chart or not. Data : VerNo | Start Date | End Date 1.1 | 01-Jan-2013 | 31-Jan-2013 1.2 | 01-Feb-2013 | 31-Dec-2099 2.1 | 10-Jan-2013 | 25-Jan-2013 2.2 | 26-Jan-2013 |…
niklodeon
  • 1,320
  • 5
  • 20
  • 51
0
votes
1 answer

C# asp.net chart control, Get the pie slice color of data points

I have an control, with a Pie Series. Is there a way to retrieve the Pie Slice Color of each Data Point in the DataBound event of the Series? Any suggestion is appreciated. The reason I need that is that I need to show a whole lot of other data for…
Ren
  • 437
  • 4
  • 17
0
votes
1 answer

Plot time against date in asp.net chart control

Im using System.Web.UI.DataVisualization.Charting for creating charts. I want to plot different timevalues against the different dates where Time values will be in Y axis and Date Values will be in X axis. I tried using …
sarathprasath
  • 589
  • 1
  • 8
  • 20
0
votes
1 answer

How to run a javascript before server code is run MVC2

Ok, so the thing is this, I have a view wich renders a chart ( .net charts ) and I want the chart to be the same size as the web browser window ( browser will always be IE 9 ). I have tried several examples but none works for me. Since the chart…
0
votes
3 answers

ASP.Net Charts - Obtaining via jQuery on IE 7 causes the image not to load

I am using the ASP.Net Charting Controls and ASP.Net MVC. I am trying to have a chart displayed on a page, the user can change various data associated with this chart and then press a button which will perform a POST operation and then return a…
Damien
  • 13,927
  • 14
  • 55
  • 88
0
votes
3 answers

Drawing a PIE chart in C# MVC application

I have created a ASP.NET C# MVC3 project, and i need to display a PIE chart and populate it with values returned by the following controller; My Controller ; public ActionResult Index() { var model = new…
Sharon Watinsan
  • 9,620
  • 31
  • 96
  • 140
0
votes
1 answer

asp.net chart render with xml file

I am working on application where i need to render a chart using jquery + ajax request. For this i did work and got success for this i save chart image and then return a path and display on image source. but the problem is that dynamic feature of…
Raj
  • 1
  • 1
0
votes
1 answer

Chart Control Multiple ChartArea's, Same Table

I've got a table with three columns, the latter two with values in them. I'm trying to output two pie charts displaying the data for each one. For some reason, the second pie chart isn't displaying, instead it's coming up as a gray square. …
Kieran Senior
  • 17,960
  • 26
  • 94
  • 138
0
votes
1 answer

Dynamic Chart in asp.net

I keep getting this error on page load for a dynamic chart, based on dropdownlist items: *Incorrect syntax near ')'. Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near ')'. Source Error: Line 44: …
user851971
  • 23
  • 1
  • 7
0
votes
1 answer

Asp.net chart control IsValueShownAsLabel and label will display values with $ symbol

I have set IsValueShownAsLabel to true in asp.net chart control. I am trying to show these visible lables as $100.00 instead of showing only numerics like 100.00 or so. Is there any way as I understand that only numerics can be visible as lables.
navule
  • 3,212
  • 2
  • 36
  • 54
0
votes
1 answer

attach a custom value with asp.net chart

I have made a asp.net chart with some data from DB on x-axis and y-axis like this. and now i want to attach a custom value of Current Day with the month of DEC like this Please any one tell me how can i acheive this . Plz Help ! Here is My chart…
user1820339
  • 25
  • 1
  • 10
0
votes
1 answer

.NET Chart - Dynamic Value Labels

I'm creating column charts using System.Web.UI.DataVisualization.Charting which have a variable number of series and X datapoint values. I can turn value labels on using: myChart.Series[0].IsValueShownAsLabel = true; Depending on how many series…
Akaoni
  • 941
  • 1
  • 10
  • 13