[Lazarus] tachart legend colorbar

Andrea Mauri andrea.mauri.75 at gmail.com
Mon Mar 31 11:06:14 CEST 2014


Dear all,

I would like to know if it is possible to add to a TAChart a legend as a 
colorbar (see 
http://www.google.it/imgres?imgurl=http%3A%2F%2Fi45.tinypic.com%2F2qsqvrk.png&imgrefurl=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F2925806%2Ffixing-color-in-scatter-plots-in-matplotlib&h=407&w=978&tbnid=458f2PJaHo4RkM%3A&zoom=1&docid=Ycay3CVBtNtDgM&ei=gC45U5nKEIaLtAbpyYGAAQ&tbm=isch&ved=0CGIQhBwwBA&iact=rc&dur=349&page=1&start=0&ndsp=36)

I would like to add a serie where points are coloured depending on a 
value (e.g. 0 - blue, 1 - red and values between 0 and 1 coloured 
changing gradually between blue and red) and I would like to display the 
legend accordingly in a gradient colorbar manner. Is it possible?

Best regards,
Andrea Mauri




More information about the Lazarus mailing list