Search found 29 matches

by riskassessor
Fri Sep 09, 2016 7:00 pm
Forum: VCL
Topic: Setting proportional print margins with TTeePreviewPanel
Replies: 2
Views: 7598

Re: Setting proportional print margins with TTeePreviewPanel

Thank you! That was so helpful.
by riskassessor
Fri Sep 09, 2016 5:23 am
Forum: VCL
Topic: Setting proportional print margins with TTeePreviewPanel
Replies: 2
Views: 7598

Setting proportional print margins with TTeePreviewPanel

First a little background. I didn't find the TChartPreviewer component suitable for my program. It has a number of unnecessary controls for my purposes. Also, I don't like that it is a modal form -- I would have preferred a panel embedded in my own form. Therefore, I am trying to make use of the TTe...
by riskassessor
Tue Aug 16, 2016 10:41 am
Forum: VCL
Topic: Title Vertical Margin problem
Replies: 3
Views: 8933

Re: Title Vertical Margin problem

Thank you for clarifying. Regarding the panel margins, how would I access them from code? I don't see Panel as a chart property.
by riskassessor
Fri Aug 12, 2016 5:35 pm
Forum: VCL
Topic: TChart Title Margins not working
Replies: 2
Views: 7625

Re: TChart Title Margins not working

I retract this issue. I discovered that the margins do have an effect if a border has been applied around the Title.
by riskassessor
Fri Aug 12, 2016 3:36 pm
Forum: VCL
Topic: Title Vertical Margin problem
Replies: 3
Views: 8933

Title Vertical Margin problem

With the default settings, a TChart has a nice gap between the Title and the top of the graph. This is given by the Title Vertical Margin setting. If one selects Chart1.Title.CustomPosition := True (e.g. by double clicking on the chart in the IDE to open the editor and going to Titles>Title>Position...
by riskassessor
Fri Aug 12, 2016 3:15 pm
Forum: VCL
Topic: TChart Title Margins not working
Replies: 2
Views: 7625

TChart Title Margins not working

To reproduce this problem:

1. Drop a TChart on a form.
2. Double click the chart to open the Editor.
3. Select Titles > Title > Margins
4. Drag the Margin trackbars -- nothing happens.

I am using latest TeeChart Pro, Delphi Berlin and Windows 10.
by riskassessor
Thu Aug 11, 2016 12:37 pm
Forum: VCL
Topic: Panel in TChartPreviewer
Replies: 3
Views: 9755

Re: Panel in TChartPreviewer

My questions relate to the component TChartPreviewer, not to TTreePreviewPanel. (However, I did try TTreePreviewPanel and it does not "include option buttons" as you state. The reference doc. states that it includes option buttons but I did not find that it did.) I will try to put my two problems re...
by riskassessor
Thu Aug 11, 2016 6:19 am
Forum: VCL
Topic: Panel in TChartPreviewer
Replies: 3
Views: 9755

Panel in TChartPreviewer

I am using the TChartPreviewer component to preview and print a chart. ChartPreviewer.Execute launches a dialog that allows the Panel to be customized extensively with color, a gradient fill, shadow, emboss etc. But the Panel appears to be the area outside the paper, so does not print. I am struggli...
by riskassessor
Sun Jul 24, 2016 4:04 am
Forum: VCL
Topic: Fill a region under or over a series
Replies: 5
Views: 11082

Re: Fill a region under or over a series

Thanks again. It is working really well for me! One further question please - do you know of an easy way to calculate the area of a SeriesRegion? I have been exploring doing it by establishing a list of points that approximates the region and then applying Green's Theorem in the plane to calculate t...
by riskassessor
Thu Jul 21, 2016 9:25 am
Forum: VCL
Topic: Fill a region under or over a series
Replies: 5
Views: 11082

Re: Fill a region under or over a series

Thank you. Is it possible to limit the filling to certain discrete ranges of X? I.e. can the SeriesRegion be turned on and off at various X-values?
by riskassessor
Thu Jul 21, 2016 6:21 am
Forum: VCL
Topic: Fill a region under or over a series
Replies: 5
Views: 11082

Fill a region under or over a series

I have a line series. I would like to fill a region between X1 and X2, above Y1 and below the series. I would also like to fill another region between X3 and X4, above the series and below Y2. (Actually, there are many such regions, but for the sake of the example, suppose there are only two.) Is it...
by riskassessor
Tue Jul 19, 2016 4:42 am
Forum: VCL
Topic: How to make a gradient fill
Replies: 1
Views: 5830

How to make a gradient fill

I'm drawing rectangles on a chart in the OnBeforeDrawSeries event. To draw a rectangle with a solid fill, I define a brush with (for example) Chart1.Canvas.Brush.Color:=clRed; and then draw a rectangle in the OnBeforeDrawSeries event with (for example) Chart1.Canvas.Rectangle(X0,Y0,X1,Y1). If I want...
by riskassessor
Mon Jun 06, 2016 9:42 pm
Forum: FMX
Topic: Additional export formats in PRO do not work
Replies: 2
Views: 10654

Additional export formats in PRO do not work

Steema’s product page for VCL/FMX (https://www.steema.com/product/vcl) states for TeeChart Pro: “You can easily export charts as images (Flash/Flex, XAML, JPEG, GIF, PNG, BMP, EPS, PDF, PCX, WMF)…” However, (at least) three of these export formats do not work correctly. I have not tested Flash/Flex,...
by riskassessor
Sun May 22, 2016 2:08 am
Forum: FMX
Topic: Delphi Tools Options errors after installing TeeChart
Replies: 2
Views: 11491

Re: Delphi Tools Options errors after installing TeeChart

Hi Yeray,

Your suggestion worked!

I had a slight problem at first because Options does not exist on the right-click menu in a Multi-Device (FMX) app. However, after creating a VCL application and following your suggestion, the problem was resolved for both VCL and FMX.

Thanks.
by riskassessor
Thu May 19, 2016 6:05 pm
Forum: FMX
Topic: Delphi Tools Options errors after installing TeeChart
Replies: 2
Views: 11491

Delphi Tools Options errors after installing TeeChart

I have uninstalled and reinstalled TeeChart several times but can't get rid of this error. I am using TeeChart Pro VCL FMX Source Code 2016.17 and Delphi 10.1 Berlin. When TeeChart is installed, selecting Tools|Options in the IDE gives the error "'some text in foreign script' is not an integer value...