Page 1 of 1
Legend with multiple series does not show checkboxes
Posted: Fri Jan 30, 2009 5:22 pm
by 15050540
Hi there,
I just upgraded from version 5 to version 8. I noticed two problems so far. The first one is that a chart with multiple series does not have the checkboxes showing up... In fact it only plots one of the series on the graph. Multiple fast line series are missing... And only the titles show up in the legend... no checkboxes. The other problem is that the background color of the chart has changed from blue to yellow.
Thanks,
Landa
Posted: Mon Feb 02, 2009 8:27 am
by yeray
Hi Landa,
I haven't been able to reproduce it here. I've tried this code and does exactly the same in v5 than in v8:
Code: Select all
Private Sub Form_Load()
TChart1.AddSeries scLine
TChart1.AddSeries scLine
TChart1.AddSeries scLine
TChart1.Series(0).FillSampleValues 25
TChart1.Series(1).FillSampleValues 25
TChart1.Series(2).FillSampleValues 25
TChart1.Legend.CheckBoxes = True
TChart1.Panel.Color = vbBlue
' TChart1.Walls.Back.Transparent = False
' TChart1.Walls.BackColor = vbBlue
End Sub
Please, could you send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://
www.steema.net/steema.public.attachments newsgroup or at our
upload page.
Posted: Thu Feb 05, 2009 7:27 pm
by 15050540
Hi Yeray,
I just uploaded the file. Please let me know if you can reproduce the same results.
Thanks,
Landa
Posted: Mon Feb 09, 2009 11:42 am
by yeray
Hi landa,
First of all I'd like to apologize because we're not familiarized with tcl language, so it would be really helpful if you could reproduce the problems in a simple vb example.
On the other hand, we've seen that the portion of code where the panel gradient is set to blue seems to be commented and the default gradient color is yellow:
Code: Select all
puts "$chartname.Panel.Gradient.Visible = true;"
#puts "$chartname.Panel.Gradient.Direction = 4;"
#puts "$chartname.Panel.Gradient.StartColor = RGB(0,128,192);"
#puts "$chartname.Panel.Gradient.EndColor = RGB(0,64,128);"
And we haven't found any code where the legend.checkboxes is set.
Posted: Tue Feb 24, 2009 10:35 pm
by 15050540
I added the lines that you suggested. And it seems to be working now.
Thanks for your help.
Landa