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
1 answer

why asp.net dynamic charts are rendered only after the second page_load?

I am using web forms to develop a web application. From the very beginning, I have always been surprised by the page_load event being fired twice, and finally today I found out that all gridviews and texts are rendered after first page_load, and it…
appenthused
  • 173
  • 1
  • 10
0
votes
1 answer

ASP.Net charting tools image disappears using SQL Server session

We're using the ASP.Net charting tools (version 3.5) and would like to store the chart images in SQL Server session. Here's the section in the web.config: And our session setting…
david.mchonechase
  • 2,219
  • 3
  • 22
  • 24
0
votes
1 answer

Combining two/several charting controls in one in c#

Can anyone please tell how to combine two controls, not necessary charting controls, at one? What I need to do? Maybe there is a book or example? I'm using System.DataVisualization.Charting controls. Thanks.
lexeme
  • 2,915
  • 10
  • 60
  • 125
0
votes
2 answers

How to set ASP.NET Chart OnClick event programmatically

I created ASP.NET Chart dynamically. Now I have to set OnClick event to Chart object programmatically. This is what i tried so far: double[] yValues = { 71.15, 23.19, 5.66 }; string[] xValues = { "AAA", "BBB", "CCC" }; Chart temp1 = new…
劉鎮瑲
  • 517
  • 9
  • 20
0
votes
1 answer

LINQ to find count of all Datapoints in ASP.NET Chart

I have Chart1["Series1"] Chart1["Series2"] .... It has multiple Series and each series has Several Data points. I want to find the count ( not sum but number of datapoints ) of Data points in all the series using LINQ. Currently i do var count =…
Quantbuff
  • 827
  • 7
  • 9
0
votes
1 answer

How to save screenshot of div which contains GridView and Charts inside it?

How to save content of div in pdf or jpg file, which contains GridView and Charts inside it? I have tried using ITextShart, but it is not working for gridview and chart.
0
votes
0 answers

MSChart - Bar never passe the 100 when AxisY.Maximum > 100

I am using MSChart and I am trying to create a Bar chart. The AxisY.Maximum = 300, and I have multiple values passing the value 100. However for an unknown reason in the bar chart never passes the 100 points. It seems that somehow formats the value…
0
votes
2 answers

Hide data point on x axis at location "0" in win chart controls

I am plotting graph as shown in the image below. On x axis i dont have location "0", can i hide that point. The values on x axis vary from -35 to 35 where 0 is not present. The x axis values are just numbers.
0
votes
1 answer

How to export multiple charts asp.net to a single document PDF using itextSharp?

I want to export two Charts Asp.net to a single document PDF using iTextSharp. For one chart, I could do it : Document pdfDoc = new Document(PageSize.A4, 10f, 10f, 10f, 0f); PdfWriter.GetInstance(pdfDoc, Response.OutputStream); pdfDoc.Open(); using…
ista9im
  • 79
  • 2
  • 10
0
votes
1 answer

Asp.Net c# Interactivity In Windows Forms using onMouseMove Event to Highlight a data point in Charts

I have been working with charts in the Asp.Net framework and I found a nifty Interactivity I could add to the chart for each 'bar' of data in a bar chart. However no matter how I try to implement this from the msdn website found here at…
L1ghtk3ira
  • 3,021
  • 6
  • 31
  • 70
0
votes
3 answers

ASP.Net MVC Charts

In my project i read the xml file and store the XML file into SQL Db. And then i get the input from sql db ,Display the result in Chart,Graphs... Is It possible ? Can u pls suggest me....? Thanks In Advance.
kummsp
  • 1
  • 2
0
votes
2 answers

bind two arrays with x and y datapoints to a line chart in asp.net?

Does anyone know how to bind two arrays (x and y datapoints) to form a line chart using the asp.net chart toolkit?
locoboy
  • 38,002
  • 70
  • 184
  • 260
0
votes
2 answers

how do i overlay a "line chart" on a "point chart" using asp.net charting toolkit?

I currently have a point chart using the asp.net charting toolkit, but would like to place a line of best fit on the same chart. Assuming that I know how to calculate the equation for the line (y=mx+b), how would I overlay this in the same graph?
locoboy
  • 38,002
  • 70
  • 184
  • 260
0
votes
4 answers

Change pointer on mouseover to Hand in Asp.net Chart

i am using Asp.net Chart and showing bar chart. i used dataPoint.MapAreaAttributes to call a JS func(which retrieves the ID) to show next chart on click of a particular bar in the existing chart. but i am unable show hand pointer on mouse over the…
Yajuvendra Vant
  • 1,127
  • 4
  • 15
  • 33
0
votes
1 answer

adjusting the xy axis in asp.net point chart

How do you adjust the formatting of the asp.net point chart? I'd like to dynamically set maximum and minimums based on data in a List<>. I'd also like to figure out the properties that allows me to tweak the intervals within each of the axes and…
locoboy
  • 38,002
  • 70
  • 184
  • 260