This question is locked. New answers and comments are not allowed.
Hi there again,
Please help me solve this problem.
I have created RadChart contains with custom multiple chartArea with multiple series of bar series definition in the code behind. Its purpose is to generate data of 3 months, 4 months or 7 days datasets for tracking backward activities with multiple category inside 2 chart areas. (For example if it is 3 months, there will be 3 series for bar seiries definition for each month. If it is 7 days, it will be 7 series for each day)This Radchart has worked well with no any problem.
The problem arise when my supervisor asked me to set color on the bar to be pure solid color without any gradient. I went on research in this forum and follow the step of setting style for bar item same as in the attached code in below link
http://www.telerik.com/community/forums/silverlight/chart/gradient-on-bar-chart.aspx
For data with 3 months or 4 weeks has no any problem. But when the scenario comes to 7 days. The message box arise with the text "Layout cycle detected. Layout could not complete.". Even though the message box occured, when I pressed OK, the chart was still completedly generated. However I still wonder why the error of "Layout cycle detected" occurs
I have tried researching again on this link http://www.telerik.com/community/forums/silverlight/chart/layout-cycle-detected-problem.aspx and try the same method by setting collection Index and setting EmptyBehavior just like the attached sample code but also doesn't work. (Note that the sample runs without any problem)
I also attached the example pictures of RadChart that I generated, before and after settings style, that might help you understand my RadChart
Please help me stop this error message box of "Layout cycle detected. Layout could not complete.". If you want any additional details, you can let me know.
Thanks
Please help me solve this problem.
I have created RadChart contains with custom multiple chartArea with multiple series of bar series definition in the code behind. Its purpose is to generate data of 3 months, 4 months or 7 days datasets for tracking backward activities with multiple category inside 2 chart areas. (For example if it is 3 months, there will be 3 series for bar seiries definition for each month. If it is 7 days, it will be 7 series for each day)This Radchart has worked well with no any problem.
The problem arise when my supervisor asked me to set color on the bar to be pure solid color without any gradient. I went on research in this forum and follow the step of setting style for bar item same as in the attached code in below link
http://www.telerik.com/community/forums/silverlight/chart/gradient-on-bar-chart.aspx
For data with 3 months or 4 weeks has no any problem. But when the scenario comes to 7 days. The message box arise with the text "Layout cycle detected. Layout could not complete.". Even though the message box occured, when I pressed OK, the chart was still completedly generated. However I still wonder why the error of "Layout cycle detected" occurs
I have tried researching again on this link http://www.telerik.com/community/forums/silverlight/chart/layout-cycle-detected-problem.aspx and try the same method by setting collection Index and setting EmptyBehavior just like the attached sample code but also doesn't work. (Note that the sample runs without any problem)
I also attached the example pictures of RadChart that I generated, before and after settings style, that might help you understand my RadChart
Please help me stop this error message box of "Layout cycle detected. Layout could not complete.". If you want any additional details, you can let me know.
Thanks