Search found 9536 matches

by Yeray
Wed Mar 04, 2009 12:38 pm
Forum: VCL
Topic: Resize TChart at runtime
Replies: 4
Views: 5480

Hi Calou,

Yes of course. Here it is:

Code: Select all

uses TeeSelectorTool;

procedure TForm1.FormCreate(Sender: TObject);
var SelectorTool: TSelectorTool;
begin
  SelectorTool := TSelectorTool.Create(Chart1);
  SelectorTool.ParentChart := Chart1;
  SelectorTool.AllowResizeChart := true;
end;
by Yeray
Wed Mar 04, 2009 12:33 pm
Forum: VCL
Topic: New "Staff" feature in Organizational Chart compon
Replies: 9
Views: 10966

Hi Brace, I'm afraid that this series could improve a very much being a little bit more customizable. No, it's not possible to do this right now but I've added it to the wish list to be enhanced for future releases (TV52013924). In the meanwhile, you always can use annotation tools for the texts and...
by Yeray
Wed Mar 04, 2009 11:58 am
Forum: VCL
Topic: Extra legend tool position
Replies: 11
Views: 12576

Hi stsl,

I've sent to your mail your project with the changes I made to solve these issues.
by Yeray
Wed Mar 04, 2009 10:47 am
Forum: VCL
Topic: Dynamic TAnnotationTool Autosize=false makes text disappear?
Replies: 2
Views: 4247

Hi swesty, The problem is that you are setting a negative value to the annotation's Shape.Height so the rectangle is painted just above the text and the text without its rectangle isn't drawn. You could correct your Shape.Height calculations in order to ensure that it has a positive value or you cou...
by Yeray
Wed Mar 04, 2009 9:33 am
Forum: VCL
Topic: Resize TChart at runtime
Replies: 4
Views: 5480

Hi Calou,

Yes there is the property AllowResizeChart from TSelectorTool that allows the user to resize your chart.
by Yeray
Tue Mar 03, 2009 4:26 pm
Forum: VCL
Topic: problem with axis labeling and grid
Replies: 5
Views: 5558

Hi Heinz,

I'm happy to see that you've found a way to do this without problems.

In the other hand, if we can't see the whole code that seems to cause a conflict, we can't attack it. that's why we always try to see what exactly are the customers doing in order to solve the issues.
by Yeray
Tue Mar 03, 2009 4:18 pm
Forum: VCL
Topic: Bug in THistogramSeries
Replies: 15
Views: 13885

Hi xray,

We've tested your code, reproduced the problem with the 8.04 installation and solved it. So this is solved for the next maintenance release.

As you are a source code customer, we will give you a link to download the actual sources as soon as possible.
by Yeray
Tue Mar 03, 2009 3:50 pm
Forum: VCL
Topic: Polygon to select data points?
Replies: 7
Views: 10190

Hi Juha, There is not a series method to do this but here there is a proposition of how you could do it. It consists on creating a map series that will be the selector polygon. You create your polygon as a map series shape and then you'll be able to use its clicked method to see what points of your ...
by Yeray
Tue Mar 03, 2009 1:46 pm
Forum: .NET
Topic: colorband start and end lines
Replies: 2
Views: 3972

Hi Chris, You could calculate the minimum difference between values that make them visible doing this after a first draw: OnePixelIncrement = tChart1.Axes.Left.CalcPosPoint(0) - tChart1.Axes.Left.CalcPosPoint(1); And then force the values of your colorband to have this minimum visible distance at On...
by Yeray
Tue Mar 03, 2009 12:05 pm
Forum: VCL
Topic: problem with axis labeling and grid
Replies: 5
Views: 5558

Hi Heinz, Thank you for sending us your program but I'm afraid that tpl files aren't very familiar to us. I've seen that they contain info similar to the delphi's dfm files but I don't know what IDE should I use to open your project although I think that you haven't sent the whole code. On the other...
by Yeray
Tue Mar 03, 2009 11:14 am
Forum: .NET
Topic: Drawing an arrow at the end of a line using Graphics3D
Replies: 5
Views: 9676

Hi Kevin, Here you have an example of how you could draw a thin line with a big head: public partial class Form1 : Form { bool DrawLine; Point headStartPoint, fromPoint, toPoint; public Form1() { InitializeComponent(); InitializeChart(); } private void InitializeChart() { chartController1.Chart = tC...
by Yeray
Tue Mar 03, 2009 8:29 am
Forum: ActiveX
Topic: Move annotation
Replies: 2
Views: 6220

Hi spol, Here you have a fast example of how you could do this: Dim MoveAnnotation As Boolean Private Sub Form_Load() TChart1.Tools.Add tcAnnotate TChart1.Tools.Items(0).asAnnotation.Text = "My annotation tool" End Sub Private Sub TChart1_OnMouseDown(ByVal Button As TeeChart.EMouseButton, ByVal Shif...
by Yeray
Mon Mar 02, 2009 3:54 pm
Forum: VCL
Topic: Adjust margins for PrintProportional
Replies: 4
Views: 4649

Hi Manfred,

Thanks for your code, we'll consider if it's a good solution for the general problem.
by Yeray
Mon Mar 02, 2009 3:49 pm
Forum: VCL
Topic: problem with axis labeling and grid
Replies: 5
Views: 5558

Hi Heinz, I've tried to draw a chart similar to your and tried to reproduce your problem but I couldn't. Could you try this code and see if you could reproduce the problem? uses series, teestore; procedure TForm1.FormCreate(Sender: TObject); var i: Integer; begin Chart1.Color := clWhite; Chart1.View...
by Yeray
Mon Mar 02, 2009 3:02 pm
Forum: VCL
Topic: Extra legend tool position
Replies: 11
Views: 12576

Hi stsl, As OnGetLegendRect is executed for all the legends, you could get the biggest there doing something like this: procedure TForm1.Chart1GetLegendRect(Sender: TCustomChart; var Rect: TRect); begin if ((Rect.Right - Rect.Left) > MaxLegendWidth) then MaxLegendWidth := Rect.Right - Rect.Left; Rec...