Recent

Author Topic: Is TAChart still developed?  (Read 5084 times)

CM630

  • Hero Member
  • *****
  • Posts: 1082
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Is TAChart still developed?
« on: June 05, 2018, 11:36:51 pm »
I used to use TAChart extensively until I stopped 3 years ago. At that time its development was almost ended. I just wonder if it is still developed?
Лазар 3,2 32 bit (sometimes 64 bit); FPC3,2,2; rev: Lazarus_3_0 on Win10 64bit.

wp

  • Hero Member
  • *****
  • Posts: 11858
Re: Is TAChart still developed?
« Reply #1 on: June 06, 2018, 12:06:09 am »
Like any other software which reaches some kind of maturity TAChart advances in smaller steps now, but it is still being developed. Look at the release notes of Laz 1.8 (http://wiki.freepascal.org/Lazarus_1.8.0_release_notes#TAChart) and the planned Laz 1.10 (http://wiki.freepascal.org/Lazarus_1.10.0_release_notes#TAChart) for some new features. Or look at the svn log messages and you'll see a lot of activity still today.

valdir.marcos

  • Hero Member
  • *****
  • Posts: 1106
Re: Is TAChart still developed?
« Reply #2 on: June 06, 2018, 12:24:14 am »
... and the planned Laz 1.10 (http://wiki.freepascal.org/Lazarus_1.10.0_release_notes#TAChart) ...
Just curious.
Lazarus next version will be 1.10 or 2.0?

CM630

  • Hero Member
  • *****
  • Posts: 1082
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Is TAChart still developed?
« Reply #3 on: June 08, 2018, 08:57:13 am »
I had a serious problem with TAChart: I could not make left position of the Chart fixed. Chart autoresized depending on LeftAxis Caption and Range.
Maybe it is possible now?

Лазар 3,2 32 bit (sometimes 64 bit); FPC3,2,2; rev: Lazarus_3_0 on Win10 64bit.

wp

  • Hero Member
  • *****
  • Posts: 11858
Re: Is TAChart still developed?
« Reply #4 on: June 08, 2018, 11:25:16 am »
Yes, I remember this discussion...

Every axis has a LabelSize property now. Any value > 0 determines the distance, in pixels, between the axis (well, the tick marks, to be precise) and the title (or edge of the chart if the axis title is not visible). See also: http://wiki.lazarus.freepascal.org/TAChart_documentation#Axis_LabelSize

I see in your screenshot that the y axis title of the center chart is multlined. You'll jhave to add an empty line to the title of the other charts as well in order to give the title the same horizontal width.

Have a look at attached demo.

CM630

  • Hero Member
  • *****
  • Posts: 1082
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Is TAChart still developed?
« Reply #5 on: June 08, 2018, 12:42:39 pm »
Thanks,
I could not understand what is LabelSize. Maybe it is what is shown in the attached image?
Лазар 3,2 32 bit (sometimes 64 bit); FPC3,2,2; rev: Lazarus_3_0 on Win10 64bit.

wp

  • Hero Member
  • *****
  • Posts: 11858
Re: Is TAChart still developed?
« Reply #6 on: June 08, 2018, 01:20:18 pm »
No, look at my drawing
  • Chart.MarginsExternal: margin around the entire chart, similar to BorderSpacing, but accessible for painting. Was added to avoid that in unfavorable cases the last x axis label (which is close to the chart's right edge) is truncated
  • Chart.LeftAxis.Margin: spacing between the left-most part of the left axis and the left edge of the chart
  • Chart.LeftAxis.Title.Margins.Top: distance between the "top" of the axis title text and the axis title border. Note that "top" refers to the unrotated title. Similarly there is a Chart.LeftAxis.Title.Margins.Bottom.
  • Chart.LeftAxis.Title.Distance: Distance between the rightmost part of the axis title and the left-most part of the y axis labels
  • Chart.LabelSize: if > 0 the width reserved for the axis labels (auto-calculated if 0).
  • Chart.Margins.Left: Distance between the axis line and the left-most data-point.

CM630

  • Hero Member
  • *****
  • Posts: 1082
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Is TAChart still developed?
« Reply #7 on: June 08, 2018, 03:10:11 pm »
Okay, everything seems clear now.
Thanks once again!

Edit: I added this image in Wiki.
« Last Edit: June 11, 2018, 09:09:57 am by CM630 »
Лазар 3,2 32 bit (sometimes 64 bit); FPC3,2,2; rev: Lazarus_3_0 on Win10 64bit.

 

TinyPortal © 2005-2018