TChart height shrinking with increase in legends at Bottom
Posted: Mon Jan 21, 2013 7:43 am
Hi,
We are usging the TChart(4.0.2009.42283) in our Silverlight applications for one of the Products of Honeywell.We are having many line serieses added to the chart and also the series title will be shown in the legends.If the legend alignment is configured to be Top OR Bottom and serieses are added dyanamically at runtime then TChart height goes on shriking, since more and more legends come in Top OR Bottom and at one point the height becomes so small that user will not be able to see the graph properly.
To get around this problem i tried adding the "Steema.TeeChart.Silverlight.Tools.LegendScrollBar" tool so that i can scroll the legends vertically.But the scrollbar is coming only horizontally for Top and Bottom aligned legends.
To reproduce the problem i have created the sample Silverlight application.In the sample application i am not providing the option of adding serieses dynamically at runtime,hence you may need to run the application multiple times(with more and more number of serieses added at each iteration) to reproduce the issue.The default number of serieses is ten in the sample application.
Note:I am not able to attache the file here in this post as it is saying the file size is too large,hence please provide your email id so that i can send it.
Please let me know how can i have the vertical scroll bar for the Top and Bottom aligned legends.
Thanks and Regards,
Vishwanath K
We are usging the TChart(4.0.2009.42283) in our Silverlight applications for one of the Products of Honeywell.We are having many line serieses added to the chart and also the series title will be shown in the legends.If the legend alignment is configured to be Top OR Bottom and serieses are added dyanamically at runtime then TChart height goes on shriking, since more and more legends come in Top OR Bottom and at one point the height becomes so small that user will not be able to see the graph properly.
To get around this problem i tried adding the "Steema.TeeChart.Silverlight.Tools.LegendScrollBar" tool so that i can scroll the legends vertically.But the scrollbar is coming only horizontally for Top and Bottom aligned legends.
To reproduce the problem i have created the sample Silverlight application.In the sample application i am not providing the option of adding serieses dynamically at runtime,hence you may need to run the application multiple times(with more and more number of serieses added at each iteration) to reproduce the issue.The default number of serieses is ten in the sample application.
Note:I am not able to attache the file here in this post as it is saying the file size is too large,hence please provide your email id so that i can send it.
Please let me know how can i have the vertical scroll bar for the Top and Bottom aligned legends.
Thanks and Regards,
Vishwanath K