Search found 8904 matches

by Yeray
Fri Sep 18, 2020 7:58 am
Forum: VCL
Topic: How to draw an elliptic cylinder?
Replies: 4
Views: 367

Re: How to draw an elliptic cylinder?

Hello, Transparency is applied with Blending: uses TeCanvas; //... var tmpBlend : TTeeBlend; const transp=80; begin //Prepare Pen and Brush if transp>0 then tmpBlend:=Chart1.Canvas.BeginBlending(TeeZeroRect,transp); //Draw polygon if transp>0 then Chart1.Canvas.EndBlending(tmpBlend);
by Yeray
Fri Sep 18, 2020 5:38 am
Forum: VCL
Topic: Display settings and font size
Replies: 35
Views: 4316

Re: Display settings and font size

Great! Thanks for the feedback.
by Yeray
Fri Sep 18, 2020 5:38 am
Forum: VCL
Topic: Caption goes outside of bounderies
Replies: 5
Views: 312

Re: Caption goes outside of bounderies

Hello,

Right. I've added it to the public tracker (#2369)
by Yeray
Fri Sep 18, 2020 5:29 am
Forum: VCL
Topic: BoxPlot Initial Paint seems to be wrong
Replies: 4
Views: 566

Re: BoxPlot Initial Paint seems to be wrong

Hello,

No I can't reproduce it. Could you please arrange a simple example project we can run as-is here?
Thanks in advance.
by Yeray
Thu Sep 17, 2020 7:44 am
Forum: VCL
Topic: Caption goes outside of bounderies
Replies: 5
Views: 312

Re: Caption goes outside of bounderies

Hello, You could check if the left axis title fits in the chart height and wrap the text accordingly. Ie: procedure TForm1.Chart1Resize(Sender: TObject); var oneLineTitle: String; titleHeight: Integer; begin oneLineTitle:=StringReplace(Chart1.Axes.Left.Title.Text, sLineBreak, '', [rfReplaceAll]); Ch...
by Yeray
Thu Sep 17, 2020 6:11 am
Forum: VCL
Topic: Two questions about TPoint3Dseries
Replies: 3
Views: 373

Re: Two questions about TPoint3Dseries

Hello,

Could you please detail how would you expect both things to be drawn?
by Yeray
Thu Sep 17, 2020 6:07 am
Forum: VCL
Topic: Axes.Depth.Title.Angle
Replies: 1
Views: 230

Re: Axes.Depth.Title.Angle

Hello,

Take a look at the discussion and code here.
by Yeray
Wed Sep 16, 2020 6:13 am
Forum: VCL
Topic: BoxPlot Initial Paint seems to be wrong
Replies: 4
Views: 566

Re: BoxPlot Initial Paint seems to be wrong

Hello,

Try forcing a repaint calling Chart1.Draw;.
by Yeray
Tue Sep 15, 2020 12:51 pm
Forum: VCL
Topic: How to draw an elliptic cylinder?
Replies: 4
Views: 367

Re: How to draw an elliptic cylinder?

Hello,

I'm afraid there's no series or tool implemented in TeeChart doing this for you, but once you have the data, it should be possible to use a TSurfaceSeries or a TPoint3DSeries to draw it.
by Yeray
Tue Sep 15, 2020 6:58 am
Forum: VCL
Topic: How to get "rounded" Axis Labels?
Replies: 3
Views: 249

Re: How to get "rounded" Axis Labels?

Hello, Is there a better way to mark Axis Labels as closely as possible? Except, LabelsSeparation := 1. I'm afraid the only alternative would be to manually populate the labels yourself. Ie: var lHeight: Integer; curVal: Double; dif: Double; begin Chart1.AddSeries(TPointSeries).FillSampleValues(10);...
by Yeray
Mon Sep 14, 2020 1:14 pm
Forum: Activex
Topic: Drawing Polygon on Canvas in OnAfterDraw
Replies: 2
Views: 615

Re: Drawing Polygon on Canvas in OnAfterDraw

Hello, In the AddArrays example here , we populate arrays in a similar way than what you are doing. So it looks good to me. - .h: class CVCTeeChart5Dlg : public CDialog { public: //... COleSafeArray XValues; COleSafeArray YValues; //... - .cpp: BOOL CVCTeeChart5Dlg::OnInitDialog() { //... DWORD numE...
by Yeray
Mon Sep 14, 2020 6:25 am
Forum: VCL
Topic: Display settings and font size
Replies: 35
Views: 4316

Re: Display settings and font size

EdDressel wrote:
Thu Sep 10, 2020 3:40 pm
Can I get the source to the demo as well?
Sure!
Display Size.zip
(25.82 KiB) Downloaded 24 times
by Yeray
Thu Sep 10, 2020 2:04 pm
Forum: Activex
Topic: Drawing Series on Existing Chart
Replies: 3
Views: 646

Re: Drawing Series on Existing Chart

Great, thanks for sharing!
by Yeray
Thu Sep 10, 2020 2:03 pm
Forum: VCL
Topic: How to get "rounded" Axis Labels?
Replies: 3
Views: 249

Re: How to get "rounded" Axis Labels?

Hello,

I'm trying to reproduce the problem without success.
Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
by Yeray
Thu Sep 10, 2020 2:00 pm
Forum: .NET
Topic: Adding labels to Areas
Replies: 1
Views: 362

Re: Adding labels to Areas

Hello,

I'd suggest you to give a try at the Annotation Tool. You can find examples about it in the demo here.