Using version Dundas+chart+for+asp.net+enterprise+edition+v6.2.0.1740+for+visual+studio+2008+retail
Environmental WIN2008 r2+vs2008
Code:
private void Bindradar () {this. Chart1.width = 800; This. Chart1.height = 800; Populate series Data double[] yvalues = {65.62, 75.54, 60.45, 34.73, 85.42, 55.9, 63.6, 55.2, 77.1}; String[] XValues = {"France", "Canada", "Germany", "USA", "Italy", "Spain", "Russia", "Sweden", "Japan"}; This. chart1.series["Series1"]. POINTS.DATABINDXY (XValues, yvalues); Set Radar chart Type this. chart1.series["Series1"]. Type = Seriescharttype.radar; Set Radar chart Style (area, line or Marker) this. chart1.series["Series1" ["radardrawingstyle"] = "area"; Set Circular area drawing style (Circle or Polygon) this. chart1.series["Series1" ["areadrawingstyle"] = "Circle"; Set labels Style (Auto, horizontal, circular or radial) this. chart1.series["Series1" ["circularlabelsstyle"] = "horizontal"; Show as 3D this. chart1.chartareas["Default"]. Area3dstyle.enable3d = true; Seris2 double[] y = {45.62, 65.54, 70.45, 84.73, 35.42, 55.9, 63.6}; This. chart1.series["Series2"]. Points.databindy (y); //Set display value this. chart1.series["Series1"]. Showlabelasvalue = true; This. chart1.series["Series2"]. Showlabelasvalue = true; Set whether there is a gap between x,y this. chart1.chartareas["Default"]. Axisx.margin = true; This. chart1.chartareas["Default"]. Axisy.margin = true; It is useful to set an x-axis display interval of more than 1,x axis data. chart1.chartareas["Default"]. AxisX.LabelStyle.Interval = 1; Sets the name of the XY axis title to a location far chart1.chartareas["Default". Axisx.titlealignment = Stringalignment.near; Set the y-axis preceded by an arrow chart1.chartareas["Default"]. Axisy.arrows = Arrowstype.triangle; for (int i = 0; i < chart1.series["Series1"]. Points.count; i++) {chart1.series["Series1"]. Points[i]. MarkerStyle = markerstyle.square//Set the style of the fold point chart1.series["Series1"]. Points[i]. Markercolor = color.red;//Set the color of the fold point in seires} chart1.imagetype = Chartimagetype.jpeg; Anti-aliasing chart1.antialiasing = Antialiasing.all; Palette scrub: semitransparent chart1.palette = chartcolorpalette.semitransparent; }
Effect Chart: