Author Topic: Radar charts. Is it posible?  (Read 830 times)

Curt Carpenter

  • Sr. Member
  • ****
  • Posts: 341
Re: Radar charts. Is it posible?
« Reply #1 on: September 13, 2023, 03:23:23 am »
Search "radar chart code"


  • Hero Member
  • *****
  • Posts: 11445
Re: Radar charts. Is it posible?
« Reply #2 on: September 13, 2023, 12:18:44 pm »
Is it posible to maje radar charts?
Not directly, you must do some steps by youself:

I'd hide the axes and the frame so that the chart basically is a blank sheet. Still the axes are operating in the background so that you still can use the machinery of the series. However, you must draw the new rotated axes by your self. Do this in the OnAfterDraw event of the chart so that they are not covered by the series. The series itself should be a TRadialseries which takes the x value as the polar angle and the y value as the distance from the origin, exactly what is needed here. If you want to overlay several series in the same chart be aware that transparency support of the standard canvas drawer is limited and does not work between series (not sure if this had worked before and is a regression...). You could add the AggPasGuiConnector or the BGRAGuiConnector as a drawing front end and assign it to the GUIConnector property of the chart. Or you could simple use a hatched brush style for the upper series.

Just study the attached project.


TinyPortal © 2005-2018