best to use TAchart or role my own Tcanvas on android lazarus / 43-Android ---------------------------------------------------------------------- mas steindorff · 2012-03-14 18:51 would like to make some logging software that also graphs the data real-time.  I've use both TAchart and rolled my own chart using the tcanvas component on windows.  1:Has or will the TAchart component been ported to android in the next 3 to 6 months? 2: are most of the Tcanvas options ported like the lineto and line color properties? 3: what pitfalls and troubles will I be asking for by using one component over the other? thank you for you time. ---------------------------------------------------------------------- Ask · 2012-03-14 23:25 QuoteHas or will the TAchart component been ported to android in the next 3 to 6 months? TAChart is mostly widgetset-independent, so hopefully it either already is usable on Android or will become usable as widgetset matures. If I understand properly, current plan is to use CustomDrawn widgetset for Android. If so, then TAChart is already partially working on that widgetset at least on Windows. Quoteare most of the Tcanvas options ported like the lineto and line color properties? Note that this is the same question -- as soon as particular widgetset will start supporting, say, colored lines, TAChart will be able to use them. ---------------------------------------------------------------------- mas steindorff · 2012-03-14 23:48 thanks ASK. I seem to remember a post about TAchart changing it's base widget-set or something like that one or two years ago.  Do you recall that post and was the reason for that was to become more OS independent or where you becoming limited by the original widget-set or was it a coding issue? If I do use TAchart and something it does is not yet supported, do you know if the widget-set is just nop() or I will need to go into TAchart and comment out the call? At this point I'm just trying to get a feel for the level of commitment I need for this project and what things may be best reserved for a bounty and ballpark $ amounts. ---------------------------------------------------------------------- Ask · 2012-03-15 04:37 TAChart has two levels of drawing abstraction. First level is a drawing back-end. It allows to draw charts on various media and/or file formats. For example, you can generate charts as SVG files, print them, draw them in OpenGL context etc. http://wiki.lazarus.freepascal.org/TAChart_documentation#Drawers Some back-ends, in turn, support several output formats themselves, for example FPVectorial back-end can save chart in vector formats such as DWG and CorelDraw. The default drawing back-end is LCL canvas, which supports various widgetsets. TAChart (almost) does not care about the specific widgetset, it just uses TCanvas interface. So whatever is implemented by TCanvas works in TAChart. Based on the above you have two options for porting TAChart: 1) Add the missing features to CustomDraw widgetset   (for example, from my brief testing it seems that it does not currently support   line width > 1). 2) Use some other back-end, such as SVG or OpenGL. 3) Failing all the above, write Android-specifick back-end. I am interested in porting TAChart to Android, but currently lack time and equipment for testing on that platform. However, if the first option will be feasible for you, then my task will be much simpler -- I will just test TAChart on CustomDrawn widgetset and maybe help to implement what's missing there. ---------------------------------------------------------------------- felipemdc · 2012-03-15 15:49 Quote from: Ask on March 15, 2012, 05:37:32 amBased on the above you have two options for porting TAChart: 1) Add the missing features to CustomDraw widgetset   (for example, from my brief testing it seems that it does not currently support   line width > 1). If people start opening bug reports with some short test code I can fix any bugs in the CustomDrawn TCanvas. ---------------------------------------------------------------------- felipemdc · 2012-03-15 16:14 I just tested here and TPen.Width worked for me, see: http://img843.imageshack.us/img843/6425/customdrawnpentest.png ---------------------------------------------------------------------- mas steindorff · 2012-03-20 17:06 Thank you both for your input.  It looks like "charting" should not be too big of a hurdle by the time I start this project.