Page 1 of 1
z axis on gantt series
Posted: Wed Jan 29, 2020 7:56 pm
by 16486090
Hi guys , is it possible used to z axis on gantt series?
I need to represent in a gantt series the following, I have rooms where vehicles are parked, but I can have several
vehicles parked in the same room on the same dates, which I can represent with the gantt series but the bars appear overlapped, or is there any other series that I can use to represent this
thanks
Re: z axis on gantt series
Posted: Thu Jan 30, 2020 10:11 pm
by Pep
Hi,
Hi guys , is it possible used to z axis on gantt series?
I'm sorry but, Gantt series does not support z axis.
But, I've been thinking about the way to represent the different vehicles at the same rooms, with the possibility to have some on the same dates and found a way that maybe could help :
It would be to repressent the rooms by using different Gantt Series, each one with different color, then you can add each car to specific Series (room) on specific dates (start and end) and set a unique Y Value for each one (entry).
This way all vehicles will be displayed, and not overlapped. Here the example :
- parking.gif (158.64 KiB) Viewed 55949 times
Re: z axis on gantt series
Posted: Fri Jan 31, 2020 10:57 pm
by 16486090
Thanks Pep, I had already thought about that solution but it really does not help me, your example is clear because you only have two rooms, I have 30 rooms, another detail that I see is that on the "Y" axis 9 cars fit very well, I can store up to 100 cars in the rooms so the Y axis would have to move it(Up, Down), so it would be very difficult to visualize which spaces I have empty and in which rooms, I think I will continue drawing my empty spaces in excel, it would be great if you could add the "Z" axis to the gantt series
regards
Re: z axis on gantt series
Posted: Mon Feb 03, 2020 8:35 am
by Pep
Hi,
ok, I add this feature as a wish to be considered for next releases.
Please, if you can, send or attach an example image of the result that you'd like to get, it's just to investigate if there a way to accomplish it with TeeChart now.
Thanks.
Re: z axis on gantt series
Posted: Tue Feb 04, 2020 5:08 pm
by 16486090
Thanks Pep, if you can add the Z axis that has the tower series to the gannt series, it would be great, I add an image of how it could work, the purple bars represent the spaces available in the rooms (I do this with a series of gannt), the other bars represent the cars inside the rooms (this I do with a series of gannt using the Z axis), so you could easily visualize the empty spaces inside the rooms
- gannt.png (45.01 KiB) Viewed 55929 times
Re: z axis on gantt series
Posted: Wed Feb 05, 2020 3:11 pm
by Pep
Ok, looking at your example or by using a 3D Gantt series I still thinking that could be complidated at the time to control for exmple more 100 cars in a room or several rooms.
Wouldn't be better to use a Chart for each room?
Do you have an image of a real crokis, although it's done by pencil that you can attach? This way we can look at it and try to find the best way to do it with the TeeChart
Re: z axis on gantt series
Posted: Wed Feb 05, 2020 3:49 pm
by 16486090
Thanks Pep, I attached a sketch of a part of the parking lot, it is only possible to park a maximum of 4 cars per space, making a graphic per space it would be very difficult to visualize the empty spaces, the measures of the sketch are in feet
Thank you
- marina1.png (57.51 KiB) Viewed 55907 times
Re: z axis on gantt series
Posted: Fri Feb 14, 2020 11:48 am
by Pep
Hello,
ok, looking for other alternatives I forgot a to mention a way that could be done by using the actual version. It's by using Gantt series with the ZOrder, and also use the Legend checkboxes in order to manage which ones you want to activate or not.
A code example could be :
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
var i : integer;
begin
for i := 0 to 2 do
begin
Chart1[i].FillSampleValues();
(Chart1[i] as TGanttSeries).Pointer.Draw3D := False;
(Chart1[i] as TGanttSeries).ConnectingPen.Visible := False;
(Chart1[i] as TGanttSeries).ZOrder := Chart1[i].SeriesIndex;
end;
Chart1.Legend.CheckBoxes := True;
Chart1.Chart3DPercent := 200;
end;
And the result would be :
- GanttZOrder.png (25.46 KiB) Viewed 55789 times
Re: z axis on gantt series
Posted: Fri Feb 14, 2020 5:55 pm
by 16486090
Thanks Pep, this could work, although visualization is a bit difficult
Re: z axis on gantt series
Posted: Fri Feb 14, 2020 7:10 pm
by 16486090
Hi Pep, how do I change this property with code? , this improves the view of the chart
- pep.png (27.47 KiB) Viewed 55771 times
Re: z axis on gantt series
Posted: Mon Feb 17, 2020 10:25 am
by Pep
It can be done via code using :
Re: z axis on gantt series
Posted: Mon Feb 17, 2020 4:22 pm
by Marc
Hello,
An extra note on this. If you enable the DepthAxis it may help to distinguish between the different Series.
eg.
Regards,
Marc Meumann
Re: z axis on gantt series
Posted: Tue Feb 18, 2020 7:30 pm
by 16486090
Thanks Pep and Marc