Re: [Lazarus] New app written in Lazarus
On 10/04/2014 10:36 AM, Richard Mace wrote: announce a new NON open source application written in Lazarus? New York Times.- -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] TAChart CandleStick Chart
Thank you for adding CandleStick Chart! I have 2 questions: In OHLC tails are in the same color like body but in CandleStick is not. When I change background to black tails hides. How can I make color of the tails like body? Maybe in CandlestickLinePen add option to copy color from body? When I add big portion of data for example 2 years all period are in screen and CandleStick are too small. How can I add HorzScrollBar or something like this and keep the scale of CandleStick? I can zoom it but I want to scroll back to earlier time period. Kamen Оригинално писмо От: Werner Pamler Относно: [Lazarus] TAChart CandleStick Chart До: lazarus@lists.lazarus.freepascal.org Изпратено на: Вторник, 2014, Септември 16 22:09:11 EEST 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 the painting modes. There are also properties CandleStickUpBrush, CandleStickDownBrush and CandleStickLinePen to control painting of the up and down bars and the border and shadow line. I also added a little demo financial to the demo folder of the TAChart installation which demonstrates both modes. It would be nice if you could have a look if everything is fine - I'm not an expert in financial charts. I also fixed the bug which ignored the true minimum of the data - therefore, it is no longer necessary to calculate the minimum by yourself, just have a look at the code in the demo project. And, finally, I modified the AddXOHLC method such that it automatically initializes the size of the YCount of the chart source if the current size would not be enough. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Copy only visible lines from the editor
I don't know if this feature exists on Lazarus, but is possible to copy to clipboard only visible lines? See the attached picture to see a example... -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] TAChart CandleStick Chart
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 painted in the color of the body. Please see the updated financial demo. How can I add HorzScrollBar or something like this and keep the scale of CandleStick? In TAChart you can zoom by left-dragging a rectangle across the chart. And you can pan the zoomed window by dragging with the right-mouse button down. Or you can implement more sophisticated features by using the chart tools. In addition, there is a TChartNavScrollbar which you can use to scroll the zoomed window across the chart range. You just have to link its Chart property to the chart which you want to control. The Min and Max of the scrollbar map to the data range used in the chart. To get day-by-day scrolling set the scrollbar's Min and Max to the corresponding values of the horizontal axis (Chart1.GetFullExtent.a.x and b.x) at run-time. Moreover, there is also a TChartNavPanel which displays the full range of the data and encloses the zoomed range by a rectangle. You can drag this rectangle over the chart, and the zoom window will follow automatically. Having MiniMap true displays a miniature chart for rough orientation. Again, you have to couple it to the chart of interest by means of the Chart property. In my feeling, however, there are still some weaknesses of this component, maybe I can look after them in the next days. BTW: Do you know the TAChart documentation http://wiki.lazarus.freepascal.org/TAChart_documentation? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] New app written in Lazarus
On 4 October 2014 10:33, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sat, 4 Oct 2014 09:36:58 +0100 Richard Mace richard.m...@gmail.com wrote: Hi all, Is this list an appropriate place to announce a new NON open source application written in Lazarus? If the announcement contains some hints/advice for Lazarus programmers it is ok with me. For example what tools/components did you use. Or maybe you helped fixing some bugs/implementing some features of FPC/Lazarus. I have come cross one bug, but I haven't managed to find someone who is able to fix it yet. I think I might have to add a bounty to it. Or should it just be put on the wiki? Adding it to the wiki is important for advertising Lazarus. So, yes, please add it to the wiki. Will do. I have tried, but I only seem to be able to add what's there. I'll have another go. Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Copy only visible lines from the editor
On 06/10/2014 19:00, Fabio Luis Girardi wrote: I don't know if this feature exists on Lazarus, but is possible to copy to clipboard only visible lines? See the attached picture to see a example... No, it doesn't exist. Not planned either. But what might work instead, and without the need to fold: Write a macro (pascal script http://wiki.lazarus.freepascal.org/Editor_Macros_PascalScript ), that appends the selection to the clipboard clipboard.astext := clipboard.astext + Sender.SelText; Then copy, the first line, select the next, append, -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus