Skip to content

Chart4D 1.1.0

Choose a tag to compare

@cmgeuze cmgeuze released this 22 Sep 11:44
· 26 commits to main since this release
24e0193

Paint on your own canvas

TChartPainter paints a plot through a back buffer onto any VCL or FMX canvas, next to the TChart4D control that owns its plot and exports PNG snapshots. It puts a chart inside a report, a grid cell or a control you draw yourself.

Win64 fixes

The test suite now builds and runs for Win64, which exposed two bugs that only show up there, because Extended is an alias for Double on that target.

  • TAxisScale.NiceStepFromRaw called Power(10, Floor(...)) with two integer arguments. On Win64 that resolves to the Single overload, so Power(10, -1) came out as 0.100000001 and NiceBreaks(0, 1, 5) returned five breaks instead of six.
  • var X := 0.0 infers Currency on Win64 and Extended on Win32, so every running total was rounded to four decimals and stacked proportions ended up to 0.017 px apart at the top of a 100% stack. The seven affected variables are declared Double now.

Other

  • Bitmap comparison in VclCheck ignores the alpha channel.
  • The README is shorter and the Gallery tool is gone.

TChartPainter, the Win64 test build and both precision fixes come from @JaapBaak.