amankazi Posted September 2, 2008 Report Share Posted September 2, 2008 Greetings, In one of the recent mails from ChartFX I read that, Gradient effect on chart causes performance. If so, can I turn it Off/On ? If yes, How can I ? Quote Link to comment Share on other sites More sharing options...
Arys Posted September 2, 2008 Report Share Posted September 2, 2008 ChartFX.WinForms.Adornments.GradientBackground gradientBackground1 = new ChartFX.WinForms.Adornments.GradientBackground(); this.MyChart.Background = gradientBackground1; Quote Link to comment Share on other sites More sharing options...
amankazi Posted September 3, 2008 Author Report Share Posted September 3, 2008 I archived what I was looking at, following is the code written in UserCommand to improve the performance of the chart. ///Setting the Background of the graph to improve the performanceif (chartHistoricGraph.Background.ToString() == "Solid Color") chartHistoricGraph.Background = new GradientBackground(GradientType.Vertical);else chartHistoricGraph.Background = new SolidBackground(System.Drawing.Color.White);break; 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.