All series' do not fit in legend
All series' do not fit in legend
If I have over 30 or so series on my graph, the legend cannot show them all because there seems to be a built in limit for the legend size cannot be bigger than the graph. Is there a way around this, like changing the resolution or a scroll bar in the legend? I'm using version 6.006
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Craig,
You could use a scroll bar doing:
As legend depends on Chart's rectangle bottom position, a solution is making chart bigger and play with panel and legend top margins.
Also notice that TeeChart Pro v7 ActiveX has LegendScrollBar tool.
You could use a scroll bar doing:
Code: Select all
Private Sub Form_Load()
For i = 0 To TChart1.SeriesCount - 1
TChart1.Series(i).FillSampleValues (10)
Next i
VScroll1.Min = 0
VScroll1.Max = TChart1.Series(0).Count
End Sub
Private Sub VScroll1_Change()
TChart1.Legend.FirstValue = VScroll1.Value
End Sub
Also notice that TeeChart Pro v7 ActiveX has LegendScrollBar tool.
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 |