On Thu, Jun 3, 2010 at 04:45, Alexander Klenin <[email protected]> wrote:
> On Tue, Jun 1, 2010 at 22:53, Rick <[email protected]> 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 and
>> graph.  Instead, it appears to
>> fill the area between the bottom of the chart and the graph.  It doesn't
>> respect the linear transformation.
>> Try making an area series and then shifting it up 10.  It'll draw all the
>> way down to -10 on its axis.
>
> Well, that's kind-of as-designed, I think. At least it was that way
> before I started maintaining TAChart, and I suspect it was done intentionally.
> But you are right that drawing to zero level deserves at least an option.
> There are some tricky corner cases -- e.g. drawing series with both positive
> and negative values, but it is doable.

Implemented in r27024, r27024.

>> Also, I think somebody asked about this before but it would be nice if there
>> was an area series that would
>> draw an outline but not the vertical lines at each data point.  That looks
>> like it'll be a pain in the butt to
>> implement, but if you ever find yourself needing to kill a little time ;)
>>  It would make for prettier stairstep
>> graphs that don't have the area shaded, IMHO.

Implemented in r27022 -- AreaContourPen and AreaLinesPen are now separated.

-- 
Alexander S. Klenin

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to