[SOLVED] How to: clip tcharts? lazarus / 55-TAChart ---------------------------------------------------------------------- madepabloh · 2011-08-18 19:42 I have different charts (TAChart component) on a form plotting different parameters vs time. Since the parameters are acquired at the same time, the plots have common x value (time). Since they are a lot of parameters, i have them in different charts better than in only one. However, i would like to allow to the user to zoom in all the charts at the same time, in the same way. Is it possible? How could i do it? Thanks! ---------------------------------------------------------------------- Ask · 2011-08-19 12:22 You can plot them all on the same chart and use axis transformations to separate them. See http://wiki.lazarus.freepascal.org/TAChart_documentation#Axis_transfor mations and "Axis groups" page in the axis demo ---------------------------------------------------------------------- madepabloh · 2011-08-24 20:45 Thanks Ask, I explored the example, and althought it is apparently what i need, in really is not. Because when i do zoom, 1) i lost the x axis, an  2) it made zoom only of a sector, but i want to do zoom on all the plots at the same time, independently in which one i selected the sector to zoom. Thanks!! ---------------------------------------------------------------------- Ask · 2011-08-29 09:26 Quote from: madepabloh on August 24, 2011, 10:45:58 pm1) i lost the x axis I do not understand this. What do you mean by "lost"? Quote from: madepabloh on August 24, 2011, 10:45:58 pm2) it made zoom only of a sector, but i want to do zoom on all the plots at the same time, independently in which one i selected the sector to zoom. If I understood correctly, you need to ensure that logical extents of several charts always stay the same. Since r32088 you can achieve this by using new TChartExtentLink component. See panes demo since r32089 for an example. ---------------------------------------------------------------------- madepabloh · 2011-08-29 11:18 Thanks Ask, What i mean is the in your example of different plots in the same chart but with clearly separated Y axis is that is i do a zoom in a selected sector, i have a zoom of this area, only of the selected plot, but the others disappear (obviously) of the screen, where i could only see the Y axis, but not the X-Axis. After to undo the zoom i can see everything right again. So, when doing zoom i lost the x axis and its information... yes, this is what i am looking for! Thanks for include a new component to solve my problem! I will first learn how to install revisions of lazarus... i never installed one... just only the official lazarus release Thanks Ask! ---------------------------------------------------------------------- Ask · 2011-08-29 14:50 This may help: http://wiki.lazarus.freepascal.org/Getting_Lazarus ---------------------------------------------------------------------- wp · 2011-08-29 16:18 QuoteI will first learn how to install revisions of lazarus... i never installed one... just only the official lazarus release I bookmarked this page: ftp://ftp.hu.freepascal.org/pub/lazarus/snapshots/ from which I download the version that I need (usually the latest lazarus and the official fpc-2.4.4 for my platform, win32). The win versions at least contain an installer, and you don't have to care about anything, it's like using the official releases. Before installing, just delete or rename the old lazarus version on your hd. ---------------------------------------------------------------------- madepabloh · 2011-08-29 17:32 Thanks!! I am becoming really crazy trying to install the svn! So i will delete everything and intall the last snapshot following the link of wp. In my case, this one: Lazarus-0.9.30.1-32085-fpc-2.4.4-20110829-win32.exe Thanks!! Edited: Oh! i will wait until to have a higher svn than 32089 what includes what i need. For the moment it is not available. Thanks! ---------------------------------------------------------------------- madepabloh · 2011-08-30 20:01 Hi Ask! I installed some minutes ago the r32100 version and the new component work great!! Thanks so much for include this tool what is incredible interesting for my proyect!!! I already saw that is able to clip the X, Y or both axis, what is exactly what i was looking for! I also discovered some other components what for sure will be interesting for me. Thanks for your help and you work! QuoteJust only one more question: Is it possible to include an "enable" option? Just to allow to the user to decide to zoom in one of the plots to analyze (zooming) only this plot and not the other. To program it in a button is possible but with a lot of lines since i have six plots in my project. Thanks! ---------------------------------------------------------------------- Ask · 2011-08-31 03:07 "Enable" property added in r32128 ---------------------------------------------------------------------- JD · 2011-08-31 11:22 Quote from: Ask on August 31, 2011, 05:07:13 am"Enable" property added in r32128 How do I install your updates without reinstalling Lazarus? Can I just copy the changed TAChart directory & overwrite the old TAChart directory in my installation? ---------------------------------------------------------------------- madepabloh · 2011-08-31 11:32 Thanks so much Ask... you are great!! Thank you for your work! ---------------------------------------------------------------------- Ask · 2011-08-31 12:46 Quote from: JD on August 31, 2011, 01:22:59 pmHow do I install your updates without reinstalling Lazarus? Can I just copy the changed TAChart directory & overwrite the old TAChart directory in my installation? In general, refer to this: http://wiki.lazarus.freepascal.org/Getting_Lazarus Sometimes you can indeed update only TAChart without the rest of Lazarus, but it is in no way guaranteed. ---------------------------------------------------------------------- madepabloh · 2011-12-06 22:29 After along time without to work in my project, i installed the last snapshot of Lazarus, but i had a problem when running the project, because it can´t locate TAChartExtentLink class... I suppose that there was a modification.... any idea how could i solve the problem? Where could i locate now this tool? Thanks! ---------------------------------------------------------------------- Ask · 2011-12-07 03:35 TAChartExtentLink is a unit, not a class. It is located in the TAChartExtentLink.pas file inside of TAChart directory. ---------------------------------------------------------------------- madepabloh · 2011-12-07 16:08 You are right... i translated the error message incorrectly in my post.  Lazarus is unable to locate the tachartextentlink unit... i installed again the lazarus from zero. and the problem still follow... this component do not appear... I also installed again the tachart tool from the components... and it run but the tools does not appear... Thanks! QuoteI don´t know how or why, but after to install and uninstall about seven times the Lazarus and all the components, not appear all the tools of tachart component.... so, i don´t know how, but it is solved. Thanks! ---------------------------------------------------------------------- Ask · 2011-12-07 22:10 Quotethis component do not appear... Please describe how you have installed Lazarus. QuoteI also installed again the tachart tool from the components... and it run but the tools does not appear... Unfortunately, I do not understand this sentence. Perhaps you can describe the problem in your language, and then ask some forum member to translate it for me? ---------------------------------------------------------------------- madepabloh · 2011-12-07 22:47 Sorry Ask... I didn´t do anything special during installation process: double click on the setup exe file... and Ok to everything (not literally, of course). Then, TChart bartool appeared on the lazarus IDE, but not all the tools appeared into it (tcharextentlink was one of them). I installed and installed again a couple of times... and finally it appeared... so may be the process was corrupted in someway... but it is not important now since now it is installed correctly. Thanks for your interest and efforts trying to understand my bad english. Cheers!