Re: [Lazarus] tachart add point

2009-12-23 Thread Alexander Klenin
On Wed, Dec 23, 2009 at 23:25, Andrea Mauri wrote: > Dear all, dear Alexander, > I saw in tachart source code that adding points to a serie they are kept > ordered by X coordinate. > There is any reason for that? This decision predates my involvement with TAChart. Still, here are my thoughts: X-o

Re: [Lazarus] tachart add point

2010-01-12 Thread Andrea Mauri
1) Store original index in Label field. Dear Alexander I used this workaround to solve my problem. Actually I am so late in my job that I cannot explore the other options. Thanks a lot. andrea -- ___ Lazarus mailing list Lazarus@lists.lazarus.freep

Re: [Lazarus] tachart add point

2010-01-12 Thread Alexander Klenin
On Wed, Jan 13, 2010 at 00:07, Andrea Mauri wrote: > >> 1) Store original index in Label field. >> > Dear Alexander I used this workaround to solve my problem. Actually I am so > late in my job that I cannot explore the other options. Ok, thanks for the feedback. On Thu, Dec 24, 2009 at 00:52, A

Re: [Lazarus] tachart on mousemove

2010-04-24 Thread Alexander Klenin
On Sat, Apr 24, 2010 at 00:46, Andrea Mauri wrote: > dear all, dear alexander, > it seems that the onmousemove event is no more fired on tachart. > Lazarus 0.9.29 r24858 FPC 2.4.0 i386-win32-win32/win64 I am travelling now, will take a look on Monday. -- Alexander S. Klenin --

Re: [Lazarus] tachart on mousemove

2010-04-27 Thread Alexander Klenin
On Sat, Apr 24, 2010 at 05:46, Andrea Mauri wrote: > dear all, dear alexander, > it seems that the onmousemove event is no more fired on tachart. > Lazarus 0.9.29 r24858 FPC 2.4.0 i386-win32-win32/win64 I tested using dragdrop demo and it works for me. Can you post a test project? -- Alexander

Re: [Lazarus] tachart on mousemove

2010-04-27 Thread Andrea Mauri
Il 27/04/2010 13.04, Alexander Klenin ha scritto: I tested using dragdrop demo and it works for me. Can you post a test project? I tested now on dragdrop demo. I set a breakpoint in Chart1MouseMove at the first line: Unused(Shift); If I hold the shift key the mousemove event is raised while i

Re: [Lazarus] tachart on mousemove

2010-04-27 Thread Alexander Klenin
On Tue, Apr 27, 2010 at 23:41, Andrea Mauri wrote: > Anyway simply put a tchart on a form and two label (label1 and label2) then > put this code in the mousemove event: > procedure TForm1.Chart1MouseMove(Sender: TObject; Shift: TShiftState; X, >  Y: Integer); > begin >  Label1.Caption:= 'X: ' + In

Re: [Lazarus] tachart on mousemove

2010-04-27 Thread Andrea Mauri
Il 27/04/2010 15.51, Alexander Klenin ha scritto: Indeed. This is related to the new toolset code. Please try r25005. ok, it works. thanks. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/l

Re: [Lazarus] TAChart OnDrawReticule Event

2010-05-19 Thread Alexander Klenin
2010/5/20 Jorge López : > I had problems with values returned by OnDrawReticule event. Always returns > values from last series defined on my object. > I explore this component and I found this: [fix skipped] > Is that correct? Yes, thanks for noticing. You are probably the first user of this ev

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-28 Thread Alexander Klenin
On Thu, Jul 28, 2011 at 14:32, David M. Lawrence wrote: > Was the 2nd-Y axis patch (No. 13832; > http://bugs.freepascal.org/view.php?id=13832) ever incorporated into the > Lazarus/TAChart release?  I'm new to Lazarus and don't quite know how to > interpret the bugtracker p

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-28 Thread David M. Lawrence
much I did understand from the axis demo). Thanks again, Dave On 7/28/2011 5:56 AM, Alexander Klenin wrote: On Thu, Jul 28, 2011 at 14:32, David M. Lawrence wrote: Was the 2nd-Y axis patch (No. 13832; http://bugs.freepascal.org/view.php?id=13832) ever incorporated into the Lazarus/TAChart

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-28 Thread Alexander Klenin
On Fri, Jul 29, 2011 at 01:04, David M. Lawrence wrote: > I have tried to deconstruct the code in the demo, but cannot understand it > works, and my efforts to copy the code end in unspecified access violations. What do you mean by "unspecified"? Did they happen inside TAChart code? If so, can yo

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-28 Thread David M. Lawrence
No, they happened when I tried to plot the chart. I couldn't figure out how to implement the auto-scaling transformation from the demo. For example, I see catTAuto listed as a transformation in the object inspector and listed as a property in the axisdemo main.pas, but cannot find any code to

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-28 Thread Alexander Klenin
Please, do not top-post. It makes it very hard to read and reply to your messages. On Fri, Jul 29, 2011 at 15:56, David M. Lawrence wrote: > No, they happened when I tried to plot the chart.  I couldn't figure out how > to implement the auto-scaling transformation from the demo.  For example, I >

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-28 Thread David M. Lawrence
On 7/29/2011 1:21 AM, Alexander Klenin wrote: Please, do not top-post. It makes it very hard to read and reply to your messages. On Fri, Jul 29, 2011 at 15:56, David M. Lawrence wrote: No, they happened when I tried to plot the chart. I couldn't figure out how to implement the auto-scaling t

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-29 Thread Alexander Klenin
On Fri, Jul 29, 2011 at 16:45, David M. Lawrence wrote: > Out-of-bounds data points would be clipped.  In my case, I determined my > max/min limits empirically by scanning global temperature and precipitation > records.  There should be no out-of-bounds points -- on Earth, anyway.  If > climate co

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-29 Thread David M. Lawrence
The linear transform worked -- I finally figured out how to implement it. The chart is almost where it should be, except for the X-axis labels. I need to dynamically define which of two options to use: J F M A M J J A S O N D (MnthNHLabels) for northern hemisphere sites, and J A S O N D J F M

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-29 Thread Alexander Klenin
On Fri, Jul 29, 2011 at 18:42, David M. Lawrence wrote: > The linear transform worked -- I finally figured out how to implement it. > The chart is almost where it should be, except for the X-axis labels.  I > need to dynamically define which of two options to use: > > J F M A M J J A S O N D (Mnth

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-29 Thread Alexander Klenin
On Fri, Jul 29, 2011 at 18:34, Alexander Klenin wrote: > On Fri, Jul 29, 2011 at 16:45, David M. Lawrence wrote: >> Out-of-bounds data points would be clipped.  In my case, I determined my >> max/min limits empirically by scanning global temperature and precipitation >> records.  There should be

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-31 Thread David M. Lawrence
Excuse me for being slow, but where do I find this update? I haven't figured all this out. Dave On 7/30/2011 2:47 AM, Alexander Klenin wrote: On Fri, Jul 29, 2011 at 18:34, Alexander Klenin wrote: On Fri, Jul 29, 2011 at 16:45, David M. Lawrence wrote: Out-of-bounds data points would be c

Re: [Lazarus] TAChart 2nd Y Axis

2011-07-31 Thread Alexander Klenin
On Mon, Aug 1, 2011 at 04:52, David M. Lawrence wrote: > Excuse me for being slow, but where do I find this update?  I haven't > figured all this out. http://wiki.lazarus.freepascal.org/Getting_Lazarus -- Alexander S. Klenin -- ___ Lazarus mailing li

[Lazarus] TAChart compilation error (issue 22365)

2012-07-05 Thread Alexander Klenin
Issue http://bugs.freepascal.org/view.php?id=22365 was about the compilation error when the TAChart code is compiled by FPC trunk. I did not notice the issue in time, because bug tracker is unusably slow, so I use Google Alerts to track bugs. This usually works, but sometimes causes a delay of a f

Re: [Lazarus] TAChart and legend items

2012-09-17 Thread ik
On Mon, Sep 17, 2012 at 4:55 PM, ik wrote: > Hello, > > How can I make sure that the Legend of TAChart breaks each item to > it's own line ? Answering myself : the problem was that I added "columncount" of two > At the moment it seems like it just try to align everything into one line > > Thanks

Re: [Lazarus] tachart breaks trunk compilation

2012-10-07 Thread zeljko
On Sunday 07 of October 2012 12:26:11 Marco van de Voort wrote: > tachartaxis.pas(337,46) Error: identifier idents no member "GetAlignment" > > > Lazarus trunk, fpc trunk. I've successfully compiled laz trunk (r38980) with fpc-2.6.1. zeljko -- ___ La

Re: [Lazarus] tachart breaks trunk compilation

2012-10-07 Thread Marco van de Voort
On Sun, Oct 07, 2012 at 12:43:34PM +0200, zeljko wrote: > > tachartaxis.pas(337,46) Error: identifier idents no member "GetAlignment" > > > > > > Lazarus trunk, fpc trunk. > > I've successfully compiled laz trunk (r38980) with fpc-2.6.1. (including tachart?) I've looked deeper into it, and it

Re: [Lazarus] tachart breaks trunk compilation

2012-10-07 Thread Alexander Klenin
On Sun, Oct 7, 2012 at 9:58 PM, Marco van de Voort wrote: > On Sun, Oct 07, 2012 at 12:43:34PM +0200, zeljko wrote: >> > tachartaxis.pas(337,46) Error: identifier idents no member "GetAlignment" >> > >> > >> > Lazarus trunk, fpc trunk. >> >> I've successfully compiled laz trunk (r38980) with fpc-2

Re: [Lazarus] tachart breaks trunk compilation

2012-10-07 Thread Alexander Klenin
On Sun, Oct 7, 2012 at 9:58 PM, Marco van de Voort wrote: > I've looked deeper into it, and it seems Alexander is fond of strict > protected and private, but calls getalignment in a not "inherited" fashion. > (on another class) > > Afaik that was where FPC was more lax than Delphi and Jonas correc

Re: [Lazarus] tachart breaks trunk compilation

2012-10-07 Thread Marco van de Voort
On Mon, Oct 08, 2012 at 12:11:38AM +1100, Alexander Klenin wrote: > > I've looked deeper into it, and it seems Alexander is fond of strict > > protected and private, but calls getalignment in a not "inherited" fashion. > > (on another class) > > Fixed in r38981 Thanks. -- ___

Re: [Lazarus] TAChart with transparent background

2014-09-03 Thread Roberto P.
Thank you very much. I need a background image, therefore as soon as I am back at the office I'll try your code. Thank you again! R# 2014-09-02 18:18 GMT+02:00 Werner Pamler : > It is not fully clear to me what you mean by "a chart with transparent > background". Do you want to see the form un

[Lazarus] TAChart Date Axis Remove Weekends

2014-09-13 Thread Leonardo M. Ramé
Hi, I'm using TAChart to plot OHLC Stock prices and would like to ignore weekends. Is it possible to do that?. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.f

[Lazarus] TAChart Date Axis Remove Weekends

2014-09-14 Thread Werner Pamler
Don't use the real date as x value. Instead, use a counter value that is incremented every time you add a value to the series. Don't add data if the "DayOfWeek" of their date is 6 (Friday) or 7 (Saturday). In the data you posted in your previous message the weekends are already messing, therefo

[Lazarus] TAChart Date Axis Remove Weekends

2014-09-14 Thread Werner Pamler
I don't know, at the moment, where the minimum is forced to 0 - normally this does not happen, it is probably a bug with the multi-value series which I don't use that much, I don't know... Until this is fixed you have to determine the minimum of the y axis on your own. Declare a variable "mn:

Re: [Lazarus] TAChart with transparent background

2014-09-15 Thread Roberto P.
Though really late, I can confirm that the solution is working fine. I still have to add some profiling code to measure it, though with added background it seems perceivably slower even on a recent PC (core i5 vpro). Are BGRA or other backends known to be faster? thanks anyway for the help! R# 2

Re: [Lazarus] TAChart with transparent background

2014-09-15 Thread Roberto P.
The image is a 30KB png, not much. It is smaller than the area, so it gets actually stretched. Can I use Draw instead of StretchDraw if I make the image exactly the size I need? I can force the form size. I think that tens of milliseconds can be actually relevant, because I am plotting data receiv

Re: [Lazarus] TAChart marks on mouseoverpoint

2009-09-21 Thread Alexander Klenin
On Mon, Sep 21, 2009 at 23:39, Andrea Mauri wrote: > Dear all, > I am using TAChart and I would like to see the mark of a point when the > point is clicked or the mouse is over it. > Actually I do it using tchart.hint, TChartMouseMove event and > GetNearestPoint function. In this way I show an hin

Re: [Lazarus] TAChart marks on mouseoverpoint

2009-09-21 Thread Andrea Mauri
I use trunk version of lazarus so I will check it. thanks, andrea Alexander Klenin ha scritto: On Mon, Sep 21, 2009 at 23:39, Andrea Mauri wrote: Dear all, I am using TAChart and I would like to see the mark of a point when the point is clicked or the mouse is over it. Actually I do it usin

Re: [Lazarus] TAChart marks on mouseoverpoint

2009-09-22 Thread Andrea Mauri
I tested the dragdrop demo. It works well anyway I have some questions/doubts about how marks are showed. 1. If the point is on the border of the chart the mark is not fully visible. 2. I have charts with a lot of points, the marks are shown below the points, so often the marks are not fully vis

Re: [Lazarus] TAChart marks on mouseoverpoint

2009-09-22 Thread Alexander Klenin
On Tue, Sep 22, 2009 at 21:36, Andrea Mauri wrote: > 1. If the point is on the border of the chart the mark is not fully visible. You can increase Margins.Left and Margins.Right properties to avoid that. > 2. I have charts with a lot of points, the marks are shown below the points, > so often t

Re: [Lazarus] TAChart marks on mouseoverpoint

2009-09-23 Thread Andrea Mauri
Well, there is only so much pixels on the chart. If you put enough marks, they will overlap sooner or later. Do you have some concrete proposal to reduce overlapping? Looking at TeeChart from Steema (an old version, Delphi 6 ;) ) I noticed two things. 1. Marks are drawn over the points (th

Re: [Lazarus] TAChart marks on mouseoverpoint

2009-09-23 Thread Alexander Klenin
On Wed, Sep 23, 2009 at 20:58, Andrea Mauri wrote: > >> Do you have some concrete proposal to reduce overlapping? > Looking at TeeChart from Steema (an old version, Delphi 6 ;) ) I noticed two > things. > 1. Marks are drawn over the points (the serie) and not below. Currently, they are drawn below

Re: [Lazarus] TAChart marks on mouseoverpoint

2009-09-24 Thread Andrea Mauri
Currently, they are drawn below points with negative Y and above others. This is intended to reduce clutter, and is absolutely required for bar series -- but maybe it was not a good idea for line series, I am not sure. I was misunderstood. With below I intend that marks are drawn back the p

Re: [Lazarus] TAChart marks on mouseoverpoint

2009-09-24 Thread Andrea Mauri
I see. This is a borderline case, probably too exotic to be included in the general component. Still, if you have inclination to work on a patch, I would suggest to change TLineSeries.ShowLines property from boolean to enumeration (slNone, slFromPrevious, slFromOrigin). I created a patch (a

Re: [Lazarus] TAChart marks on mouseoverpoint

2009-09-24 Thread Alexander Klenin
2009/9/24 Andrea Mauri : >> Still, if you have inclination to work on a patch, I would suggest to change >> TLineSeries.ShowLines property from boolean to enumeration >> (slNone, slFromPrevious, slFromOrigin). > I created a patch (attached) introducing the property TLineType TLineType = > (ltFromPr

Re: [Lazarus] TAChart marks on mouseoverpoint

2009-09-24 Thread Alexander Klenin
2009/9/24 Andrea Mauri : > I was misunderstood. With below I intend that marks are drawn back the > points, and points over marks. > I try again to attach two images, one from TAChart and one from Steema > TChart. You can see that in TAChart points are visible and marks are drawn > back points whil

Re: [Lazarus] TAChart - OnDrawReticule event problem

2009-10-02 Thread Alexander Klenin
On Sat, Oct 3, 2009 at 08:05, Pierre wrote: > Hi all, > > I'm trying to use the TAChart under 0.9.28.1 (I downloaded > "Lazarus-0.9.28.1-21932-fpc-2.2.4-20091001-win32.exe"). > > I have a problem the OnDrawReticule event. It's never called :( Hm, it works for me. Please see components/tachart/ba

Re: [Lazarus] TAChart - OnDrawReticule event problem

2009-10-02 Thread Pierre
Hi Alexander, I made the test with the line. It works :-) Do you know why it's not implemented in area type? I was also thinking to create my own type based on the area type but without the vertical line from the point to YMin (to draw the polygon without the border) but without this event it's

Re: [Lazarus] TAChart - OnDrawReticule event problem

2009-10-03 Thread Alexander Klenin
On Sat, Oct 3, 2009 at 09:33, Pierre wrote: > I made the test with the line. It works :-) > Do you know why it's not implemented in area type? No particular reason -- just nobody requested it. Implemented in r22011-22012 > I was also thinking to create my own type based on the area type but with

[Lazarus] TAChart: reticule reimplemented, questions on deprecation

2011-08-13 Thread Alexander Klenin
Last year, there were several discussions both on this list and the forum about deficiences of reticule implementation. As of r31973, I have implemented a new TDataPointCrosshairTool, which: 1) Does not require extra properties neither in chart nor in series 2) Should work on Qt and MacOS 3) Allows

Re: [Lazarus] TAChart compilation error (issue 22365)

2012-07-06 Thread Mattias Gaertner
On Fri, 6 Jul 2012 14:35:52 +1100 Alexander Klenin wrote: > Issue http://bugs.freepascal.org/view.php?id=22365 was about the > compilation error > when the TAChart code is compiled by FPC trunk. > > I did not notice the issue in time, because bug tracker is unusably slow, > so I use Google Alert

Re: [Lazarus] TAChart compilation error (issue 22365)

2012-07-06 Thread Reinier Olislagers
On 6-7-2012 5:35, Alexander Klenin wrote: > So I have a few questions/suggestions: > 1) Can anybody (Mattias?) reproduce this? Yes, had the same problem, 32 bit and IIRC also 64 bit FPC on Win x64. As mentioned in the BT, John Repucci (IPGuy on the forum) had the same problem on x86, Windows; foru

Re: [Lazarus] TAChart compilation error (issue 22365)

2012-07-06 Thread Sven Barth
Am 06.07.2012 10:14 schrieb "Mattias Gaertner" : > > > 2) Why did this suddently happened? Why do not all other trunk users complain? > > I guess tachart uses a seldom combination of generics, > implementation uses and operators. > The lovely topic "generics" *sigh* > > 3) Can this be isolated to

[Lazarus] TAChart equal range in two charts

2012-11-04 Thread Leonardo M . Ramé
Hi, I need to set the same range in two contiguous charts. To let you easily understand what I need, I attached a screenshot of two charts. Aftert the first chart is created, the range is defined automatically by TAChart, then I need the 2nd chart use the same Y range (from 520 to 700). How can g

Re: [Lazarus] TAChart Date Axis Remove Weekends

2014-09-14 Thread Leonardo M. Ramé
On 14/09/14 06:57, Werner Pamler wrote: Don't use the real date as x value. Instead, use a counter value that is incremented every time you add a value to the series. Don't add data if the "DayOfWeek" of their date is 6 (Friday) or 7 (Saturday). In the data you posted in your previous message the

Re: [Lazarus] TAChart Date Axis Remove Weekends

2014-09-14 Thread Leonardo M. Ramé
On 14/09/14 08:35, "Leonardo M. Ramé" wrote: On 14/09/14 06:57, Werner Pamler wrote: Don't use the real date as x value. Instead, use a counter value that is incremented every time you add a value to the series. Don't add data if the "DayOfWeek" of their date is 6 (Friday) or 7 (Saturday). In th

[Lazarus] TAchart frame left and top values

2014-09-20 Thread Leonardo M. Ramé
I need to draw text just at the top left corner of a chart, is there a property to allow me to know the top, left (and of course right and bottom) points of the frame containing the chart?. I attached a screenshot showing what I'm looking for. -- Leonardo M. Ramé http://leonardorame.blogspot.c

[Lazarus] TAchart frame left and top values

2014-09-21 Thread Werner Pamler
Sorry - my answer is in the other thread... -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] TAChart new components -- where to put?

2009-05-21 Thread Alexander Klenin
I plan to introduce a new set of components to TAChart package. Those components will be vaguely similar to TDataSource, and will enable such features as design-time editing and display of chart series, random series, db-aware series etc. The question is, on which page should I put those? 1) 'Add

[Lazarus] TAChart: Please help reproduce axis drawing bug

2011-01-23 Thread Alexander Klenin
The user reports an axis drawing bug in TAChart: http://www.lazarus.freepascal.org/index.php/topic,11893.0.html However, I can not reproduce in neither on Win32 nor on Gtk2/Win. So can somebody with Gtk/Linux try to reproduce? -- Alexander S. Klenin -- _

[Lazarus] TAChart tutorials not visible on Category:Tutorials page

2012-09-03 Thread Alexander Klenin
As reported on forum: http://forum.lazarus.freepascal.org/index.php/topic,18068.0/topicseen.html tutorials do not appear on this page unless the user is logged in. Perhaps some caching issue? -- Alexander S. Klenin -- ___ Lazarus mailing list Lazarus@

Re: [Lazarus] TAChart equal range in two charts

2012-11-04 Thread Alexander Klenin
On Mon, Nov 5, 2012 at 4:55 AM, Leonardo M. Ramé wrote: > Hi, I need to set the same range in two contiguous charts. > > To let you easily understand what I need, I attached a screenshot of two > charts. Aftert the first chart is created, the range is defined > automatically by TAChart, then I nee

Re: [Lazarus] TAChart equal range in two charts

2012-11-04 Thread Leonardo M . Ramé
On 2012-11-05 10:35:25 +1100, Alexander Klenin wrote: > On Mon, Nov 5, 2012 at 4:55 AM, Leonardo M. Ramé wrote: > > Hi, I need to set the same range in two contiguous charts. > > > > To let you easily understand what I need, I attached a screenshot of two > > charts. Aftert the first chart is crea

[Lazarus] TAChart - Logarithmic Transform fails for X Axis

2013-12-07 Thread Peter Thurner
Hello *, This is the first time that I post something, so please be patient with me :-) I have been using Plotpanel now for a while to plot Bode diagrams within Lazarus GUIs. Now I would like to switch to TAChart which seems very powerfull too. I tried it out with linear graphs and it works

[Lazarus] TAchart multiple reticules and vertical series alignment

2010-05-28 Thread Rick
[oops, this went out from the wrong email address the first time I tried to send. Let me try this again, with the address I'm subscribed under] I'm using a snapshot version of Lazarus, so I have the latest updates to TAchart including tatools. I only mention it since it may affect the answers

Re: [Lazarus] TAChart new components -- where to put?

2009-05-21 Thread Paul Ishenin
Alexander Klenin wrote: The question is, on which page should I put those? 1) 'Additional', where TChart is 2) New 'Chart' page 3) Other ideas? New Chart page. And move TChart there too. Best regards, Paul Ishenin. ___ Lazarus mailing list Lazaru

Re: [Lazarus] TAChart: Please help reproduce axis drawing bug

2011-01-24 Thread abonnent
Alexander Klenin schrieb: The user reports an axis drawing bug in TAChart: http://www.lazarus.freepascal.org/index.php/topic,11893.0.html However, I can not reproduce in neither on Win32 nor on Gtk2/Win. So can somebody with Gtk/Linux try to reproduce? I compiled your attached project with

Re: [Lazarus] TAChart tutorials not visible on Category:Tutorials page

2012-09-04 Thread Vincent Snijders
2012/9/4 Alexander Klenin : > As reported on forum: > http://forum.lazarus.freepascal.org/index.php/topic,18068.0/topicseen.html > tutorials do not appear on this page unless the user is logged in. > > Perhaps some caching issue? Indeed, for users that are not logged in, a file cache is enabled as

Re: [Lazarus] TAChart tutorials not visible on Category:Tutorials page

2012-09-04 Thread Vincent Snijders
2012/9/4 Vincent Snijders : > 2012/9/4 Alexander Klenin : >> As reported on forum: >> http://forum.lazarus.freepascal.org/index.php/topic,18068.0/topicseen.html >> tutorials do not appear on this page unless the user is logged in. >> >> Perhaps some caching issue? > See also: http://www.mediawiki.

Re: [Lazarus] TAChart tutorials not visible on Category:Tutorials page

2012-09-04 Thread Reinier Olislagers
On 4-9-2012 9:27, Vincent Snijders wrote: > 2012/9/4 Vincent Snijders : >> 2012/9/4 Alexander Klenin : >>> As reported on forum: >>> http://forum.lazarus.freepascal.org/index.php/topic,18068.0/topicseen.html >>> tutorials do not appear on this page unless the user is logged in. >>> >>> Perhaps some

Re: [Lazarus] TAChart tutorials not visible on Category:Tutorials page

2012-09-04 Thread Vincent Snijders
2012/9/4 Alexander Klenin : > As reported on forum: > http://forum.lazarus.freepascal.org/index.php/topic,18068.0/topicseen.html > tutorials do not appear on this page unless the user is logged in. > > Perhaps some caching issue? I think I succesfully disabled caching for the category page. Please

Re: [Lazarus] TAChart - Logarithmic Transform fails for X Axis

2013-12-08 Thread Salvatore Coppola
Have you checked data (>0)? Salvatore 2013/12/7 Peter Thurner > Hello *, > > This is the first time that I post something, so please be patient with me > :-) > > I have been using Plotpanel now for a while to plot Bode diagrams within > Lazarus GUIs. > Now I would like to switch to TAChart whic

Re: [Lazarus] TAChart - Logarithmic Transform fails for X Axis

2013-12-09 Thread Peter Thurner
Hello Salvatore, Thanks for the reply. Yes, I used the same dataset and switched x and y. It worked when I did log transform with left-axis. the same dataset fails if I switch x and y and do transform on bottom axis. BR Peter Am 08.12.2013 18:44, schrieb Salvatore Coppola: Have you checked da

Re: [Lazarus] TAChart - Logarithmic Transform fails for X Axis

2013-12-13 Thread Peter Thurner
Hello again, I changed now from Lazarus 64 Bit to 32 Bit version and there it works as expected. BR Peter Am 13.12.2013 22:18, schrieb Peter Thurner: Hello *, here is an example which I use to try log transform for x-axis: Can anybody try out please the code below which plots a sin(x)/x cu

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-05-29 Thread Alexander Klenin
On Sat, May 29, 2010 at 17:00, Rick wrote: > There are several things I'd like to do with tachart that I have not yet > been able to figure out how to do. > > Easy one: how can I change the thickness and color of the reticule? Not so easy, unfortunately. Currently, you can hack in change of thick

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-05-29 Thread Rick
Alexander Klenin wrote: So let's take you as a representative sample ;-) Do you feel it is justified to remove these properties to get multiple reticules and TReticule.Pen property instead? As I was browsing through the code last night, I was actually surprised that the reticule pen property

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-05-29 Thread Rick
Alexander Klenin wrote: so I implemented it now -- see TConstantLineDragTool and toolsdemo at r25751 I just checked it out and played with the demo. WOW! I like :) The tools add-on was a brilliant idea, if these recent tools are any indication. I tried vertical and horizontal lines, whic

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-05-29 Thread Alexander Klenin
On Sun, May 30, 2010 at 14:02, Rick wrote: > I am concerned about one thing, though:  It looks like the tool will move > ANY TConstantLine series > on the chart.  I would suggest a property in the drag tool that is a list of > movable lines.  Perhaps > if empty, the default could be to move all T

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-05-29 Thread Alexander Klenin
On Sun, May 30, 2010 at 12:13, Rick wrote: > Alexander Klenin wrote: > As I was browsing through the code last night, I was actually surprised that > the reticule pen property > was not already made public in TAChart.  I'll have the check out the > LineDragTool--it sounds like it > will work bette

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-05-30 Thread Alexander Klenin
On Sun, May 30, 2010 at 15:15, Alexander Klenin wrote: > On Sun, May 30, 2010 at 14:02, Rick wrote: > >> I am concerned about one thing, though:  It looks like the tool will move >> ANY TConstantLine series >> on the chart.  I would suggest a property in the drag tool that is a list of >> movable

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-05-30 Thread Rick
Alexander Klenin wrote: Yes, I wanted to ask you the very same question ;-) The reason I did not implement it immediately is that I am not quite sure about the format of said property and how should it refer to the series. My current thinking is that it should be a simple comma-separated list of

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-05-31 Thread Alexander Klenin
On Sun, May 30, 2010 at 15:57, Rick wrote: > Alexander Klenin wrote: >> My current thinking is that it should be a simple comma-separated list >> of series indexes, but that seems somewhat un-Pascalish, >> so maybe you have a better idea? > > I'm too new to Pascal and Lazarus to be of much help he

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-06-01 Thread Rick
I was able to use axis transformations/linear offset to stack several series vertically as we discussed. I discovered an issue with area series and linear transformation, however. I expected area series to shade the area between the horizontal axis and graph. Instead, it appears to fill the ar

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-06-02 Thread Alexander Klenin
On Tue, Jun 1, 2010 at 22:53, Rick wrote: > I was able to use axis transformations/linear offset to stack several series > vertically as we discussed. > I discovered an issue with area series and linear transformation, however. > I expected area series to shade the area between the horizontal axis

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-06-04 Thread Rick
Alexander Klenin wrote: BTW, did you test events for TDataPointDragTool? I have implemented a different set of events than you suggested -- are they enough for your use case? The mailing list seems to be running really slow lately, almost as if it's only processing mail in nightly batches.

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-06-04 Thread Alexander Klenin
On Thu, Jun 3, 2010 at 18:02, Rick wrote: > The mailing list seems to be running really slow lately, almost as if > it's only processing mail in nightly batches. Are you sure it is not a problem on your side? I do not seem to notice a large delays for mails in other threads. > I really needed a

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-06-04 Thread Alexander Klenin
On Fri, Jun 4, 2010 at 21:26, Alexander Klenin wrote: > On Thu, Jun 3, 2010 at 18:02, Rick wrote: >> Another thing I noticed is that performance is pretty bad with 32 line >> series.  I'm not sure what the bottleneck is yet.  I'm guessing that it's >> floating-point math and thinking about trying

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-06-04 Thread Rick
Alexander Klenin wrote: Are you sure it is not a problem on your side? I do not seem to notice a large delays for mails in other threads. I just sifted through the mail headers of a message I received from the list. It looks like the message queues on the list server in Austria at the approp

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-06-04 Thread Alexander Klenin
On Sat, Jun 5, 2010 at 00:02, Rick wrote: >>> I'm having a little bit of trouble with my axis labels.  TAChart seems to >>> only want to display even numbers on the horizontal axis, for example. >>> Even when I use a custom source and set it to X values, it only shows >>> the even numbers.  What a

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-06-04 Thread Rick
Alexander Klenin wrote: With linedemo: 1) Add TListChartSource component 2) Edit its DataPoints property, enter 1,2,...,10 on a separate lines 3) Set Marks.Source for bottom axis to that source 4) Set Marks.Style to smsXValue Of course, you can use UserDefinedSource instead for better efficiency.

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-06-04 Thread waldo kitty
On 6/4/2010 06:26, Alexander Klenin wrote: On Thu, Jun 3, 2010 at 18:02, Rick wrote: The mailing list seems to be running really slow lately, almost as if it's only processing mail in nightly batches. Are you sure it is not a problem on your side? I do not seem to notice a large delays for m

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-06-04 Thread Rick
I had the problem for about the last three days, but it seems cleared up today. So we seem to have established that other people have been receiving mail fine, which rules out a problem with the list server itself. Meanwhile, my server is receiving mail from elsewhere but no connection attempt

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-06-05 Thread waldo kitty
On 6/4/2010 19:05, Rick wrote: Thanks for the feedback np :) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-06-05 Thread Alexander Klenin
2010/6/5 Rick : > Well of course I don't look at the entire graph at once.  I zoom in to maybe > 10 or 20 points at > a time and use a scroll bar the pan the chart.  It's a run of data that I > captured from a > logic analyzer.  So when I'm zoomed-in, there's an appreciable distance > between dat

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-06-05 Thread Rick
Alexander Klenin wrote: This is yet another long-standing todo item. That was actually on the list? And here I thought I was the only one using TAChart in such perverse ways... [I should publish my todo list somewhere... maybe as feature requests on issue tracker?] That's as good a plac

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-06-05 Thread Alexander Klenin
On Sun, Jun 6, 2010 at 09:46, Rick wrote: > Alexander Klenin wrote: >> >> This is yet another long-standing todo item. > That was actually on the list?  And here I thought I was the only one using > TAChart in such perverse ways... This is the last time it was brought up: http://article.gmane.org

[Lazarus] TAChart : not reading the OnMarkToText event handler from lfm ?

2013-03-27 Thread Lukasz Sokol
Hello TAChart devs, on Lazarus 0.9.30 r29749 FPC 2.4.2 i386-win32-win32/win64 it seems the TAChart.AxisList[1] (Bottom) is forgetting to read the OnMarkToText assignment from lfm (excerpt below) item Alignment = calBottom Marks.AtDataOnly = True Title

Re: [Lazarus] TAChart : not reading the OnMarkToText event handler from lfm ?

2013-03-27 Thread Alexander Klenin
On Wed, Mar 27, 2013 at 5:17 PM, Lukasz Sokol wrote: > on Lazarus 0.9.30 r29749 FPC 2.4.2 i386-win32-win32/win64 > > it seems the TAChart.AxisList[1] (Bottom) is forgetting > to read the OnMarkToText assignment from lfm (excerpt below) > Shall I bug or is it fixed in later release(s)? It should

[Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly

2011-04-18 Thread Miguel A. Risco
Hi All, I found a possible Bug in TAChart component. Lazarus v0.9.30.1 SVN:3056 on Windows 7 x64 Create a Project with a TChart and TButton controls, add a TLineseries and TUserDefinedChartSource with some points, select the last one as source for the serie. Define a Var array of real and assig

Re: [Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly

2011-04-18 Thread Alexander Klenin
2011/4/19 Miguel A. Risco : > Hi All, I found a possible Bug in TAChart component. Lazarus v0.9.30.1 >  SVN:3056 on Windows 7 x64 > > Create a Project with a TChart and TButton controls, add a TLineseries and > TUserDefinedChartSource with some points, select the last one as source for > the serie.

Re: [Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly

2011-04-18 Thread Miguel A. Risco
then exit;" in the TASeries.pas unit then the series is drawing properly. Best regards Miguel. -Mensaje original- De: Alexander Klenin [mailto:kle...@gmail.com] Enviado el: martes, 19 de abril de 2011 01:14 a.m. Para: Lazarus mailing list Asunto: Re: [Lazarus] TAChart possible Bug: S

Re: [Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly

2011-04-19 Thread Alexander Klenin
On Tue, Apr 19, 2011 at 17:46, Miguel A. Risco wrote: > Hi Alexander, your Project is ok, but if your put a tbutton and fill the > array on the Onclick event and not in the constructor of the form then the > series is not drawing after the zoom on the second point. If I comment the > line " if

<    1   2   3   >