Search found 12 matches

by axrDegen
Tue Mar 12, 2019 12:56 pm
Forum: VCL
Topic: How can I tell different series to use the same X (Bottom) Axis ?
Replies: 5
Views: 459

Re: How can I tell different series to use the same X (Bottom) Axis ?

Hello Christopher,

thank you, I just found out myself too by changing/trying almost any property in the paged dialog.
Isn't that a quite strange Default?
I would expect "TAxisLabelStyle.talValue" to be the Default.

thanks and best regards
by axrDegen
Mon Mar 11, 2019 2:33 pm
Forum: VCL
Topic: How can I tell different series to use the same X (Bottom) Axis ?
Replies: 5
Views: 459

Re: How can I tell different series to use the same X (Bottom) Axis ?

Attached an example project that shows that the Labels are displayed on the X axis instead of the X values given for the Bubbles
by axrDegen
Mon Mar 11, 2019 2:11 pm
Forum: VCL
Topic: How can I tell different series to use the same X (Bottom) Axis ?
Replies: 5
Views: 459

Re: How can I tell different series to use the same X (Bottom) Axis ?

Oh, I just see, this confusion on the X (bottom) axis happens when I supply Labels in call TBubbleSeries.AddBubble().
Why are the labels displayed on the X axis ?
by axrDegen
Sun Mar 10, 2019 4:49 pm
Forum: VCL
Topic: How can I tell different series to use the same X (Bottom) Axis ?
Replies: 5
Views: 459

How can I tell different series to use the same X (Bottom) Axis ?

Hello, I have created a Chart with a couple of "TBubbleSeries" Each BubbleSeries has its own color. In call "AddBubble" I add individual X and Y values. That produces a Chart with multiple/overlaid bottom axis: BottomAxisCapture.PNG How can I prevent that, how can I make sure all the bubble seris ar...
by axrDegen
Mon Feb 25, 2019 12:34 pm
Forum: VCL
Topic: How can I draw nice 3D Arrows to depict axes (a,b,c)
Replies: 14
Views: 993

Re: How can I draw nice 3D Arrows to depict axes (a,b,c)

Yes, that works very well
by axrDegen
Mon Feb 25, 2019 11:17 am
Forum: VCL
Topic: How can I draw nice 3D Arrows to depict axes (a,b,c)
Replies: 14
Views: 993

Re: How can I draw nice 3D Arrows to depict axes (a,b,c)

Thank you, but this doesn't work. I am finally painting the axes labels in the OnAfterDraw event like that: XCent := FAxesSeries.CalcXPosValue(0); YCent := FAxesSeries.CalcYPosValue(0); ZCent := aChart.Axes.Depth.CalcPosValue(0); XPosi := FAxesSeries.CalcXPosValue(FXAxisMax); YPosi := FAxesSeries.Ca...
by axrDegen
Fri Feb 22, 2019 10:29 am
Forum: VCL
Topic: How can I draw nice 3D Arrows to depict axes (a,b,c)
Replies: 14
Views: 993

Re: How can I draw nice 3D Arrows to depict axes (a,b,c)

I don't really understand that source code anyway, LeftTop (a TPoint value) is set per series Mark via call "Chart.Canvas.Calculate3DPosition"
How is the 3D position (X, Y, Z) coded into a TPoint, which only has X and Y ?
So where do you finally set the Z position of each Mark?
by axrDegen
Fri Feb 22, 2019 7:50 am
Forum: VCL
Topic: How can I draw nice 3D Arrows to depict axes (a,b,c)
Replies: 14
Views: 993

Re: How can I draw nice 3D Arrows to depict axes (a,b,c)

Thank you Yeray, that works for X and Y but not for Z, please see screenshot: ZLabelProblemCapture.PNG Note that I use the Min/Max of another series to calculate the Max values for the Vectors, like that: MaxX := Max(FPoint3DSeries.MaxXValue, Abs(FPoint3DSeries.MinXValue)); MaxY := Max(FPoint3DSerie...
by axrDegen
Wed Feb 20, 2019 12:42 pm
Forum: VCL
Topic: How can I draw nice 3D Arrows to depict axes (a,b,c)
Replies: 14
Views: 993

Re: How can I draw nice 3D Arrows to depict axes (a,b,c)

Ok, that is about making it nice, but what about the markers/labels, how can I get these displayed correctly?
by axrDegen
Tue Feb 19, 2019 12:39 pm
Forum: VCL
Topic: How can I draw nice 3D Arrows to depict axes (a,b,c)
Replies: 14
Views: 993

Re: How can I draw nice 3D Arrows to depict axes (a,b,c)

Ok, that makes them appear, but all the Labels are displayed together at the center point, please see the screenshot:
LabelsCapture.PNG
LabelsCapture.PNG (74.15 KiB) Viewed 936 times
How Can I display the labels at the end of the Arrows?
The Arrowheads I would expect to be shown as a (3D) Cone, see below:
3DArrowdownload.jpg
3DArrowdownload.jpg (6.63 KiB) Viewed 936 times
by axrDegen
Mon Feb 18, 2019 11:36 am
Forum: VCL
Topic: How can I draw nice 3D Arrows to depict axes (a,b,c)
Replies: 14
Views: 993

Re: How can I draw nice 3D Arrows to depict axes (a,b,c)

Hello Yeray,

that's a nice solution, interesting is that I can't get the Labels to work in call "AddVector", like:

AddVector(5,5,5,0,5,5,'Vector A', clRed);

Do you have a solution for that?
Also it would be nice to have real 3D Arrows on top of the Vector lines.
by axrDegen
Mon Feb 11, 2019 8:05 pm
Forum: VCL
Topic: How can I draw nice 3D Arrows to depict axes (a,b,c)
Replies: 14
Views: 993

How can I draw nice 3D Arrows to depict axes (a,b,c)

Hello, How can I draw nice 3D arrows like in the attached picture? By using the code below I only get "flat" arrows and can't draw an arrow in Z direction: var tmpX,tmpY,tmpZ: Integer; FromPoint,ToPoint: TPoint; begin tmpY := Chart.ChartYCenter + Round(Chart.Canvas.RotationCenter.Y); tmpX := Chart.C...