Re: [Lazarus] TAChart CandleStick Chart

2014-10-07 Thread Kamen Ketev
 
Thank you very much!
 
Regards,
Kamen
 




 Оригинално писмо 
От:  Werner Pamler  
Относно: [Lazarus] TAChart CandleStick Chart
До: lazarus@lists.lazarus.freepascal.org
Изпратено на: Понеделник, 2014, Октомври 6 21:45:30 EEST


  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 


 --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New app written in Lazarus

2014-10-07 Thread Reinier Olislagers
On 06/10/2014 21:09, Richard Mace wrote:
 On 4 October 2014 10:33, Mattias Gaertner nc-gaert...@netcologne.de
 mailto:nc-gaert...@netcologne.dewrote:
 ​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.
Do you have a bugtracker number for that bug? Would be helpful if people
on this list want to take a look...


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TAChart CandleStick Chart

2014-10-07 Thread Kamen Ketev
 
When I am loading new
financialdemo there is an error (please see attached image). I was updated only 
tamultiseries.pas from 
http://svn.freepascal.org/svn/lazarus/trunk/components/tachart/. Which other 
files I must update?
 
Regards,
Kamen
 




 Оригинално писмо 
От:  Werner Pamler  
Относно: [Lazarus] TAChart CandleStick Chart
До: lazarus@lists.lazarus.freepascal.org
Изпратено на: Понеделник, 2014, Октомври 6 21:45:30 EEST


  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 


 attachment: Error.jpg
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New app written in Lazarus

2014-10-07 Thread Richard Mace

  ​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.
 Do you have a bugtracker number for that bug? Would be helpful if people
 on this list want to take a look...


​I do, it's 0025397 http://mantis.freepascal.org/view.php?id=25397
​
​Richard​





 --
 ___
 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] 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 mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-10-07 Thread Giuliano Colla


Il 01/10/2014 21:09, Bart ha scritto:

On 9/24/14, Bart bartjun...@gmail.com wrote:


I'ḿ now planning on
- extent the PoCheckerSettings
- implement some mechanism (listbox probably) to access recently
opened master/child po-files
- implement searching an entire directory for all po's (listing them
in one of the lisboxes)

Finally done in r46394.

There will be bugs, so please hunt them.


After a week spent on hunting :-) , only a few cosmetic issues to report:

small buttons such as select basic, select all, unselect all, clear, 
unselect, etc. should have AutoSize set to fit translations.
At first I wanted also suggest to put in size constraints on the main 
form, but I see you've already done it in the meantime.


Giuliano

--
Giuliano Colla

Project planning question: when it's 90% done, are we halfway or not yet?


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-10-07 Thread Bart
On 10/7/14, Giuliano Colla giuliano.co...@fastwebnet.it wrote:

 After a week spent on hunting :-) , only a few cosmetic issues to report:

 small buttons such as select basic, select all, unselect all, clear,
 unselect, etc. should have AutoSize set to fit translations.

The downside being that the buttons will all get different sizes (I guess).
Although that is still better than captions running out of space, any
thoughts on how to prevet that from happening?

Also, what language holds the longest captions (in general), so that
it would be best suited for me testing all of this?


 At first I wanted also suggest to put in size constraints on the main
 form, but I see you've already done it in the meantime.

Swen's idea.

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-10-07 Thread Giuliano Colla


Il 07/10/2014 23:54, Bart ha scritto:

On 10/7/14, Giuliano Colla giuliano.co...@fastwebnet.it wrote:


After a week spent on hunting :-) , only a few cosmetic issues to report:

small buttons such as select basic, select all, unselect all, clear,
unselect, etc. should have AutoSize set to fit translations.

The downside being that the buttons will all get different sizes (I guess).
Although that is still better than captions running out of space, any
thoughts on how to prevet that from happening?


It's difficult to have it both ways. But you may set in the size 
constraints for those buttons a MinWidth value reasonably large, so that 
while the text fits in the minimum value, they're all the same, and when 
some text is longer they're not too much different.




Also, what language holds the longest captions (in general), so that
it would be best suited for me testing all of this?



I verified it with Italian
 http://www.bononiadocta.it/Lazarus/Pochecker-it.png
(please find here attached the latest version if Italian translation, 
which escaped the big update)


then I checked with Russian
 http://www.bononiadocta.it/Lazarus/Pochecker-ru.png
because 1) I know that it's rather longish, 2) I know that russian 
translations are always kept up to date by Maxim.
Also German is usually quite long, but in this case only Select basic 
doesn't fit in the button.


But in general it's very difficult to predict: Russian is normally quite 
long, English Hi or Hello translates to something like 
 but the word for //All// is ???, which is as short as 
English. In a short caption you can have surprises.
Usually, from my experience, if Italian, German and Russian do fit, you 
shouldn't have too many surprises with other languages. But my 
experience comes only from what I've done in the past, so take it with 
caution.


Giuliano


--
Giuliano Colla

Project planning question: when it's 90% done, are we halfway or not yet?

