[Lazarus] TAChart ?

2012-07-02 Thread Terry Haimann
Is it possible to do something like TeeChart's Bubble Chart? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] TAChart

2015-06-03 Thread Richard Mace
Hi. When drawing points on a line graph, is it possible, via code, to make the points round and without a black boarder? Could someone give me any code examples please? Thanks Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http:/

[Lazarus] TAChart

2015-06-04 Thread Richard Mace
Hi, Another quick question. How can you, via code, zoom out of a chart, effectively back to what it was by default? If that makes sense? Thanks Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/

[Lazarus] TAChart license

2009-06-30 Thread Bogusław Brandys
Hello, What kind is license of TAChart ? I'm asking because LGPL force using shared library which is still impossible with LCL to put it into dll/so. Also would be nice to integrate chart with lazreport as additional object. Do I properly assume that any Lazarus program using tachart package

[Lazarus] TAChart borderspacing

2009-09-22 Thread Andrea Mauri
dear all, I have a question about BorderSpacing in TAChart. At design time I can anchor the chart and set the Border (Around) using the anchors editor. I can see the effect on the form at design time but if I run the project the effect of the around border disappears (like if Around border is s

[Lazarus] TAChart documentation

2009-10-08 Thread Alexander Klenin
I want to start documenting TAChart components. How should I proceed? Where should I put it? In the light of recent help discussion, what tool/format should I use -- lazde, lhelp, that new tool Greame is writing? -- Alexander S. Klenin -- ___ Lazarus m

[Lazarus] TAChart question

2010-10-01 Thread José Mejuto
Hello Lazarus-List, I need to create a chart like: 5* 4 3 * 2 * 1 * ONE TWO THREE FOUR My source data is a database with 2 fields: X = string Y = integer How can I create this with TAChart ? It only allows me numerical values in both coordinates, or I was

[Lazarus] TAChart tutorial

2011-03-28 Thread ik
Hello, I'm looking for a tutorial for TAChart. I started looking at the examples, but there are many things that are made in the OI that I do not understand them, and I can not find any documentation on them, so a tutorial can really help. Thanks, Ido LINESIP - Opening the source for communica

Re: [Lazarus] TAChart ?

2012-07-02 Thread Alexander Klenin
On Tue, Jul 3, 2012 at 5:35 AM, Terry Haimann wrote: > Is it possible to do something like TeeChart's Bubble Chart? Yes, see http://wiki.lazarus.freepascal.org/TAChart_documentation#Bubble_series and "multi" demo. -- Alexander S. Klenin -- ___ Lazaru

Re: [Lazarus] TAChart

2013-01-28 Thread Mattias Gaertner
On Tue, 29 Jan 2013 07:34:22 +1100 Alexander Klenin wrote: > On Tue, Jan 29, 2013 at 7:11 AM, Mattias Gaertner > wrote: > > Hi Alexander, > If you do not mind, I would prefer public discussion of TAChart-related > topics. No problem. Maybe someone knows a nice graph visualization control. >

[Lazarus] TAChart legends

2011-08-20 Thread David M. Lawrence
Is there a way to have the legend aligned bottom center and BELOW the frame of the graph. The only alignment I could find was top or bottom right or left, with the legend parked on top of the data I'd like to show. The graph would benefit from the legend, but not if the only way to have the l

[Lazarus] TAChart OHLC

2014-09-13 Thread Leonardo M. Ramé
Hi, I'm trying to create a basic Open High Low Close chart using TAChart, but I'm getting a RunError(201) on "tacustomsource.pas" line 433, aparently YList is not initialized. Here's the lfm: object Form1: TForm1 Left = 364 Height = 354 Top = 255 Width = 582 Caption = 'Form1' Clien

[Lazarus] TAChart OHLC

2014-09-13 Thread Werner Pamler
You need to initialize the YCount of the chart source. Just call Chart1OpenHighLowCloseSeries1.ListSource.YCount := 4 before adding the data. (http://wiki.lazarus.freepascal.org/TAChart_documentation#Open-high-low-close_series) -- ___ Lazarus mailin

[Lazarus] TAChart DataPointCrossHairTool

2014-09-21 Thread Leonardo M. Ramé
Hi, I'm playing with the DataPointCrossHairTool, and I would like to know if it's possible to display the horizontal line on cursor's position, instead as the default data point value. If mean, for example, my points are: 1: 10 2: 20 3: 30 When the mouse cursor is between 20 and 10, say 13 fo

[Lazarus] TAChart DataPointCrossHairTool

2014-09-21 Thread Werner Pamler
Hi, I'm playing with the DataPointCrossHairTool, and I would like to know if it's possible to display the horizontal line on cursor's position, instead as the default data point value. Not 100% sure, but I believe that this tool always snaps to the data points. An alternative would be to add a c

[Lazarus] TAChart DataPointCrossHairTool

2014-09-21 Thread Werner Pamler
To convert image coordinates (pixels within the chart rectangle which you, indeed, can obtain from the global mouse position converted to the local chart pixels) to "graph" coordinates you call the chart methods * "XImageToGraph(x:Integer): Double" for x coordinates, * "YImageToGraph(y:Integer)

Re: [Lazarus] TAChart

2015-06-03 Thread Werner Pamler
I suppose you use a TLineSeries, but the same principle should work for TBSplineSeries and TCubicSplineSeries Chart1LineSeries1.Pointer.Style := psCircle; // round points Chart1LineSeries1.Pointer.Pen.Style := psClear;// no border -- ___ L

Re: [Lazarus] TAChart

2015-06-03 Thread Richard Mace
On 3 June 2015 at 17:49, Werner Pamler wrote: > I suppose you use a TLineSeries, but the same principle should work for > TBSplineSeries and TCubicSplineSeries > > ​​ > Chart1LineSeries1.Pointer.Style := psCircle; // round points > Chart1LineSeries1.Pointer.Pen.Style := psClear;// no

Re: [Lazarus] TAChart

2015-06-03 Thread Werner Pamler
Oh - the old "uses" issue... "psCircle" is declared in unit TATypes which is not added to "uses" automatically at runtime. At designtime, just use the ObjectInspector: The tree above the Object Inspector shows the chart and the series as a child of the chart. Click on the series to brings the

Re: [Lazarus] TAChart

2015-06-04 Thread Werner Pamler
And I forgot to mention that you can unzoom in the standard configuration by just clicking into the chart Am 04.06.2015 um 21:35 schrieb Richard Mace: Hi, Another quick question. How can you, via code, zoom out of a chart, effectively back to what it was by default? If that makes sense? Than

Re: [Lazarus] TAChart

2015-06-04 Thread Werner Pamler
The rectangle enclosing the shown data range is called the LogicalExtent of the Chart. Therefore, store the LogicalExtent before performing a zoom in a TDoubleRect (savedExtent := Chart.LogicalExtent), and to go back you just assign it the other way: Chart.LogicalExtent := savedExtent. (The un

Re: [Lazarus] TAChart

2015-06-05 Thread Salvatore Coppola
Maybe TChart.ZoomFull can help you 2015-06-04 21:35 GMT+02:00 Richard Mace : > Hi, > Another quick question. How can you, via code, zoom out of a chart, > effectively back to what it was by default? If that makes sense? > > Thanks > > Richard > > -- > ___

Re: [Lazarus] TAChart

2015-06-06 Thread Richard Mace
Thanks, that worked a treat. Richard On 5 June 2015 at 14:24, Salvatore Coppola wrote: > Maybe > > TChart.ZoomFull > > can help you > > 2015-06-04 21:35 GMT+02:00 Richard Mace : > >> Hi, >> Another quick question. How can you, via code, zoom out of a chart, >> effectively back to what it was by

[Lazarus] TAChart Localization

2015-12-12 Thread Péter Gábor
Hi! At r50753 "wp" created the support for localization of TAChart, but it is in 6 separate files. Most of these files contains only 1 (one) sentence (four is the most). I think there is no reason for this fragmentation, especially because these strings are used only in the GUI designer of Lazaru

Re: [Lazarus] Tachart-Lazarus

2009-06-11 Thread Alexander Klenin
On Thu, Jun 11, 2009 at 12:56, wrote: > Hello, > I am a new user component tachart. I would like first to thank you for this > very useful component! > I'm using tachart in a small windows program that draws on the same graph 2 > curves of different scales. > The most convinient in this case is to

Re: [Lazarus] TAChart license

2009-06-30 Thread Ron Grove
Read the header, it's licensed the same as other Lazarus libraries. Read the COPYING.modifiedlgpl.txt file. That should answer most of your questions. Regards, Ron On Jun 30, 2009, at 12:33 AM, Bogusław Brandys wrote: Hello, What kind is license of TAChart ? I'm asking because LGPL for

Re: [Lazarus] TAChart borderspacing

2009-09-22 Thread Alexander Klenin
On Tue, Sep 22, 2009 at 23:11, Andrea Mauri wrote: > dear all, > I have a question about BorderSpacing in TAChart. > At design time I can anchor the chart and set the Border (Around) using the > anchors editor. I can see the effect on the form at design time but if I run > the project the effect o

Re: [Lazarus] TAChart borderspacing

2009-09-23 Thread Andrea Mauri
wow. fast! Alexander Klenin ha scritto: On Tue, Sep 22, 2009 at 23:11, Andrea Mauri wrote: dear all, I have a question about BorderSpacing in TAChart. At design time I can anchor the chart and set the Border (Around) using the anchors editor. I can see the effect on the form at design time

Re: [Lazarus] TAChart documentation

2009-10-08 Thread Vincent Snijders
Alexander Klenin schreef: I want to start documenting TAChart components. How should I proceed? Where should I put it? In the light of recent help discussion, what tool/format should I use -- lazde, lhelp, that new tool Greame is writing? You should use fpdoc format. You can edit that lazde or

Re: [Lazarus] TAChart documentation

2009-10-08 Thread Alexander Klenin
On Fri, Oct 9, 2009 at 03:47, Vincent Snijders wrote: > Alexander Klenin schreef: >> >> I want to start documenting TAChart components. >> How should I proceed? Where should I put it? >> In the light of recent help discussion, what tool/format should I use -- >> lazde, lhelp, that new tool Greame

Re: [Lazarus] TAChart documentation

2009-10-08 Thread Vincent Snijders
Alexander Klenin schreef: On Fri, Oct 9, 2009 at 03:47, Vincent Snijders wrote: Alexander Klenin schreef: I want to start documenting TAChart components. How should I proceed? Where should I put it? In the light of recent help discussion, what tool/format should I use -- lazde, lhelp, that new

Re: [Lazarus] TAChart documentation

2009-10-08 Thread Vincent Snijders
Vincent Snijders schreef: In a subdirectory under lazarus/components/tachart, for example doc or fpdoc. I don't know if we already have fpdoc xml files for packages in or tree. Don't forget to enter the directory in Package Editor -> Options -> IDE integration -> FPDoc files path. rtticon

Re: [Lazarus] TAChart documentation

2009-10-08 Thread Mattias Gaertner
On Thu, 08 Oct 2009 19:27:01 +0200 Vincent Snijders wrote: > Alexander Klenin schreef: > > On Fri, Oct 9, 2009 at 03:47, Vincent Snijders > > wrote: > >> Alexander Klenin schreef: > >>> I want to start documenting TAChart components. > >>> How should I proceed? Where should I put it? > >>> In th

Re: [Lazarus] TAChart documentation

2009-10-08 Thread Graeme Geldenhuys
2009/10/8 Vincent Snijders : > > You should use fpdoc format. You can edit that lazde or with the internal > fpdoc editor (or any xml or text editor). Vincent is correct. For any class documentation, fpdoc is the preferred format (in FPC circles). The internal FPDoc editor inside Lazarus IDE is a

[Lazarus] tachart add point

2009-12-23 Thread Andrea Mauri
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? Taken from source: // We keep data points ordered by X coordinate. // Note that this leads to O(N^2) time except // for the case of adding

[Lazarus] tachart on mousemove

2010-04-23 Thread Andrea Mauri
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 regards, andrea -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freep

[Lazarus] TAChart OnDrawReticule Event

2010-05-19 Thread 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: procedure TReticuleTool.MouseMove(APoint: TPoint); . . . for i := 0 to FChart.SeriesCount - 1 do if FChart.Series[i].GetNeares

Re: [Lazarus] TAChart question

2010-10-01 Thread Alexander Klenin
On Sat, Oct 2, 2010 at 10:33, José Mejuto wrote: > Hello Lazarus-List, > > I need to create a chart like: > > > 5            * > 4 > 3                 * > 2       * > 1  * >  ONE  TWO THREE FOUR > > My source data is a database with 2 fields: > > X = string > Y = integer > > How can I create this

Re: [Lazarus] TAChart question

2010-10-02 Thread José Mejuto
Hello Lazarus-List, Saturday, October 2, 2010, 5:34:56 AM, you wrote: >> How can I create this with TAChart ? It only allows me numerical >> values in both coordinates, or I was unable to find how to indicate >> that X axis is "autoincrement". AK> You should set BottomAxis.Marks.Source property t

Re: [Lazarus] TAChart question

2010-10-03 Thread José Mejuto
Hello Alexander, Sunday, October 3, 2010, 6:07:54 AM, you wrote: >>  DataPoints.Strings = ( >>    'January|18000|?|January' >>    'June|22000|?|June' AK> As a separate note, I'd like to point out that using DataPoints property AK> in not an efficient way to fill the ListChartSource at run-time. A

Re: [Lazarus] TAChart tutorial

2011-03-28 Thread Alexander Klenin
2011/3/28 ik : > I'm looking for a tutorial for TAChart. I started looking at the examples, > but there are many things that are made in the OI that I do not understand > them, and I can not find any documentation on them, so a tutorial can really > help. Unfortunately, there is no tutorial curren

Re: [Lazarus] TAChart tutorial

2011-03-28 Thread michael . vancanneyt
On Mon, 28 Mar 2011, Alexander Klenin wrote: 2011/3/28 ik : I'm looking for a tutorial for TAChart. I started looking at the examples, but there are many things that are made in the OI that I do not understand them, and I can not find any documentation on them, so a tutorial can really help.

Re: [Lazarus] TAChart tutorial

2011-03-28 Thread Alexander Klenin
On Mon, Mar 28, 2011 at 22:33, wrote: >> [Rant: It is currently stalled since fpdoc is broken, and FPC team >> rejected my patch to fix it] > > Well, fpdoc is not broken. It simply doesn't support generics. It would be > broken if it claimed to support generics and did not. Sorry, Michael, but t

Re: [Lazarus] TAChart tutorial

2011-03-28 Thread Alexander Klenin
On Mon, Mar 28, 2011 at 23:05, Alexander Klenin wrote: > On Mon, Mar 28, 2011 at 22:33,   wrote: >>> [Rant: It is currently stalled since fpdoc is broken, and FPC team >>> rejected my patch to fix it] >> >> Well, fpdoc is not broken. It simply doesn't support generics. It would be >> broken if it

Re: [Lazarus] TAChart tutorial

2011-03-28 Thread michael . vancanneyt
On Mon, 28 Mar 2011, Alexander Klenin wrote: On Mon, Mar 28, 2011 at 23:05, Alexander Klenin wrote: On Mon, Mar 28, 2011 at 22:33,   wrote: [Rant: It is currently stalled since fpdoc is broken, and FPC team rejected my patch to fix it] Well, fpdoc is not broken. It simply doesn't support

Re: [Lazarus] TAChart legends

2011-08-20 Thread Alexander Klenin
On Sun, Aug 21, 2011 at 16:18, David M. Lawrence wrote: > Is there a way to have the legend aligned bottom center and BELOW the frame > of the graph.  The only alignment I could find was top or bottom right or > left, with the legend parked on top of the data I'd like to show.  The graph > would b

Re: [Lazarus] TAChart legends

2011-08-20 Thread David M. Lawrence
On 8/21/2011 1:36 AM, Alexander Klenin wrote: On Sun, Aug 21, 2011 at 16:18, David M. Lawrence wrote: Is there a way to have the legend aligned bottom center and BELOW the frame of the graph. The only alignment I could find was top or bottom right or left, with the legend parked on top of the

Re: [Lazarus] TAChart legends

2011-08-20 Thread Alexander Klenin
On Sun, Aug 21, 2011 at 16:58, David M. Lawrence wrote: >> Set Alignment=laBottomCenter and UseSidebar=true >> > What version of TAchart is the laBottomCenter option in? Svn trunk. -- Alexander S. Klenin -- ___ Lazarus mailing list Lazarus@lists.laza

Re: [Lazarus] TAChart legends

2011-08-21 Thread David M. Lawrence
On 8/21/2011 2:02 AM, Alexander Klenin wrote: On Sun, Aug 21, 2011 at 16:58, David M. Lawrence wrote: Set Alignment=laBottomCenter and UseSidebar=true What version of TAchart is the laBottomCenter option in? Svn trunk. I have downloaded the latest version of the TAChart files, but I get th

Re: [Lazarus] TAChart legends

2011-08-21 Thread Alexander Klenin
On Mon, Aug 22, 2011 at 04:37, David M. Lawrence wrote: >> Svn trunk. >> > I have downloaded the latest version of the TAChart files, but I get the > following error when I try to compile it in Lazarus: > > "C:\lazarus\components\tachart\tagraph.pas(532,5) Error: Wrong number of > parameters speci

[Lazarus] TAChart stopped working

2014-03-02 Thread Marc Santhoff
Hi, while running a program using TAChart with a newer version of Lazarus (1.0.10 or 1.0.14) and fpc 2.6.2 an exception "ERangeError" is thrown. The program dates before Lazarus 1.0.10 and worked flawlessly then. The error occurs in line 1103 of TACustomSeries: procedure TBasicPointSeries.Prepa

[Lazarus] tachart legend colorbar

2014-03-31 Thread Andrea Mauri
Dear all, I would like to know if it is possible to add to a TAChart a legend as a colorbar (see http://www.google.it/imgres?imgurl=http%3A%2F%2Fi45.tinypic.com%2F2qsqvrk.png&imgrefurl=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F2925806%2Ffixing-color-in-scatter-plots-in-matplotlib&h=407&w=978

Re: [Lazarus] TAChart OHLC

2014-09-13 Thread Leonardo M. Ramé
On 13/09/14 20:28, Werner Pamler wrote: You need to initialize the YCount of the chart source. Just call Chart1OpenHighLowCloseSeries1.ListSource.YCount := 4 before adding the data. (http://wiki.lazarus.freepascal.org/TAChart_documentation#Open-high-low-close_series) -- ___

[Lazarus] TAChart CandleStick Chart

2014-09-14 Thread Leonardo M. Ramé
Hi, I inherited TOpenHighLowCloseSeries to implement CandleStick Charts: http://en.wikipedia.org/wiki/Candlestick_chart I only implemented the Draw method, but it would be nice to have this properties in the final version also: CandleColor: fill color of default or UP candle. DownCandleColor:

[Lazarus] TAChart CandleStick Chart

2014-09-14 Thread Werner Pamler
I'm not familiar with the multivalued series. But you chandlestick series looks much like the Box/Whisker series which is included in TAChart. Can you point out the difference? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://li

[Lazarus] TAChart CandleStick Chart

2014-09-15 Thread Werner Pamler
The "TopMark" and "BottomMark", as you call it, can be removed by setting WhiskerWidth to 0, and the "MiddleMark" disappears with MedianPen.Style set to psClear. The "Up" and "Down" colors can be set by some logics when adding data points (there's the color parameter in the Add method...).

[Lazarus] TAChart CandleStick Chart

2014-09-16 Thread Werner Pamler
In r46244 the TOpenHighLowCloseSeries has a new property "Mode": selection "mOHLC" does the standard painting as before while "mChandleStick" paints the candlesticks that you requested. Since your code was mostly a copy of existing code I decided to stick to the old series type, but just add th

Re: [Lazarus] TAChart DataPointCrossHairTool

2014-09-21 Thread Leonardo M. Ramé
On 21/09/14 11:56, Werner Pamler wrote: Hi, I'm playing with the DataPointCrossHairTool, and I would like to know if it's possible to display the horizontal line on cursor's position, instead as the default data point value. Not 100% sure, but I believe that this tool always snaps to the data p

Re: [Lazarus] TAChart DataPointCrossHairTool

2014-09-21 Thread Leonardo M. Ramé
On 21/09/14 16:54, Werner Pamler wrote: To convert image coordinates (pixels within the chart rectangle which you, indeed, can obtain from the global mouse position converted to the local chart pixels) to "graph" coordinates you call the chart methods * "XImageToGraph(x:Integer): Double" for x c

[Lazarus] TAChart CandleStick Chart

2014-10-06 Thread Werner Pamler
>> How can I make color of the tails like body? I uploaded a small modification today which takes care of your request: the color of the body border and the tails of the CandleStick series is determined by the property CandleStickLinePen. If you set this color to clDefault these lines will be p

[Lazarus] TAChart CandleStick Chart

2014-10-07 Thread Werner Pamler
>> (please see attached image) Sorry I can't find an attachment here... What did you do? Replace the tamultiseries.pas in a TAChart of Lazarus 1.2.4? I'm not sure if this is gonna work because there have been several changes since 1.2.4. Switch to trunk, and you won't see an error. -- __

[Lazarus] TAChart cannot zoom

2014-10-21 Thread Leonardo M. Ramé
Hi, I don't know what I did, but I no longer can zoom in / zoom out (by dragging the mouse pointer) my chart. If I draw 1000 data points, they all are drawn into the chart, but I only want to display part of that data, for example 100 points. Here's the definition of my TAChart object (extract

[Lazarus] TAChart cannot zoom

2014-10-21 Thread Werner Pamler
You have added a ChartToolset and have assigned it to the chart. This deactivates the built-in toolset which is responsible for default zooming and panning. All you have to do is to add another ZoomDragTool to your toolset. To make it respond to dragging with the left mouse button set its Shift

Re: [Lazarus] TAChart Localization

2015-12-12 Thread Werner Pamler
This is work in progress and will probably change. I just wanted to store a working stage before I'd dive into a more difficult part - maybe somebody can help me with that: TAChart registers the names of series types in an internal stringlist. These texts are used in the dropdown for series sel

Re: [Lazarus] TAChart Localization

2015-12-12 Thread Maxim Ganetsky
12.12.2015 19:44, Werner Pamler пишет: This is work in progress and will probably change. I just wanted to store a working stage before I'd dive into a more difficult part - maybe somebody can help me with that: TAChart registers the names of series types in an internal stringlist. These texts ar

Re: [Lazarus] TAChart Localization

2015-12-12 Thread Werner Pamler
Am 12.12.2015 um 22:23 schrieb Maxim Ganetsky: The basic method to solve this is to move these assignments (or assign these values for a second time) to a later stage, e.g. OnCreate event of the GUI designer form. I could solve it in the meantime by modifying the Register procedures used th

Re: [Lazarus] TAChart Localization

2015-12-13 Thread Alexander Klenin
On Sun, Dec 13, 2015 at 7:54 AM, Werner Pamler wrote: > Am 12.12.2015 um 22:23 schrieb Maxim Ganetsky: >> >> The basic method to solve this is to move these assignments (or assign >> these values for a second time) to a later stage, e.g. OnCreate event of the >> GUI designer form. > > I could solv

Re: [Lazarus] TAChart Localization

2015-12-13 Thread Maxim Ganetsky
13.12.2015 0:54, Werner Pamler пишет: Am 12.12.2015 um 22:23 schrieb Maxim Ganetsky: The basic method to solve this is to move these assignments (or assign these values for a second time) to a later stage, e.g. OnCreate event of the GUI designer form. I could solve it in the meantime by modifyi

Re: [Lazarus] TAChart Localization

2015-12-13 Thread Werner Pamler
Am 13.12.2015 um 13:26 schrieb Maxim Ganetsky: It does not look nice. You are hacking around const specifier. Isn't this what the translation system is doing, replace a "constant" string by a translated one? -- ___ Lazarus mailing list Lazarus@lists

Re: [Lazarus] TAChart Localization

2015-12-13 Thread Maxim Ganetsky
13.12.2015 18:49, Werner Pamler пишет: Am 13.12.2015 um 13:26 schrieb Maxim Ganetsky: It does not look nice. You are hacking around const specifier. Isn't this what the translation system is doing, replace a "constant" string by a translated one? As I wrote earlier, we translate captions by a

Re: [Lazarus] TAChart Localization

2015-12-16 Thread Werner Pamler
Am 13.12.2015 um 13:26 schrieb Maxim Ganetsky: It does not look nice. You are hacking around const specifier. Hacking? At least in good company: excerpt from SysUtils: constructor Exception.CreateRes(ResString: PString); begin inherited create; fmessage:=ResString^; end;

Re: [Lazarus] TAChart Localization

2015-12-16 Thread Maxim Ganetsky
16.12.2015 16:30, Werner Pamler пишет: > Am 13.12.2015 um 13:26 schrieb Maxim Ganetsky: >> It does not look nice. You are hacking around const specifier. > Hacking? At least in good company: > > excerpt from SysUtils: > constructor Exception.CreateRes(ResString: PString); > begin >

Re: [Lazarus] TAChart Localization

2015-12-16 Thread Werner Pamler
Am 16.12.2015 um 15:16 schrieb Maxim Ganetsky: There is no const modifier in this excerpt. Oh, I see your point now. Fortunately, the "const" is really not necessary here. Without the "const", would this idea of accessing the translated string be ok? I do not want to translate the string ag

Re: [Lazarus] TAChart Localization

2015-12-16 Thread Maxim Ganetsky
16.12.2015 17:34, Werner Pamler пишет: > Am 16.12.2015 um 15:16 schrieb Maxim Ganetsky: >> There is no const modifier in this excerpt. > > Oh, I see your point now. Fortunately, the "const" is really not > necessary here. Without the "const", would this idea of accessing the > translated string

Re: [Lazarus] TAChart Localization

2015-12-16 Thread Maxim Ganetsky
16.12.2015 17:34, Werner Pamler пишет: Another question related: Is it possible to find the address of a resource string in the internal resource string table by using its hash value? This would allow me to go back to the old calling convention which had a "string" in the Register procedure (

Re: [Lazarus] TAChart Localization

2015-12-16 Thread Werner Pamler
Am 17.12.2015 um 01:01 schrieb Maxim Ganetsky: 16.12.2015 17:34, Werner Pamler пишет: Another question related: Is it possible to find the address of a resource string in the internal resource string table by using its hash value? This would allow me to go back to the old calling convention whic

Re: [Lazarus] TAChart Localization

2015-12-17 Thread Maxim Ganetsky
17.12.2015 04:19, Werner Pamler пишет: > Am 17.12.2015 um 01:01 schrieb Maxim Ganetsky: >> 16.12.2015 17:34, Werner Pamler пишет: >>> Another question related: Is it possible to find the address of a >>> resource string in the internal resource string table by using its hash >>> value? This would

Re: [Lazarus] TAChart Localization

2015-12-17 Thread Werner Pamler
Am 17.12.2015 um 12:09 schrieb Maxim Ganetsky: 17.12.2015 04:19, Werner Pamler пишет: Am 17.12.2015 um 01:01 schrieb Maxim Ganetsky: 16.12.2015 17:34, Werner Pamler пишет: Another question related: Is it possible to find the address of a resource string in the internal resource string table

[Lazarus] TAChart marks on mouseoverpoint

2009-09-21 Thread Andrea Mauri
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 hint any time the mouse pass over a point. Is it possible to

[Lazarus] TAChart - OnDrawReticule event problem

2009-10-02 Thread Pierre
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 :( I take a look at the source and I find that in the "UpdateReticule" procedure (line 914 of TAGraph) the func

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

[Lazarus] TAChart area series improvements

2010-08-07 Thread Alexander Klenin
On Thu, Jun 3, 2010 at 04:45, Alexander Klenin wrote: > 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 expec

[Lazarus] TAChart: Call for testing

2010-12-25 Thread Alexander Klenin
TAChart component has undergone substantial changes in Lazarus 0.9.30: http://wiki.freepascal.org/Lazarus_0.9.30_release_notes#TAChart I would like to ask TAChart users, especially those who requested features, to test that their features still work in release version ;-) There are currently two

[Lazarus] TAChart and legend items

2012-09-17 Thread ik
Hello, How can I make sure that the Legend of TAChart breaks each item to it's own line ? At the moment it seems like it just try to align everything into one line Thanks, Ido -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lis

[Lazarus] TAChart transparency implementation questions

2012-09-17 Thread Alexander Klenin
This is a re-post of http://forum.lazarus.freepascal.org/index.php/topic,18051.0.html where I report on newly added transparency support in TAChart and ask some questions. I suspect that most of people who could answer do not read the forum, so questions are copied below. Apologies to those who al

[Lazarus] tachart breaks trunk compilation

2012-10-07 Thread Marco van de Voort
tachartaxis.pas(337,46) Error: identifier idents no member "GetAlignment" Lazarus trunk, fpc trunk. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] TAChart with AggPas drawer

2013-05-12 Thread Graeme Geldenhuys
Hi, http://wiki.lazarus.freepascal.org/TAChart_documentation#AggPas_drawer Based on the above URL, it states that "there are some limitations in TAChart support". Unfortunately there is no content or links listing those limitations. Anybody no where I could find this information? Regards, -

[Lazarus] TAChart 2nd Y Axis

2011-07-27 Thread David M. Lawrence
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 page. I do know that I cannot find some of the changes mentioned in t

Re: [Lazarus] TAChart stopped working

2014-03-07 Thread Marc Santhoff
Replying to myself: On Mo, 2014-03-03 at 02:41 +0100, Marc Santhoff wrote: > Hi, > > while running a program using TAChart with a newer version of Lazarus > (1.0.10 or 1.0.14) and fpc 2.6.2 an exception "ERangeError" is thrown. > The program dates before Lazarus 1.0.10 and worked flawlessly then.

[Lazarus] TAChart with transparent background

2014-09-02 Thread Roberto P.
Dear List, is it possible to have a chart with transparent background, so that a picture behind the plot is visible? >From the wiki I understand that TAChart does not support BackImage property as in Delphi, which would fit the purpouse. However I read thay using BGRAbitmap as a back-end it is po

[Lazarus] TAChart with transparent background

2014-09-02 Thread 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 underneath the chart? I fear this is not easily possible. Or do you want to have a background image in the chart? For the latter case this code is working fine with me: type TForm1

Re: [Lazarus] TAChart CandleStick Chart

2014-09-15 Thread Leonardo M. Ramé
El 14/09/14 a las 11:46, Werner Pamler escibió: I'm not familiar with the multivalued series. But you chandlestick series looks much like the Box/Whisker series which is included in TAChart. Can you point out the difference? -- Mm, they look similar, but Box/Whisker, has a top and bottom horiz

  1   2   3   >