Search found 9582 matches

by Yeray
Mon Apr 30, 2007 9:04 am
Forum: VCL
Topic: Creating a right custom vertical axis
Replies: 2
Views: 8949

Hi Bill,

You should do the following:

Code: Select all

Chart1.CustomAxes.Items[0].OtherSide := true;
by Yeray
Mon Apr 30, 2007 8:57 am
Forum: VCL
Topic: Can you change individual series Pointer.Style values
Replies: 5
Views: 12933

Hi CAC, So you should do something like this: if (Series1.YValue[ValueIndex] = 100) then result := psCircle //for value 100 will be psCircle else if (Series1.YValue[ValueIndex] = 5) then result := psStar //for value 5 will be psStar else result := psRectangle; //default will be psRectangle
by Yeray
Mon Apr 30, 2007 8:14 am
Forum: VCL
Topic: TCursortool.Yvalue
Replies: 3
Views: 10702

Hi Heiko, Here's an example of how you can show Y values from both left and right axis using OnMouse event instead of Cursor Tool. procedure TForm1.Chart1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); begin Chart1.Title.Caption := 'LeftAxis Y: ' + floattostr(Chart1.Axes.Left.CalcPosP...
by Yeray
Fri Apr 27, 2007 7:44 am
Forum: VCL
Topic: export to PDF, seting resolution
Replies: 1
Views: 6753

Hi guzial,

You should try different values for width and height of the following function (uses TeePDFCanvas).

Code: Select all

TeeSaveToPDFFile(Chart1, 'c:\temp\mychart.pdf', width, height);
by Yeray
Thu Apr 26, 2007 8:57 am
Forum: VCL
Topic: Autoadjust of width for y axis?
Replies: 3
Views: 11020

Hi moelski, I've sent you a project to show you how to solve your request. You have to calculate your custom (and left) axes positions using basically those functions: Chart1.CustomAxes.Items[0].PositionUnits := muPixels; // to count position in pixels Chart1.CustomAxes.Items[0].PositionPercent := 0...
by Yeray
Tue Apr 24, 2007 11:16 am
Forum: ActiveX
Topic: Show in TeeListBox
Replies: 3
Views: 10934

And I can announce the new property "Items" for TeeListBoxes, available for the next release v8. So you will be able to do:

Code: Select all

TeeListBox1.Items.Remove (0)
by Yeray
Tue Apr 24, 2007 10:21 am
Forum: VCL
Topic: Autoadjust of width for y axis?
Replies: 3
Views: 11020

Hi moelski, you should try setting different values for the following properties: Chart1.CustomAxes.Items[0].PositionUnits:=muPercent; Chart1.CustomAxes.Items[0].PositionPercent:=-10; Chart1.MarginLeft:=10; Also by design-time you can adjust them to your wishes. And for further information you can t...
by Yeray
Tue Apr 24, 2007 9:38 am
Forum: ActiveX
Topic: Show in TeeListBox
Replies: 3
Views: 10934

Hi ACC, There's no method to show/hide series individually from a TeeListBox yet but you can assign a group to the TeeListBox. So you can create your custom group and the TeeListBox will only show the series you wish. At the following example I use ComboBoxes to select the series to show. But note t...
by Yeray
Fri Apr 20, 2007 10:38 am
Forum: VCL
Topic: How to display OHLC values from Candle series
Replies: 1
Views: 6839

Hi Martin, I think you should do something like following: procedure TForm1.Chart1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); var ValueIndex: integer; high, low, open, close: double; begin ValueIndex := Series1.Clicked(X,Y); if ValueIndex >= 0 then begin high := Series1.HighValues...
by Yeray
Tue Apr 17, 2007 8:47 am
Forum: ActiveX
Topic: Positions of RectangleTool change with Print and Preview
Replies: 1
Views: 6354

Hi mosim, We tested it and couldn't reproduce your problem here using latest version (7.0.1.3). What version are you using? If you still have problems with it, could you please send us a simple example project we can run "as-is"? You can post your files at news://www.steema.net/steema.public.attachm...
by Yeray
Tue Apr 17, 2007 8:12 am
Forum: ActiveX
Topic: Teechart Help
Replies: 1
Views: 6681

Hi lonis,

Have you seen the tutorials and user guide? You should find them in TeeChart program group, in your Start Menu.
by Yeray
Tue Apr 17, 2007 7:41 am
Forum: VCL
Topic: problem with CursorTool after export
Replies: 5
Views: 14163

Hi guzial, so when can we expect for no bugs in export to pdf and cursorTool ?? We're working on a solution for the pdf issue. But we cannot give you a date for a fix yet. Regarding the cursor tool issue you mentioned at the thread above, we aren't able to reproduce your problem. That's why we asked...
by Yeray
Mon Apr 16, 2007 8:57 am
Forum: VCL
Topic: problem with CursorTool after export
Replies: 5
Views: 14163

Hi guzial,

sorry for the bad link to post. The issue you requested is discussed in that other one.
by Yeray
Mon Apr 16, 2007 8:09 am
Forum: VCL
Topic: Scaling Max value less than 1
Replies: 2
Views: 8495

Hi Trev, We couldn't reproduce your problem here using teechart 7.07. What version are you using? The following code works for us: Chart1.Axes.Left.AutomaticMaximum := false; Chart1.Axes.Left.Maximum := 0.4; Also you can try to type casting as follows: Chart1.Axes.Left.AutomaticMaximum := false; Cha...
by Yeray
Fri Apr 13, 2007 10:40 am
Forum: VCL
Topic: trnasparency doesn't work with export?
Replies: 5
Views: 15627

Hi guzial,

Then, could you please send us a simple example project we can run "as-is" to reproduce the problem here? You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page

Thanx in advance