Forum > TAChart

tchart legend & pointers

(1/3) > >>

mmab:
Hi,
I've noticed an unusual behavior of tchart legend.
A line series with a pointer is not properly drawn in the legend field. I can only obtain the line color not the pointer. I guess this is a missing part. I tried to check it if it is still missing at the daily snapshot but looks like http://www.hu.freepascal.org/lazarus/ is not responding.
I also would like to see a bunch of different pointers such as triangle, left/right triangle.

But, I'd like to congratulate for the efforts to Tchart. I hope 3D plotting will be added in near future. (I can share some info such as Z-buffer on this topic)

Thanks.
MMAB
 

Ask:

--- Quote from: mmab on September 25, 2010, 04:39:00 am ---Hi,
I've noticed an unusual behavior of tchart legend.
A line series with a pointer is not properly drawn in the legend field. I can only obtain the line color not the pointer. I guess this is a missing part. I tried to check it if it is still missing at the daily snapshot but looks like http://www.hu.freepascal.org/lazarus/ is not responding.

--- End quote ---

You are right, this was a TODO item, (you can see a list of them on the wiki).
Implemented in r27461-27462, should be available in the next snapshot.


--- Quote from: mmab on September 25, 2010, 04:39:00 am ---I also would like to see a bunch of different pointers such as triangle, left/right triangle.

--- End quote ---

Added those in r27463. Note that you can create custom pointers via OnShowPointer event.


--- Quote from: mmab on September 25, 2010, 04:39:00 am ---I hope 3D plotting will be added in near future.

--- End quote ---

Which kind of 3D plot do you need?
TAChart already has support for 3D versions of line, bar and area series.


--- Quote from: mmab on September 25, 2010, 04:39:00 am ---I can share some info such as Z-buffer on this topic

--- End quote ---

Chart drawing is a typical application of painter's algorithm, so Z-buffer in not needed.
On the other hand, moving to full OpenGL implementation would be interesting,
but require nearly total rewrite, so is not likely to happen soon.

mmab:
Thanks for the reply.
The 3D I mean is a line, a bar or a surface as in

http://www.google.com/imgres?imgurl=http://www.cyber-wit.com/images/gallery/surface1_b.png&imgrefurl=http://www.cyber-wit.com/gallery_surface.html&h=320&w=450&sz=98&tbnid=81r-jLT-x2h_QM:&tbnh=90&tbnw=127&prev=/images%3Fq%3D3d%2Bsurface&zoom=1&q=3d+surface&usg=__sycNZSK_Fgr2XCzp1-Dmj-1EXjY=&sa=X&ei=m-mfTJagKYLGlQfMos3ZCQ&ved=0CB8Q9QEwAw

Regards,
MMAB

Ask:

--- Quote from: mmab on September 27, 2010, 01:10:08 am ---The 3D I mean is a line, a bar or a surface

--- End quote ---

Lines and bars already work, see demo/3d.
Surface, on the other hand, is not even planned yet.

mmab:
Thanks for the info.
I've downloaded the latest trunk version and I've noticed that you've solved the legend issue.

I've developed a basic project with two charts on the same form, I've selected animate option at zoom for both. Whenever I zoom to one of charts, I no longer zoom in at the other chart. Is this a bug? What do you think?

I knew the 3d look demo. I am not mentioning the 3d look, actual 3d plot, for example: a line that describes a helix

x=3cos 3t
y=3sin 3t
z=t
0<t<pi

I do have a 3d example for a wire surface, (which is basically plot of lines) including azimuth, elevation implementation. I can provide it if you need.

Thanks.
MMAB
 


Navigation

[0] Message Index

[#] Next page

Go to full version