I don't find the Form42 Example (TeeGrid with TeeChart graphics attached on cells) where I can reach it?
Best Regards
Form42 Example
-
- Site Admin
- Posts: 83
- Joined: Wed Nov 12, 2003 5:00 am
- Location: Girona, Catalonia
- Contact:
Re: Form42 Example
Hi oflor
Automatic embedded "live" charts inside grid cells is planned for next release (v1.5 maybe).
For static charts (just painted as bitmaps), I've uploaded a new example showing how to do it:
https://github.com/Steema/TeeGrid/tree/ ... c%20Charts
A column "OnPaint" event is used to paint the chart using the event "Bounds" rectangle.
A series is filled with the appropiate row values.
For "live" controls (charts, or any other), the list of future problems to solve are:
1) Where and how to keep the "array" of live control object instances (in the column? in user code?)
2) How to "cache" the objects? (should they be cached or not?, or re-created at every cell paint?)
3) How to "clip" partially visible controls? (VCL clip mechanism for children controls, but inside grid cell rectangles)
regards !
david
Automatic embedded "live" charts inside grid cells is planned for next release (v1.5 maybe).
For static charts (just painted as bitmaps), I've uploaded a new example showing how to do it:
https://github.com/Steema/TeeGrid/tree/ ... c%20Charts
A column "OnPaint" event is used to paint the chart using the event "Bounds" rectangle.
A series is filled with the appropiate row values.
For "live" controls (charts, or any other), the list of future problems to solve are:
1) Where and how to keep the "array" of live control object instances (in the column? in user code?)
2) How to "cache" the objects? (should they be cached or not?, or re-created at every cell paint?)
3) How to "clip" partially visible controls? (VCL clip mechanism for children controls, but inside grid cell rectangles)
regards !
david
Re: Form42 Example
Mr. David:
This way (OnPaint event) is acceptable to me.
Thanks very much for the example!
Best Regards
This way (OnPaint event) is acceptable to me.
Thanks very much for the example!
Best Regards