Lazarus

Programming => Graphics and Multimedia => TAChart => Topic started by: apeoperaio on October 20, 2020, 05:37:17 pm

Title: parallel coordinates plot
Post by: apeoperaio on October 20, 2020, 05:37:17 pm
Is it possible to draw parallel coordinates plot using TAchart?
https://en.wikipedia.org/wiki/Parallel_coordinates
Title: Re: parallel coordinates plot
Post by: wp on October 20, 2020, 07:35:02 pm
Relatively easy when all vertical axes have the same scale - see attached demo:
Code: Pascal  [Select][+][-]
  1.   Lineseries1.AddXY(0, 5);
  2.   LineSeries1.AddXY(1, 6);
  3.   LineSeries1.AddXY(2, 2);
  4.   LineSeries1.AddXY(3, 10);
  5.   LineSeries1.AddXY(4, 0);
  6.   LineSeries1.AddXY(5, -1);

I do not have a solution at the moment for the case seen in the wiki page where the vertical axes are allowed to have different scales. The problem is that it is not possible to apply different axis transformations to the individual points of a series.
Title: Re: parallel coordinates plot
Post by: apeoperaio on October 21, 2020, 12:29:11 pm
Thank you very much for your prompt reply. I will have a look.
TinyPortal © 2005-2018