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
TChart height shrinking with increase in legends at Bottom
-
- Newbie
- Posts: 12
- Joined: Wed Aug 22, 2012 12:00 am
Re: TChart height shrinking with increase in legends at Bottom
Hello Vishwanath K,
Thanks,
If you want attach a project with a size too large you can upload your project to our server in the upload page.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.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 12
- Joined: Wed Aug 22, 2012 12:00 am
Re: TChart height shrinking with increase in legends at Bottom
Hi Sandra,
I have tried opening the below link for upload ,but unfortunately Honeywell policy is restricting the access to the below link. Hence can i send it to the Pro-Support mail id?,since earlier i communicated with one of the support persons through mail communication with this email id.
Thanks and Regards,
Vishwanath K
I have tried opening the below link for upload ,but unfortunately Honeywell policy is restricting the access to the below link. Hence can i send it to the Pro-Support mail id?,since earlier i communicated with one of the support persons through mail communication with this email id.
Thanks and Regards,
Vishwanath K
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TChart height shrinking with increase in legends at Bottom
Hi Vishwanath,
First of all please notice that I edited your message to remove the Pro-Support email address you had disclosed. This is not a public email address and standard support channel but a resource only available to Pro-Support subscribers.
Back to your question, yes, since you hold an active Pro-Support subscription you can use this email address. Please include a reference to this thread in your email.
Thanks in advance.
First of all please notice that I edited your message to remove the Pro-Support email address you had disclosed. This is not a public email address and standard support channel but a resource only available to Pro-Support subscribers.
Back to your question, yes, since you hold an active Pro-Support subscription you can use this email address. Please include a reference to this thread in your email.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 12
- Joined: Wed Aug 22, 2012 12:00 am
Re: TChart height shrinking with increase in legends at Bottom
Hi Narcis/Sandra,
Please let me know your inputs on the below issue,since this is one of the user visibility issues that we need to resolve.
Thanks and Regards,
Vishwanath K
Please let me know your inputs on the below issue,since this is one of the user visibility issues that we need to resolve.
Thanks and Regards,
Vishwanath K
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TChart height shrinking with increase in legends at Bottom
Hi Vishwanath,
Did you send any project to the pro-support email address? We haven't received any. If you did so you could try sending it to the alternative GMail account as explained in the pro-support subscription email you should have received.
Thanks in advance.
Did you send any project to the pro-support email address? We haven't received any. If you did so you could try sending it to the alternative GMail account as explained in the pro-support subscription email you should have received.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TChart height shrinking with increase in legends at Bottom
Hello Vishwanath,
On the other hand,You must know that if you have the legend alignment in bottom or top, ScrollBar tool is aligned in bottom or top and isn't possible have a scroll bar in vertical position when the legend is horizontal. If you don't want that legend increase when you add Series dinamically, you need define the number of rows you want visible and use scroll bar to see all series as do in next code:
Could you tell us if previous code works as you want?
Thanks,
On the other hand,You must know that if you have the legend alignment in bottom or top, ScrollBar tool is aligned in bottom or top and isn't possible have a scroll bar in vertical position when the legend is horizontal. If you don't want that legend increase when you add Series dinamically, you need define the number of rows you want visible and use scroll bar to see all series as do in next code:
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
for (int i = 0; i < 50; i++)
{
new Steema.TeeChart.Silverlight.Styles.Line(tChart1.Chart);
tChart1[i].FillSampleValues(100);
}
Steema.TeeChart.Silverlight.Tools.LegendScrollBar scrolllegend1 = new Steema.TeeChart.Silverlight.Tools.LegendScrollBar(tChart1.Chart);
tChart1.Legend.Alignment = Steema.TeeChart.Silverlight.LegendAlignments.Bottom;
tChart1.Legend.MaxNumRows = 2;
}
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |