Harish Posted January 12, 2009 Report Share Posted January 12, 2009 I want to add different image to points, based on the directions( North, South, East, West) in bubble chart. I have attached a sample chart below. In the below example, the "Arrow" image specifies different directions. And also how to give different color to 4 quadrent as show in the image below. Quote Link to comment Share on other sites More sharing options...
rkw6086 Posted January 19, 2009 Report Share Posted January 19, 2009 I think you can do this by setting the picture property on the point. Let me give you an example: <Chart> is your chart instance <Series#> is the number to your series <Point#> is the point you wish to change <Image> is the string location to the image.C# line of code. <Chart>.Points[<Series#>,<Point#>].Picture = System.Drawing.Image.FromFile(<Image>); This should replace the marker with the picture. In your case, you are going to have to enumerate through each point, check it's value, and then set your image based off that value so you can get your desired results. If I'm not mistaking, I think the value of a point is the text property. I could be wrong, but this should be enough to get you going. :-D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.