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

137 questions
24
votes
4 answers

How do I force a chart to auto adjust Y Axis Maximum?

I have a .NET chart which I am populating at runtime The chart appears within a report. For each band in my report, I clear all the series and add them back in using code Series s = new Series(); s.Font = new Font("Verdana",…
Paul
  • 2,199
  • 4
  • 27
  • 53
17
votes
1 answer

Ugly drawing of MS asp.net radar chart

I'm using the MS asp.net charting controls. And I'm using the radar chart to draw some values, but for some reason, the lines of the X-axis doesn't really meet in the middle. I have set the LineWidth = 1, but the line still takes like 2 pixels and…
Markus
  • 1,554
  • 18
  • 31
12
votes
2 answers

How can I turn off the x-axis labels in an ASP.NET Chart Control?

I want to programmatically turn on/off the labels on an Chart Control. The chart is for a load of stats, by person, and I want to be able to anonymise it by removing the labels. Can this be done from the Chart Control, or do I need to do it at the…
Ben
  • 4,033
  • 8
  • 58
  • 101
7
votes
1 answer

JavaScript Chart Library with Multiple X and Y Axes, and Negative Axis Values

I've played with Google Charts, and a few other java script charting packages, and I have not been able to achieve the desired results. I'm wondering if anyone would be able to point me toward a JavaScript plotting package, open source or…
GetFuzzy
  • 1,826
  • 3
  • 23
  • 38
7
votes
1 answer

Line up X axis labels with chart columns (ASP.Net Chart control)

I'm trying to make a chart using the ASP.Net Chart control that has specific numerical values on the X axis and their frequency count on the Y axis. Here is an example of what I want from the charting framework I am replacing: In the above example,…
jokeefe
  • 1,776
  • 4
  • 20
  • 26
7
votes
1 answer

custom label on x-axis

My chart predicts a value for the next 30 years. The first value must be displayed as year 1. Then year 5, 10... until 30. But internally the first year is 0 and is left off: I tried adding a custom label, but it only breaks the other labels: If I…
MrFox
  • 4,386
  • 4
  • 40
  • 72
6
votes
2 answers

ASP.NET chart controls - how do i create this bar chart?

Got a chart control i wanna make from a data table. the table looks like this: alt text http://www.freeimagehosting.net/uploads/5d02ce1558.png the chart i want will look like this: ''' '''' ''''' '' ' ''''' '' ' ECCTMP ECCTMP …
iamjonesy
  • 23,004
  • 39
  • 130
  • 203
6
votes
3 answers

ASP.NET Charting Control Transparency

I'm working with the ASP.NET Charting Library and I've got it generating a pie chart but I'm having a problem configuring it to generate the pie chart with semi-transparent slices. If you look at the image you'll see what I'm talking about. Of the 4…
Ryan
  • 6,418
  • 11
  • 45
  • 68
6
votes
2 answers

Styling the asp.net charting controls

Using the ASP.Net Chart Controls, which are a subset of the Dundas Chart Controls, How can I make charts that look like this: Instead of this: EDIT: I've made some progress, since asking this question. The styling elements that improve the default…
grenade
  • 28,964
  • 22
  • 90
  • 125
6
votes
3 answers

Docking legends inside the chart area in c#

Here is a code for creating 3 charts. I want to dock the legend inside each chart's area but I'm getting legends at the bottom. I used DockedToChartArea but that was of no use. I want to get a legend inside each chart area. for (int t = 0; t <…
user2783430
  • 159
  • 1
  • 3
  • 13
5
votes
2 answers

ASP.NET Chart Control - Axis labels

I am trying out THIS .NET MS Chart control. Could someone who knows about it tell me how to set the axis labels without using data bindings? eg. If there are 3 columns, I am looking for something like this Chart1.AxisX.Labels = ["First", "Second",…
Aximili
  • 26,401
  • 50
  • 141
  • 196
5
votes
3 answers

Default 3D chart transparency with ASP.NET Chart Control?

like two guys before me there and second one there I have difficulty with 3D chart. How to force them to be transparent like this picture: taken from 3D Area chart example shipped with ASP.NET Chart controls. This chart has…
Crank
  • 461
  • 2
  • 8
  • 15
5
votes
3 answers

Display Values on Bars of a Bar chart in asp.net

I want to display values on the top of the bars in asp.net chart. Also I want to hide the x axis while displaying it. For mock up please see the image below. Thanks. I tried following but doesn't work. var c = HorizontalChart; …
hungrycoder
  • 499
  • 2
  • 9
  • 23
4
votes
2 answers

How to align content of legend to left in Microsoft .net chart?

I have legend text of varying length and need to align the legend items to the left of the legend for a consistent layout. | My Legend | | X what I have now | | X what I have now long | --> causes irregular layout |…
GP24
  • 837
  • 2
  • 11
  • 27
3
votes
4 answers

How can I populate a drop down box with all the possible SeriesChartType options?

I wish to populate a drop down box with each possible SeriesChartType so that my users may choose an appropriate chart type. How can I iterate through the SeriesChartType collection (it's in the namespace System.Web.Ui.DataVisualization.Charting)…
Andy F
  • 1,437
  • 2
  • 20
  • 33
1
2 3
9 10