waist24 Posted July 27, 2009 Report Share Posted July 27, 2009 ValueToPixel Function Always return 0 in Radar Chart. How Can I this Value? I Want Draw Circle in PostPaint function. Quote Link to comment Share on other sites More sharing options...
RandyJ Posted July 27, 2009 Report Share Posted July 27, 2009 Hi, How exactly are you using the ValueToPixel Function? Could you post a sample code showing the way you are using it? Regards, RandyJ Quote Link to comment Share on other sites More sharing options...
waist24 Posted July 27, 2009 Author Report Share Posted July 27, 2009 private void chart1_PostPaint(object sender, ChartFX.WinForms.CustomPaintEventArgs e) { int orgX = chart1.ChartAreaRectangle.Width / 2; int orgY = chart1.ChartAreaRectangle.Height / 2; int cy = chart1.AxisY.ValueToPixel(30); ==> Always return 0; // I Want DrawCircle (OrgX,OrgY and cy size ) } 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.