Hello all,
Hopefully a simple question with a simple answer!
I am using a chartListBox and I am wondering how to change the colour indicator beside each series in the listbox from a line into a box?
In the tchart demos they appear as boxes but I can't find the option to change it in my code.
Thanks in advance,
Dave
Simple Question
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Dave,
This depends on the series style you are using. Most likely you have a line for FastLine series. In that case you should change your series to Line series. You can use ChangeType method as shown here.
This depends on the series style you are using. Most likely you have a line for FastLine series. In that case you should change your series to Line series. You can use ChangeType method as shown here.
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 |
That doesnt seem to be the case.
I've just tried that and its the same. However in doing so I've found that the boxes only appear when the chart is 3D.
(to demonstrate this look in the tchart demo application under
Welcome !\Chart styles\Standard\Line(Strip)
You can see the lines change to and from boxes on the legend when you switch between 3D and 2D.
It would be nice to have this as an option to choose for 2d plots also, as I find it difficult to tell what colour each line is from the thin line on the chartListBox, legend etc.
I've just tried that and its the same. However in doing so I've found that the boxes only appear when the chart is 3D.
(to demonstrate this look in the tchart demo application under
Welcome !\Chart styles\Standard\Line(Strip)
You can see the lines change to and from boxes on the legend when you switch between 3D and 2D.
It would be nice to have this as an option to choose for 2d plots also, as I find it difficult to tell what colour each line is from the thin line on the chartListBox, legend etc.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Dave,
Ok, now I see what do you mean. I'll add your request to the wish-list to be considered for inclusion in next releases. In the meantime, you can set legend's symbol as shown in the All Features\Welcome !\Miscellaneous\Legend\OnDrawSymbol Event example at the features demo. There's no solution I can think of for ChartListBox though.
Ok, now I see what do you mean. I'll add your request to the wish-list to be considered for inclusion in next releases. In the meantime, you can set legend's symbol as shown in the All Features\Welcome !\Miscellaneous\Legend\OnDrawSymbol Event example at the features demo. There's no solution I can think of for ChartListBox though.
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 |