Recent

Author Topic: ColormapSeries crashes Lazarus when assigning ColorSeries  (Read 4281 times)

wp

  • Hero Member
  • *****
  • Posts: 13398
ColormapSeries crashes Lazarus when assigning ColorSeries
« on: October 07, 2012, 02:12:58 pm »
Steps to reproduce (Windows 7/64 bit, Lazarus 32 bit trunk, FPC 2.6.0):

- Open a new project
- Add a TChart and a TListChartSource
- Add a TColorMapSeries to the chart
- Assign the ListChartSource to the ColorSource property of the series
--> crash

There is a workaround to assign the ColorSource at runtime.

Ask

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 687
Re: ColormapSeries crashes Lazarus when assigning ColorSeries
« Reply #1 on: October 07, 2012, 03:34:06 pm »
Hopefully fixed in r38982.

wp

  • Hero Member
  • *****
  • Posts: 13398
Re: ColormapSeries crashes Lazarus when assigning ColorSeries
« Reply #2 on: October 07, 2012, 04:40:39 pm »
Looks fine now, thanks.

Here is another (small) problem: As you can see in the attached screen shot the series overdraws the left and top lines of the chart frame. It looks as if the ColorMapSeries would be shifted to the left/top corner of the chart by 1 pixel.

A workaround for the y axis is to set LeftAxis.AxisPen.Visible = true and increase LeftAxis.ZPosition to 1.

Ask

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 687
Re: ColormapSeries crashes Lazarus when assigning ColorSeries
« Reply #3 on: October 07, 2012, 05:19:14 pm »
Fixed in r38985

wp

  • Hero Member
  • *****
  • Posts: 13398
Re: ColormapSeries crashes Lazarus when assigning ColorSeries
« Reply #4 on: October 07, 2012, 06:36:41 pm »
Thank you.

I came across these bugs when designing the project for one of the next tutorials on the Mandelbrot set where I can introduce the ColorMapSeries and do excessive zooming. See attached screen shot as an appetizer...

Ask

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 687
Re: ColormapSeries crashes Lazarus when assigning ColorSeries
« Reply #5 on: October 07, 2012, 07:05:56 pm »
Looks nice

 

TinyPortal © 2005-2018