# Giuliano Colla giuliano.co...@fastwebnet.it, 2014.
msgid 
msgstr 
Project-Id-Version: \n
POT-Creation-Date: \n
PO-Revision-Date: 2014-10-07 23:00+0200\n
Last-Translator: Giuliano Colla giuliano.co...@fastwebnet.it\n
Language-Team: Lazarus\n
Language: it\n
MIME-Version: 1.0\n
Content-Type: text/plain; charset=UTF-8\n
Content-Transfer-Encoding: 8bit\n
Plural-Forms: nplurals=2; plural=(n != 1);\n
X-Generator: Virtaal 0.6.1\n

#: pocheckerconsts.rspochecker
msgid PO File Checker
msgstr Verificatore di files PO

#: pocheckerconsts.salllanguages
msgid All Languages
msgstr Tutte le lingue

#: pocheckerconsts.scannotfindmaster
msgid 
Cannot find master po file:\n
%s\n
for selected file\n
%s\n
msgstr 
Non trovato il file master po:\n
%s\n
per il file scelto\n
%s\n

#: pocheckerconsts.scheckforduplicateuntranslatedvalues
msgid Check for duplicate untranslated values
msgstr Verifica valori duplicati non tradotti

#: pocheckerconsts.scheckforincompatibleformatarguments
msgid Check for incompatible format arguments
msgstr Verifica argomenti con format incompatibile

#: pocheckerconsts.scheckformismatchesinuntranslatedstrings
msgid Check for mismatches in untranslated strings
msgstr Verifica mancate corrispondenze in stringhe non tradotte

#: pocheckerconsts.scheckmissingidentifiers
msgid Check missing identifiers
msgstr Verifica identificatori mancanti

#: pocheckerconsts.schecknumberofitems
msgid Check number of items
msgstr Verifica il numero di voci

#: pocheckerconsts.scheckstatistics
msgid Check percentage of (un)translated and fuzzy strings
msgstr Verifica le percentuali di stringhe tradotte o incerte

#: pocheckerconsts.sclearlistbox
msgid Clear
msgstr Azzera

#: pocheckerconsts.scopycaption
msgid Copy to clipboard
msgstr Copia negli appunti

#: pocheckerconsts.scurrenttest
#| msgid Current Test:
msgid Test: %s on %s
msgstr Test: %s su %s

#: pocheckerconsts.sduplicatelinenrwithvalue
msgid [Line %d] %s
msgstr [Riga %d] %s

#: pocheckerconsts.sduplicateoriginals
msgid The (untranslated) value \%s\ is used for more than 1 entry:
msgstr Il valore (non tradotto) \%s\ è usato per più di 1 voce:

#: pocheckerconsts.serroroncleanup
msgid 
An unrecoverable error occurred\n
%s\n
Please close the program\n
msgstr 
Si è prodotto un errore irrecuperabile\n
%s\n
Chiudere il programma\n

#: pocheckerconsts.serroroncreate
msgid 
Error creating an instance of TPoFamily:\n
%s\n
msgstr 
Errore nel creare una istanza di TPoFamily:\n
%s\n

#: pocheckerconsts.serrorsbytest
msgid Errors / warnings reported by %s for:
msgstr Errori / avvertimenti riportati da %s per:

#: pocheckerconsts.sfindalltranslatedpofiles
msgid Find all translated po-files
msgstr Trova tutti i file po tradotti

#: pocheckerconsts.sfuzzy
msgid Fuzzy
msgstr Incerto

#: pocheckerconsts.sgrapstatformcaption
msgid Graphical summary
msgstr Riassunto grafico

#: pocheckerconsts.sguipofilecheckingtool
msgid GUI Po-file checking tool
msgstr Strumento GUI di verifica di file po

#: pocheckerconsts.sidentifiernotfoundin
msgid Identifier [%s] not 

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-10-07 Thread Maxim Ganetsky

01.10.2014 23:09, Bart пишет:

On 9/24/14, Bart bartjun...@gmail.com wrote:


I'ḿ now planning on
- extent the PoCheckerSettings
- implement some mechanism (listbox probably) to access recently
opened master/child po-files
- implement searching an entire directory for all po's (listing them
in one of the lisboxes)


Finally done in r46394.

There will be bugs, so please hunt them.


These changes are very useful, thanks.

Some comments:

Isn't two listboxes and two pairs of Clear/Unselect buttons too much? It 
is not clear why listbox with master .po files is needed at all?


I think that one treeview (showing master .po files and their children) 
will look much better and will allow to avoid interface clutter.


Also I would like to have an option to check arbitrary number of 
selected .po files at once, not just one (useful e.g. to check/show 
statistics for all files of particular language). I think that with this 
feature implemented we shouldn't need Find all translated PO files 
checkbox anymore.


--
Best regards,
 Maxim Ganetsky  mailto:gan...@narod.ru

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-10-07 Thread Maxim Ganetsky

08.10.2014 1:54, Bart пишет:

On 10/7/14, Giuliano Colla giuliano.co...@fastwebnet.it wrote:


After a week spent on hunting :-) , only a few cosmetic issues to report:

small buttons such as select basic, select all, unselect all, clear,
unselect, etc. should have AutoSize set to fit translations.


The downside being that the buttons will all get different sizes (I guess).
Although that is still better than captions running out of space, any
thoughts on how to prevet that from happening?


Maybe use toolbar instead of buttons. It will allow to avoid these problems.

--
Best regards,
 Maxim Ganetsky  mailto:gan...@narod.ru

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus