Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 30, 2012 12:25 AM by ToughMan
Nov 26, 2012 04:05 PM|LINK
Suppose I am using the asp chart control, and I have one X value with a Y and a Z value. For instance, lets say for every neighborhood in a city, I want to chart the devastation of Hurricanes on a scale of 1 to 10, but I also want to chart the number of
So for instance, if a hurricane hit Fort Lauderdale three times, and each time the devastation was "10", then I would want to see a point at Fort Lauderdale at 10 in the Y dimension, but with magnitude of three in the Z dimension. Lets assume "Fort Lauderdale"
is a number on the X-axis.
I thought of using a point chart which has 3 points at (X="FortL", Y=10, and Z=1,2,3). The 3 points would have to be distinguishable.
But the chart doesn't seem to let me do that. The points are not distinguishable.
This example isn't exactly what I'm doing, but its similar. Maybe a better example than using "Fort Lauderdale" might be community with population of one million - to give a number on the X axis.
Nov 27, 2012 03:43 AM|LINK
You can try to set ChartArea=>Enable3D=True.
For more please refer this：
<asp:Chart ID="Chart1" runat="server">
<Area3DStyle Enable3D="True" />
protected void Page_Load(object sender, EventArgs e)
Random r = new Random(Guid.NewGuid().GetHashCode());
for (int i = 1; i < 11; i++)
Nov 27, 2012 12:18 PM|LINK
I had enabled 3D when I did the experiment, so thats not the problem.
I find I can't distinguish between points that have the same x and Y, but differ on Z.
Maybe its just a matter of rotation of the graph. I'll try adding a rotation button and tilt button to the graph, and see if I can move it around until I see the points look separate.
Nov 28, 2012 12:08 AM|LINK
It seems that you wanna a Z axis supported in Chart, now you can my solved problem here:
Nov 29, 2012 10:51 AM|LINK
I looked at your link, but it doesn't make clear to me how to make a 3D graph where you supply a triplet: (x,y,z). There is some explanation at the end, but it seems to be an explanation of converting chart coordinates to screen coordinates. Its not clear.
Nov 30, 2012 12:25 AM|LINK
3D's Z isn't supported in Microsoft's Chart.